Release build throws (when using gradle installRelease
) :
NullPointerException during IR Conversion
After upgrading com.android.tools.build:gradle from 3.5.3 to 3.6.0.
Error happens when transforming jetified lib from ~/.gradle/caches/.../jetified-lib.jar
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:minifyReleaseWithR8'.
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete
NullPointerException during IR Conversion
at com.android.tools.r8.utils.y0.a(:21)
at com.android.tools.r8.utils.O.a(:51)
... 97 more
Anyone knows how to solve the issue ?
EDIT :
Looking at https://developer.android.com/studio/releases/gradle-plugin adding this to gradle.properties
android.useNewApkCreator=false
does not help...