Android Xposed framework has the java. lang. IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation problem, android
The first time I played the Xposed framework, I wrote a demo in the format of multiple demos and found that
public abstract void handleLoadPackage(LoadPackageParam lpparam) throws Throwable;
Method, go/Data/de. robv. android. xposed. installer/log/error. logCheck and find the crash
Loading modules from /data/app/com.example.xposed-1.apk Loading class com.example.xposed.Testjava.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation at dalvik.system.DexFile.defineClassNative(Native Method) at dalvik.system.DexFile.defineClass(DexFile.java:222) at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:215) at dalvik.system.DexPathList.findClass(DexPathList.java:322) at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421) at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120) at dalvik.system.NativeStart.main(Native Method)
After query, it is found that the Xposed framework has a java. lang. IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation problem becauseXposedBridgeApi. jarNeed to be placed inLibFolder, and then select the jar package to add it to build_path, which cannot be placed in
In libs of the Android project.
If you did not see this article in wb145230, click to view the original article.