I have an Android Library Project in which UI is XML. This libil has its own R.java. I have a library stored in the Libs folder.
When I try to reference it in another application, I get an error.
07-10 10: 53: 33.758: E / Android Runtime (630): generated by: java.lang.NoClassDefFound error: com.libraryProject.R $ dosage
-
Jar file: should not be any kind of resource, because the correct address is that you will not be allowed to access it.
-
Library Project: You import the project as a standalone app in a workspace, and in that project that requires a library, reference it to-> Android-> Library-> gt; ; Add.
Jar files are just zip codes that you can copy and paste into script, and add them to BUILD_PATH. But library projects are references. If you have said that you copy and paste the project into the Libs folder, then it will not work.
It seems that you are meeting both.
Comments
Post a Comment