【问题标题】:Many compiling errors keeping me from exporting with no answer so far许多编译错误使我无法导出到目前为止没有答案
【发布时间】:2016-06-17 17:54:47
【问题描述】:

我的 -

public class AndroidLauncher extends AndroidApplication implements
        ActionResolver, GameHelperListener {"

-

Multiple markers at this line
    - The type android.app.Activity cannot be resolved. It is indirectly 
     referenced from required .class files
    - The hierarchy of the type AndroidLauncher is inconsistent

我的开始包裹说 -

Multiple markers at this line
    - The type android.content.Intent cannot be resolved. It is indirectly 
     referenced from required .class files
    - The type android.os.Bundle cannot be resolved. It is indirectly 
     referenced from required .class files

所有这些错误都在我的 androidlauncher.java 中。我正在使用 Eclipse。我刚刚修复了除游戏 android 文件夹之外的所有编译错误。到目前为止,我已经尝试了所有方法,但找不到解决方案。请记住,我对此很陌生。太感谢了。

【问题讨论】:

标签: java android eclipse


【解决方案1】:

导出是什么意思?或者您是否正在尝试导入 android 项目?看起来你的构建路径设置搞砸了。日食有时会发生这种情况。您可以尝试将 JRE 删除并重新添加到您的项目中。

如果这不起作用,您是否为 eclipse 安装了 ADT(android 开发者工具)插件?你需要它来在 Eclipse 中开发 android 应用程序。

或者,您可以下载并使用 Android Studio,然后尝试在那里打开项目。

【讨论】:

  • 抱歉,作为 Apk 导出。无论如何,我需要删除错误。我已添加工具、删除并添加回 JRE。我可能会那样做。谢谢。
猜你喜欢
  • 2021-05-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-09-12
  • 1970-01-01
  • 2010-11-18
  • 1970-01-01
相关资源
最近更新 更多