문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top