skip to Main Content

Upgrade Gradle wrapper version to 8.6 and Android Gradle plugin version to 8.4.1 make my android studio unable to build release .apk file

after recent update, my android studio make an error: java.lang.NullPointerException: Cannot invoke "com.android.tools.r8.internal.Gk0.B()" because the return value of "com.android.tools.r8.internal.Jw.b()" is null and this error avoids build release .apk file. here is my build.gradle(app): android { namespace '...' compileSdk 34 defaultConfig…

VIEW QUESTION

Android Studio – Request Permission Prompt not showing to user android

I have a simple app that has just 1 button in the activity and this is my MainActivity.kt file code: package ir.alirezapersonal.startup2 import android.Manifest import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import android.util.Log import androidx.activity.enableEdgeToEdge import androidx.annotation.RequiresApi import androidx.appcompat.app.AppCompatActivity import androidx.core.app.ActivityCompat…

VIEW QUESTION

Android Studio – Execution failed for task :app:compileReleaseKotlin. in flutter project

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:compileReleaseKotlin'. A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details Try: Run with --stacktrace option to get the stack trace. Run with --info…

VIEW QUESTION
Back To Top
Search