anonymix007 / ExtA2DP

LSPosed module for adding A2DP codecs
GNU General Public License v3.0
67 stars 3 forks source link

Need a help regarding modern api imp #5

Closed Android1500 closed 1 year ago

Android1500 commented 1 year ago

I also try to impeliment modern api by adding modern lib aar but when i enable module and open it give me error

onBinderReceived java.lang.NoClassDefFoundError: Failed resolution of: Lio/github/libxposed/service/IXposedService$Stub; at io.github.libxposed.service.XposedServiceHelper.onBinderReceived(XposedServiceHelper.java:40) at io.github.libxposed.service.XposedProvider.call(XposedProvider.java:58) at android.content.ContentProvider.call(ContentProvider.java:2511) at android.content.ContentProvider$Transport.call(ContentProvider.java:525) at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:295) at android.os.Binder.execTransactInternal(Binder.java:1280) at android.os.Binder.execTransact(Binder.java:1244) Caused by: java.lang.ClassNotFoundException: Didn't find class "io.github.libxposed.service.IXposedService$Stub" on path: DexPathList[[zip file "/data/app/fGVP96dcUeigEJBEjk7VjQ==/com.example.test3-zMHpWzwbuguIai1BIpztRQ==/base.apk"],nativeLibraryDirectories=[/data/app/fGVP96dcUeigEJBEjk7VjQ==/com.example.test3-zMHpWzwbuguIai1BIpztRQ==/lib/arm64, /system/lib64, /system/system_ext/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at io.github.libxposed.service.XposedServiceHelper.onBinderReceived(XposedServiceHelper.java:40)  at io.github.libxposed.service.XposedProvider.call(XposedProvider.java:58)  at android.content.ContentProvider.call(ContentProvider.java:2511)  at android.content.ContentProvider$Transport.call(ContentProvider.java:525)  at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:295)  at android.os.Binder.execTransactInternal(Binder.java:1280)  at android.os.Binder.execTransact(Binder.java:1244) 

any suggestion?

anonymix007 commented 1 year ago

I don't think I can help you with that. Have you tried building the example?

Android1500 commented 1 year ago

I don't think I can help you with that. Have you tried building the example?

Yeah i tried its always show binder null

anonymix007 commented 1 year ago

You need to first enable it in manager, force stop it in app info and only then it will show non-null binder (and even rotating screen breaks that). This must be LSPosed bug, report it to developers.

My module doesn't use xposed service, so I'm not even sure if it works at all. During the development I faced few bugs in LSPosed, so this may be just another one.