job.answiz.com
  • 0
Votes
name

After setting up the Sentry.io error tracking I get this error when I try to Generate Signed Apk:

Java Compiler
error: An organization slug is required (provide with --org)

Click on this image and open it to see more details: Error

I cannot understand anything from this one:

Process 'command
'/var/folders/j4/_fzm1rks3tsc2h3j4l2qbq4w0000gn/T/.sentry-cli1369818638611304938.exe'
' finished with non-zero exit value 1

This is the file address that was raised in error: Address in error

How can I solve this problem and Generate Signed Apk?

 

I guess that setting false value to minifyEnabled may solve the problem and actually it worked!

app/build.gradle:

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

but it added 1.3MB to the size my of Apk file.

Please let me know if anyone has a different better solution.

  • 0
Reply Report