Question

I have an android project that has a reference to project MyLibrary. I have checked Is Library for project MyLibrary and build it without error.

I have added MyLibrary to Main Project in Properties->android->Library and Java Build Path in Projects tab. I can build the Main Project completely.

enter image description here

enter image description here

But when I launch the Main Project I get this error:

[2012-11-18 15:18:08 - MyLibrary] Could not find MyLibrary.apk!

I have cleaned the projects and studied the following links but I have this error yet.

Could not find Library.apk!

Android Eclipse - Could not find *.apk

Could not find ****.apk + android

Why and how can I solve it?

I should mention that when I open Properties->android->Library for Main Project I see that the inserted library has a red cross.

Is it related to slash / and backslash \ in the path of reference in the pictures?

enter image description here

Was it helpful?

Solution

Thanks to yorkw. The Main Project was in drive D:... and MyLibrary was in C:.... I put MyLibrary in folder where Main Project was and the problem solved.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top