Home > Mobile >  Xposed development, Xposed log output, the main interface output Xposed log
Xposed development, Xposed log output, the main interface output Xposed log

Time:09-25

The main interface output error log XposedBridge. Log (" the Activity test log ");
I am Activity using xposed log output interface, how can an error? In handleLoadPackage () is not an error

Java. Lang. NoClassDefFoundError: DE. Robv. Android. Xposed. XposedBridge

This is all error message
03-07 10:57:19. 181, 1668-1668/chao xp. Device W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0 x94c85b20)
03-07 10:57:19. 181, 1668-1668/chao xp. Device E/AndroidRuntime: FATAL EXCEPTION: the main
Process: chao. Xp. Device, PID: 1668
Java. Lang. NoClassDefFoundError: DE. Robv. Android. Xposed. XposedBridge
The at chao. Xp. Device. MainActivity $2. The onClick (MainActivity. Java: 56)
An android. View. The view. PerformClick (the Java: 4438)
An android. View. The view $PerformClick. Run (18422) view. Java:
An android. OS. Handler. HandleCallback (Handler. Java: 733)
An android. OS. Handler. DispatchMessage (Handler. Java: 95)
. An android OS. Stars. Loop (136). Which Java:
. An android app. ActivityThread. Main (5019) ActivityThread. Java:
The at Java. Lang. Reflect. Method. InvokeNative (Native Method)
The at Java. Lang. Reflect. Method. Invoke (515) Method. The Java:
At com. Android. Internal. OS. $MethodAndArgsCaller ZygoteInit. Run (ZygoteInit. Java: 779)
At com. Android. Internal. OS. ZygoteInit. Main (ZygoteInit. Java: 595)
At DE. Robv. Android. Xposed. XposedBridge. Main (132) XposedBridge. Java:
The at dalvik. System. NativeStart. Main (Native Method)

CodePudding user response:

Nobody reply ahhh

CodePudding user response:

Answers to your question is that you, xposed is a plug-in, your activity is your application, is not in the same process,

CodePudding user response:

Upstairs right, the Activity of your own app doesn't introduce xposed, complains, of course,
CompileOnly 'DE. Robv. Android. Xposed: API: 82' just compiled without an error,
When in handleLoadPackage, xposed have put your code loaded into the other inside the app, and xposed will add himself, in others inside the app and xposed natural is not an error,

You can try your own Activity in manual call handleLoadPackage complains
  • Related