I managed to restructure my application pretty nicely so that, except for a few methods in a derived Activity class, everything is in a Library Project.
It works beautifully, except that Eclipse's Console (not LogCat!) issues the following error message:
[2011-06-13 19:54:08 - MyLibrary] Could not find MyLibrary.apk!
I cleaned both projects (library and application), restarted Eclipse, re-built the projects, but this weird error message persists.
What does this error message mean? (especially in light that everything seems to be running OK)
How do I get rid of it?
UPDATE: I tried removing the project then re-importing it per the suggestion below. It didn't help. I then found this thread that helped me realize that I had <uses-library>
in the application's AndroidManifest.xml referring to MyLibrary. I deleted it, cleaned the project and rebuilt. The problem persists.
I am now suspecting this is "real problem", e.g. misconfiguration of some paths or something else on my part. What could it be?
APK files are basically ZIP files similar to the JAR files used to package Java libraries. An APK file contains app code in the DEX file format, native libraries, resources, assets, etc. It must be digitally signed with a certificate to allow installation on an Android device.
You can find your History, Watch later, Playlists, and other channel details in your Library. To find your Library, go to the bottom menu bar and select Library .
Just go to Maven central and download the libraries. For example, here is Volley. Just click the download JAR button. I would strongly recommend sticking with Gradle / Maven, though, to keep consistency with versions and appropriately handle additional dependencies for the libraries you want to download.
I found the source of the problem!
It turns out that "with the new library feature, you don't specify the Android projects you depend on in the Java Build Path section of the Properties. You do it in the Android section of the Properties".
So all I had to do is go the Application Project's Properties
, hit the Projects
tab, select my own library project and click the Remove
button. That's it. No more problem.
In Eclipse Java EE select the project Properties, then select Project References
, then check the FacebookSDK (see screen capture)
Thanks to Lance Nanek!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With