无法运行 Android 应用程序,在 Eclipse 中找不到 .apk 问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5219208/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:55:40  来源:igfitidea点击:

Unable to run Android app, Could not find .apk issue in eclipse

androideclipseapkadt

提问by Rohit Mandiwal

Possible Duplicate:
Android Eclipse - Could not find *.apk

可能重复:
Android Eclipse - 找不到 *.apk

Recently I have updated my ADT plugin of eclipse to the latest one but after that I use to face an unusual problem. When ever I try to run my Android projects on emulator or device, all my projects are keep on saying

最近我将我的 eclipse 的 ADT 插件更新到了最新的,但之后我遇到了一个不寻常的问题。当我尝试在模拟器或设备上运行我的 Android 项目时,我所有的项目都在说

Could not find [project name].apk

找不到 [项目名称].apk

Please help me.

请帮我。

回答by LinuxRocks

I faced similar issue. There were no build errors reported in console of eclipse on ubuntu 10.10, still apk wasnt generated. point JAVA_HOME to correct path and rebuild the project. Eclipse didn't pick the location of java somehow.

我遇到了类似的问题。在 ubuntu 10.10 的 eclipse 控制台中没有报告构建错误,仍然没有生成 apk。将 JAVA_HOME 指向正确的路径并重建项目。Eclipse 没有以某种方式选择 java 的位置。