gpt4 book ai didi

java - 如何在ubuntu中使用eclipse luna配置android SDK?

转载 作者:行者123 更新时间:2023-12-01 12:07:03 26 4
gpt4 key购买 nike

我已经下载了 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

最佳答案

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

(...) select Android API version (set to another one and valid, then restore the on you want and validate it -> it will force Eclipse to reload API). (...)

关于java - 如何在ubuntu中使用eclipse luna配置android SDK?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27519943/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com