"找不到XXX.apk"在控制台消息,同时启动应用程序在Android的lib链接 [英] "Could not find the XXX.apk" message in console while starting application with an Android lib linked

查看:70
本文介绍了"找不到XXX.apk"在控制台消息,同时启动应用程序在Android的lib链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一些奇怪的问题,在Eclipse我的空间设置。我有一个Android的图书​​馆项目并链接到库中的应用程序项目。

There's some weird problem with my workspace setup in Eclipse. I have one Android Library project and an application project which is linked to the library.

一切工作正常,在编译时和运行时,但每当我启动应用程序,我看到Eclipse控制台此消息:

Everything works fine in compile-time and runtime, but whenever I start the app, I see this message in Eclipse console:

找不到XXX.apk!

"Could not find XXX.apk!"

我如何能消除吗?

感谢

推荐答案

此消息从Android开发组兰斯Nanek引述指出其在Android项目的Java构建路径部分中的项目依赖导致此问题,如果依赖项目是一个Android项目。

In this message from the Android developers group Lance Nanek is quoted as pointing out that having a "project dependency" in the Java Build Path section of an Android project causes this problem, if the depended project is an Android project.

所以,去到Java构建路径>项目和删除不正确的项目依赖(你的Andr​​oid库项目。)请注意,项目设置,你是依赖必须列在Android库中的Android的部分中了〜库中。

So, go to Java Build Path > Projects and remove the incorrect project dependency (your Android library project.) Note that in the "Android" section of the project settings the Android library that you're dependent on must be listed in the ~"Libraries" box.

这篇关于"找不到XXX.apk"在控制台消息,同时启动应用程序在Android的lib链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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