I got problem during adding library into Android Studio project.
在将库添加到Android Studio项目期间,我遇到了问题。
I add jar
file to directory libs
. I clicked Add as library and the problem is that when I try to run project, it fails. The problem is decompiled .class file bytecode version 51.0 (Java 7)
. Error in Android Monitor is NoClassDefFound
.
我将jar文件添加到目录库中。我点击添加为库,问题是当我尝试运行项目时,它失败了。问题是反编译的.class文件字节码版本51.0(Java 7)。 Android Monitor中的错误是NoClassDefFound。
What I got for now, is that I should have java files, but I have .class
files.
我现在得到的是,我应该有java文件,但我有.class文件。
Can anybody tell me how to solve this problem?
谁能告诉我如何解决这个问题?
1 个解决方案
#1
0
I solve my problem just using Java Decompiler and adding new java files to project.
我只是使用Java Decompiler解决了我的问题,并将新的java文件添加到项目中。
#1
0
I solve my problem just using Java Decompiler and adding new java files to project.
我只是使用Java Decompiler解决了我的问题,并将新的java文件添加到项目中。