Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Could not find the XXX.apk" message in console while starting application with an Android lib linked

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.

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

"Could not find XXX.apk!"

How can I eliminate it?

Thanks

like image 553
Anton Avatar asked Apr 07 '11 11:04

Anton


Video Answer


2 Answers

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.

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.

like image 126
nmr Avatar answered Oct 07 '22 00:10

nmr


Go to project properties ----> Android (Un check the ticked IsLibrary) ---> click "ok". Then run the application its working for me.

like image 6
user3209435 Avatar answered Oct 07 '22 01:10

user3209435