- Home /
Android plugin referencing Android library
I have two Android library projects. I'm referencing one of these libraries from unity. The other library is being referenced by the library referenced by Unity. How do I get this to work?
Has anybody found the proper way to do this yet? I tried doing what meat5000 suggested and it's not working. I've also tried including the source for my library from the plugin in Eclipse using Project Properties -> Java Build Path -> Source and that's not working either.
Look at googles Type A Number challenge tutorial and look at the way the BaseUtils, Google Play services and the main app interact.
Right, that's exactly how I've referenced them and I'm still getting a NoClassDefFoundError. I am referencing my Android Library project using the Project Properties -> Android from my plugin Android library project used in Unity. I am making use of a class within the Android library project from the Unity plugin Android library project and in Eclipse it works. Any other suggeestions?
Answer by meat5000 · Oct 09, 2013 at 08:51 PM
Best achieved in eclipse.
In eclipse right click project folder -> Properties -> Android
Check isLibrary and link the project folders in that space. Do the same for the second.
I think you won't need them in the build path... may ave to play with that.
Answer by Jackie0212 · Mar 26, 2014 at 06:04 AM
I have the same question,has anyone help me? please!