GhostFlying / force-metered-ap

3 stars 2 forks source link

The Xposed API classes are compiled into the module's APK #2

Open Phoenix09 opened 8 years ago

Phoenix09 commented 8 years ago

05-28 15:58:41.050 I/Xposed ( 3158): Loading modules from /data/app/com.ghostflying.forcemeteredap-1/base.apk 05-28 15:58:41.080 W/Xposed ( 3158): The Xposed API classes are compiled into the module's APK. 05-28 15:58:41.080 W/Xposed ( 3158): This may cause strange issues and must be fixed by the module developer. 05-28 15:58:41.080 W/Xposed ( 3158): For details, see: http://api.xposed.info/using.html

this needs to be fixed

Finally, a word to all module developers: In v84, I added a warning when a module's APK includes the Xposed API classes instead of just referencing them. I have also sent an email to the developers of all modules I could identify. With v86, I will turn the warning into an error and prevent the module from loading, as it could causes strange issues otherwise. Please update your module as soon as possible.

source

GhostFlying commented 8 years ago

I have known this issue and will fix it soon. Thanks. Phoenix09 notifications@github.com于2016年5月30日 周一上午8:20写道:

05-28 15:58:41.050 I/Xposed ( 3158): Loading modules from /data/app/com.ghostflying.forcemeteredap-1/base.apk 05-28 15:58:41.080 W/Xposed ( 3158): The Xposed API classes are compiled into the module's APK. 05-28 15:58:41.080 W/Xposed ( 3158): This may cause strange issues and must be fixed by the module developer. 05-28 15:58:41.080 W/Xposed ( 3158): For details, see: http://api.xposed.info/using.html

this needs to be fixed

Finally, a word to all module developers: In v84, I added a warning when a module's APK includes the Xposed API classes instead of just referencing them. I have also sent an email to the developers of all modules I could identify. With v86, I will turn the warning into an error and prevent the module from loading, as it could causes strange issues otherwise. Please update your module as soon as possible.

source http://forum.xda-developers.com/showthread.php?s=170ea1c75bd6306f78e18d4b64c74d22&t=3034811&page=4

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GhostFlying/force-metered-ap/issues/2, or mute the thread https://github.com/notifications/unsubscribe/AD1VcbeR-9xuLPNgpT8ZUKDE_VRtXwZKks5qGi04gaJpZM4IpafV .

pylerSM commented 8 years ago

Fixed with https://github.com/GhostFlying/force-metered-ap/pull/3

kanakamedalasumanth commented 7 months ago

You have to change the scope to compile only in new build.gradle.kts

compileOnly("de.robv.android.xposed:api:82:sources") compileOnly("de.robv.android.xposed:api:82")