Closed philmayes closed 1 year ago
Hello @philmayes ,
we will look at the issue. Thank you for reporting it.
Kind regards, Talsec team
Hello @philmayes,
Exception java.lang.UnsatisfiedLinkError:
at com.aheaditec.talsec_security.security.Natives.b (Natives.java)
at com.aheaditec.talsec_security.security.Natives.d (Natives.java)
We are still working on this issue. We were not able to reproduce it on our testing devices. I hope that we will find at least some workaround soon.
E/AndroidRuntime(11270): java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String[] e.a.c.a.a.f() (tried Java_e_a_c_a_a_f and Java_e_a_c_a_a_f__)
E/AndroidRuntime(11270): at e.a.c.a.a.f(Native Method)
This is strange behavior because the classes containing native methods are obfuscated as well. Classes containing native methods cannot be obfuscated (the name must be preserved because it’s used during native .so file linking -> resulting in UnsatisfiedLinkError
). Usually, the keep rule for native methods is automatically added in default android/flutter proguard files.
We added consumer-rules.pro
to our Android library, containing the keep exception for native classes. Those rules should be automatically merged with your proguard rules when building the application in release mode. A new release with this fix should be available during next week.
In the meantime, you can apply following rule:
-keepclasseswithmembernames,includedescriptorclasses class * {
native <methods>;
}
to the proguard-rules.pro
file in your android app module
folder. If the issue persists, could you send us the content of configuration.txt
file that can be found in build/app/outputs/mapping/release
after the application is built in release mode.
Best regards, Jaroslav, Talsec team
Hello @philmayes , we have inspected a similar issue and provided a partial solution and suggested a few more solutions, which needs to be tested. You can check it out in this issue: https://github.com/talsec/Free-RASP-Android/issues/18
Kind regards, Talsec team
Closed as resolved.
If issue persists, please reopen this issue.
Release version on Play Store crashes with stack trace:
Google reports these crashes as being on samsung p3q & samsung r8q and it also fails locally on Pixel 7 Pro.
I tried using the Free-RASP-Community suggestion
but (probably not surprising) this gave me
I'm running:
Everything works fine in debug AND profile modes. Thanks for any help :-)