【问题标题】:how to configure android SDK with eclipse luna in ubuntu?如何在 ubuntu 中使用 eclipse luna 配置 android SDK?
【发布时间】:2014-12-17 07:01:31
【问题描述】:

我已经下载了eclipse luna,然后在我加载android-sdk-linux之后,然后在我运行tools/android update sdk --no-ui这个命令之后我做了下一步我在我的eclipse中开发android应用程序。

我尝试导入我的旧 android 项目,这会出现如下错误:

Description Resource    Path    Location    Type
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project    google-play-services_lib        Unknown Java Problem
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project    gu10science     Unknown Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files    TestActivity.java   /gu10science/src/com/sparrow/gu10science    line 1  Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files    UnusedStub.java /google-play-services_lib/src/android   line 1  Java Problem

【问题讨论】:

  • 不是一个真正的答案,但您确实应该考虑使用 Android Studio,因为它现在是 Google 支持的官方 Android IDE。 developer.android.com/sdk/index.html
  • previous 我在 eclipse 中开发,所以现在我更喜欢在 eclipse 中开发,请回复如何学习和配置 android sdk

标签: java android eclipse ubuntu configuration


【解决方案1】:

您可以在这里得到答案:https://stackoverflow.com/a/9341736/1974306

(...) 选择 Android API 版本(设置为另一个并有效,然后恢复您想要的版本并验证它 -> 它将强制 Eclipse 重新加载 API)。 (...)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-10-08
    • 2014-04-14
    • 2015-03-03
    • 2015-05-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-11-24
    相关资源
    最近更新 更多