question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while app building with dexguard

See original GitHub issue

Hi, 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:closed
  • Created 5 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
arnaudgiulianicommented, Aug 10, 2018

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.

1reaction
sankarsanacommented, Aug 16, 2018

Ok i’ll try to do it as soon as posible. Thanks for you responsiveness!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found