Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when minify is enabled in gradle #573

Open
grndvl1 opened this issue Nov 17, 2021 · 0 comments
Open

App crashes when minify is enabled in gradle #573

grndvl1 opened this issue Nov 17, 2021 · 0 comments

Comments

@grndvl1
Copy link

grndvl1 commented Nov 17, 2021

Just noticed this issue that if I release my app it crashes everytime on ANRequests. It wasn't crashing on Debug builds just releases. So really only changes to gradle are the minifyEnabled true, and the proguard using the proguard-android.txt thats it, my proguard has nothing in it. Release build fails... then if I change minifyEnabled to false then the release app runs just fine.

Fatal Exception: java.lang.NullPointerException
throw with null exception
com.matthewscorp.board.game.repositories.LatestCarousalRepository$setLatestCarousalList$3$1.onResponse (LatestCarousalRepository.java:66)
com.androidnetworking.common.ANRequest.deliverSuccessResponse (ANRequest.java:40)
com.androidnetworking.common.ANRequest.access$6500 (ANRequest.java)
com.androidnetworking.common.ANRequest$6.run (ANRequest.java:4)

added the -dontwarn okio.** and it still crashes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant