I have a big problem when I want to add my own .jar in my Androidstudioproject.(.jar was an eclipse-project)
I have an folder in the project which is named lib.
In this I put my .jar and then right click--> add as Library.
Everything is good but the problem is that my .jar uses other extern Libraries.
And then I get the following errormessage:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/JsonParser;
I have a class in my library "boxCreation" and i create a new instance of this class. In the constructor it crashed when i use the library gson.
Can someone help me? I haven't any idea what can be wrong.
I tested it with a "normal" eclipseproject and it works. So i think i haven't done a mistake when i export the library.