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
Back To Top
Search