Closed wejdan closed 8 years ago
According to the crash log, you call StringBuilder.append()
, but I don't see that in your code. Are you sure you compiled and test exactly the code you posted above?
yes I am sure
OK, then please upload the APK and I'll have a look.
It seems that the problem is that you have compiled the Xposed API into your APK instead of just referencing it. I don't know that this would have such effects, but it's definitely the wrong way. Please follow these instructions closely to avoid that: https://github.com/rovo89/XposedBridge/wiki/Using-the-Xposed-Framework-API
Apart from that, please don't place your classes in de.robv.... but use your own namespace.
@wejdan Try to set Gradle version to 1.3.0
Well, I had actually decompiled the APK, removed the Xposed API classes and compiled it again. Then it started to work... Unless apktool/smali/baksmali produce "better" dex files, I still think that this is the issue.
The issue here seems to have been that the Xposed API has been compiled into the APK. Since Xposed v84, there's a warning about this, and future versions of Xposed will prevent such a module from being loaded at all.
I have decided to learn to write modules for xposed framework. I have written this code
However the code dose not work and when I look into the logcat I see this error
I use cyanogenmod 12.1