Question

I have Android projects A and B, where Project B should reference project A. To accomplish that I did the following:

  • Mark A as "isLibrary" and added it to project B --> noClassdeFoundException
  • Added B under "Order and Export": A is checked and listed as first --> same exception

What else can I do?

Was it helpful?

Solution 3

I solved my problem by exporting Project A in a .jar-file (but without the AndroidManifest!), then importing that jar-File in Project B.

OTHER TIPS

i have the same problems with google maps utility library yesterday and i fixed my problems by adding the jar of the library to my libs folder of my project.

You can also right-click on B, click on Properties, select Android and then click "Add" in the Library sub-category and then add A to it.

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