Jacberg 2014-12-15 08:12 采纳率: 0%
浏览 4384

Unknown Android Target Problem

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 com.WifiDistanceTestReferencePoints.MainActivity Unknown Java Problem
Description Resource Path Location Type
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files ThreahWifiCollecting.java /com.WifiDistanceTestReferencePoints.MainActivity/src/com/wifisignalTestCp22 line 1 Java Problem
Description Resource Path Location Type
Unable to resolve target 'android-14' until the SDK is loaded. com.WifiDistanceTestReferencePoints.MainActivity Unknown Android Target Problem

  • 写回答

2条回答 默认 最新

  • devmiao 2014-12-15 08:21
    关注

    当你在Eclipse引用不同版本JDK工程时会发生该问题。由于你开发环境中应用了多个版本的JDK 或JRE导致的。Eclipse会按照最初的开发环境默认选择对应的Jre。如Eclipse上有jdk1.4开发的环境工程,当你在引入高版本jdk1.6开发的工程时,以上问题就出现了。

    问题解决的方案如下:

    进入window\preferences\java\Installed JREs
    按Add --> Browse...--->选择jre安装路劲(我的jre路径是D:\Program Files\Java\jre1.6.0_02)--->OK
    找到你的工程右键点击Properties选项 出现对话框后 选择右边的Libraries选项卡 ---> 单击Add 了Library...--->

    选择Jre System Library... ---> Next--->选择Alternate Jre 下的对应版本jre --> Finish ---> Ok

    以上问题就可解决。

    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?