开发者

Does a Library Project require a package name in its AndroidManifest.xml?

开发者 https://www.devze.com 2023-03-12 16:35 出处:网络
I am having this weird problem where everything seems to work as expected but Eclipse\'s Console keeps issuing a Could not find Library.apk! error.

I am having this weird problem where everything seems to work as expected but Eclipse's Console keeps issuing a Could not find Library.apk! error.

Since I have exhausted all possible "voodoo" tricks, I am now thinking perhaps the cause for that error message is that by specifying a package name for the Library project, Eclipse expects and APK?

The documentation on Library Projects in developer.android.com is very short and doesn't explain all the issues that I had to go through in order to ma开发者_如何学Pythonke the conversion to library project based application work.

Does a Library Project require a package name in its AndroidManifest.xml?

If the answer is yes, why does Eclipse complain about not finding an APK when there shouldn't be any APK?


the issue you are having is connected to either the project .classpath or the .project file each located on the top level of your project directory. remove the lib from the project build path, erase the things in there connected to your library and add the build path references again.

0

精彩评论

暂无评论...
验证码 换一张
取 消