GithubHelp home page GithubHelp logo

Comments (4)

msikyna avatar msikyna commented on June 19, 2024

Hello @philmayes ,

we will look at the issue. Thank you for reporting it.

Kind regards,
Talsec team

from free-rasp-flutter.

yardexx avatar yardexx commented on June 19, 2024

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

from free-rasp-flutter.

msikyna avatar msikyna commented on June 19, 2024

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: talsec/Free-RASP-Android#18

Kind regards,
Talsec team

from free-rasp-flutter.

yardexx avatar yardexx commented on June 19, 2024

Closed as resolved.

If issue persists, please reopen this issue.

from free-rasp-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.