Execution failed for task ':app:minifyDebugWithR8'. > java.lang.NullPointerException

1.9k Views Asked by At

I'm using a jacorb library in my project and when i launch the build apk i get this error . Can someone show us how to fix this error ? please help .

1

There are 1 best solutions below

0
Jere Chen On

try add JavaVersion.VERSION_1_8 to you app build.gradle

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

maybe help you to fix the problem, just maybe. you can try.