Error while app building with dexguard
See original GitHub issueHi, i want to move a project from Toothpick to Koin. In the project is used the dexguard lib for protection.
At the building time, i getting en error.
This is the end of stactrace.
Unexpected error while computing stack sizes:
Class = [o/hD$if$10]
Method = [ˏ(Ljava/lang/Object;)Ljava/lang/Object;]
Exception = [java.lang.IllegalArgumentException] (Stack size becomes negative after instruction [18] astore v5 in [o/hD$if$10.ˏ(Ljava/lang/Object;)Ljava/lang/Object;])
:app:dexguardRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:dexguardRelease'.
> Stack size becomes negative after instruction [18] astore v5 in [o/hD$if$10.ˏ(Ljava/lang/Object;)Ljava/lang/Object;]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3m 25s
31 actionable tasks: 31 executed
ERROR: Job failed: exit code 1
Is it en error of a dexguard or a koin? How can i fix it?
P.S. This is error i have got after implementing the koin.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Dexguard error while running signed apk - Stack Overflow
apk"]. This is my configuration. DexGuard6.1.03 com.android.tools.build:gradle:1.0.0 - dependency Application extends from MultiDexApplication.
Read more >VSTS Android Build DexGuard Error - Visual Studio Feedback
I'm using an Android native project that uses DexGuard. When I run the code manually on my local computer it works fine and...
Read more >Error: Unable to send ProGuard/DexGuard 'mapping.txt' to ...
We are using newRelic in react native… Once we enable proguard on release build, but return fail on Task :app:newrelicMapUploadRelease
Read more >Android App Security and Obfuscation | DexGuard
DexGuard is a leader in Android app security with advanced code hardening (obfuscation and encryption) and runtime application self-protection. Learn more.
Read more >Getting java.lang.OutOfMemoryError while building Release ...
OutOfMemoryError while building Release APK with DexGuard-kotlin. ... that this error was caused due to Certificate Temper detection feature in Dex-guard.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed a regression about this topic. Fixed in
1.0.0-beta-5
, you won’t required any proguard rule for Koin or break any dex/shrink tool.Ok i’ll try to do it as soon as posible. Thanks for you responsiveness!