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

React native – Could not find method exec() for arguments. Android Build Error

react-native project randomly started failing with Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method exec() for arguments [ReactNativeModules$_getCommandOutput_closure16@45d8ac1c] on object of type org.gradle.api.internal.provider.DefaultProviderFactory_Decorated. while running yarn android It starts the JS server starts the emulator then fails We have not changed…

VIEW QUESTION
Back To Top
Search