문제

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?

도움이 되었습니까?

해결책 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.

다른 팁

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.

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