【问题标题】:Running an application in Eclipse在 Eclipse 中运行应用程序
【发布时间】:2018-11-21 09:57:15
【问题描述】:

我试图在 eclipse 中运行一个简单的 android 应用程序。我在尝试运行时遇到了这些错误。请帮助我。在此致谢。Errors shown while running

My Code

Graphical Layout Of My App

【问题讨论】:

标签: java android eclipse


【解决方案1】:

在 {Android SDK dir}\platforms* 中找到您最新的 dx.jar

并将其复制到:

{Android SDK 目录}\platform-tools\lib\

重启 eclipse,清理你的项目,一切都应该按预期工作。

使用 Android Studio,因为 google 已停止对 eclipse 的支持。 如果你能解决这个错误,可能会出现任何其他依赖错误。

【讨论】:

  • 我在平台工具中找不到 dx.jar。错误:[2018-06-12 17:21:13 - Dex Loader] 无法加载 C:\Users\tmshr\android-sdks\build -tools\28.0.0\lib\dx.jar.[2018-06-12 17:21:13 - MyApp] 未知错误:无法构建:未从 SDK 文件夹加载文件 dx.jar!
  • 兄弟,运行 android studio 的最低要求是什么。即使在 Android Studio 中我也面临很多问题。请不要给出正常的答案“谷歌它!你会找到它。”
猜你喜欢
  • 2019-04-11
  • 2014-06-30
  • 1970-01-01
  • 2015-03-06
  • 2012-05-14
  • 2012-10-08
  • 1970-01-01
  • 2012-04-11
  • 2013-10-05
相关资源
最近更新 更多