Android Eclipse - 找不到 *.apk [英] Android Eclipse - Could not find *.apk

查看:34
本文介绍了Android Eclipse - 找不到 *.apk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道以前有人问过这个问题,我看到了大量的解决方案,但似乎没有一个对我有用.在此错误开始出现之前,我能够毫无问题地构建我的 apk.我尝试清理我的项目,从工作区中删除它并重新导入它,从我的项目构建器中删除Java Builder",手动构建项目,重新排序我的 Java 构建路径.我没有可见的编译器问题,我的工作区中也不存在任何问题.

I know this question has been asked before and I have seen a plethora of solutions out there, yet none seem to work for me. I was able to build my apk without issues until this error started cropping up. I have tried cleaning my project, removing it from the workspace and reimporting it, removing "Java Builder" from my Builders for the project, building the project manually, reordering my java build path. I have no visible compiler issues and no problems exist in my workspace.

我之前确实遇到过这个问题,并通过从我的工作区中删除项目并重新导入来解决它,另一次我通过从我的 java 构建路径中删除Java Builder"来解决它.这次似乎没有任何工作.我目前已将大部分设置恢复为默认值(即再次检查 java build).

I did experience this issue before and solved it once by removing the project form my workspace and re-importing it and another time I solved it by removing "Java Builder" from my java build path. None seem to work this time. I currently have most of the settings set back to default (i.e. java build is checked again).

我正在运行 Windows 7(64 位)并通过 Eclipse 3.6 使用 jdk1.6.0_21.

I am running windows 7 (64 bit) and using jdk1.6.0_21 via Eclipse 3.6.

任何建议都将不胜感激,因为我已经失去了大量的开发时间来解决这个问题.

Any suggestions would be greatly appreciated as I have lost loads of development time troubleshooting this already.

[更新] 我的语言环境是英语 &我尝试删除与 issue 834<有关的美国 debug.keystore

[Update] My locale is English & I have tried removing the debug.keystore, United States as related to issue 834

推荐答案

请按照以下步骤操作;这可能对您有所帮助:

Please follow these steps; this might help you out:

  1. 右键单击您的应用项目并转到属性"

  1. Right-click your app project and go to Properties

从左侧列表中选择 Android

Select Android from left-hand side list

取消选中是库"复选框

如果您的应用项目依赖于您工作区中的库项目,那么这些项目当然需要选中是库"框.

If your app project relies on library projects which are in your workspace, those of course need to have the "Is Library" box checked.

这篇关于Android Eclipse - 找不到 *.apk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆