android - Dexguard crashing after library added with native code -


after adding library project contains native code (embedded .so), app build started crash when running dexguard<flavor><buildtype> task. error says:

caused by: java.io.ioexception: can't read [/home/user/project/app/build/intermediates/transforms/mergejnilibs/flavor/buildtype/folders/2000/1f/main(;;;;;;lib/*/*.so,lib/*/gdb*)] (can't write resource [lib/x86/filecointainedonlibrary.so] (new string section exceeds length of original: 243 > 242)) 

that might happen when dexguard obfuscates native methods.

the latest version 7.1.29 should fix issue, please give try.

edit: troubleshooting section of dexguard manual describes work-arounds when happens. keep names of native methods.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo