Skip to content

Run Gaddle Build Error #869

Description

@monir6163

What happened?

Running 'gradlew :app:assembleDebug' in /home/expo/workingdir/build/android
Welcome to Gradle 9.3.1!
Here are the highlights of this release:

Task :expo-gradle-plugin:expo-autolinking-settings-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :gradle-plugin:settings-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-gradle-plugin:expo-autolinking-plugin-shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :gradle-plugin:settings-plugin:pluginDescriptors
Task :expo-gradle-plugin:expo-autolinking-settings-plugin:pluginDescriptors
Task :expo-gradle-plugin:expo-autolinking-settings-plugin:processResources
Task :gradle-plugin:settings-plugin:processResources
Task :gradle-plugin:shared:processResources NO-SOURCE
Task :expo-gradle-plugin:expo-autolinking-plugin-shared:processResources NO-SOURCE
Task :gradle-plugin:shared:compileKotlin
Task :gradle-plugin:shared:compileJava NO-SOURCE
Task :gradle-plugin:shared:classes UP-TO-DATE
Task :gradle-plugin:shared:jar
Task :expo-gradle-plugin:expo-autolinking-plugin-shared:compileKotlin
Task :expo-gradle-plugin:expo-autolinking-plugin-shared:compileJava NO-SOURCE
Task :expo-gradle-plugin:expo-autolinking-plugin-shared:classes UP-TO-DATE
Task :expo-gradle-plugin:expo-autolinking-plugin-shared:jar
Task :gradle-plugin:settings-plugin:compileKotlin
Task :gradle-plugin:settings-plugin:compileJava NO-SOURCE
Task :gradle-plugin:settings-plugin:classes
Task :gradle-plugin:settings-plugin:jar
Task :expo-gradle-plugin:expo-autolinking-settings-plugin:compileKotlin
Task :expo-gradle-plugin:expo-autolinking-settings-plugin:compileJava NO-SOURCE
Task :expo-gradle-plugin:expo-autolinking-settings-plugin:classes
Task :expo-gradle-plugin:expo-autolinking-settings-plugin:jar
Task :expo-gradle-plugin:expo-autolinking-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-gradle-plugin:expo-max-sdk-override-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-dev-launcher-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-dev-launcher-gradle-plugin:pluginDescriptors
Task :expo-dev-launcher-gradle-plugin:processResources
Task :expo-module-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-module-gradle-plugin:pluginDescriptors
Task :expo-module-gradle-plugin:processResources
Task :expo-gradle-plugin:expo-autolinking-plugin:pluginDescriptors
Task :expo-gradle-plugin:expo-autolinking-plugin:processResources
Task :expo-gradle-plugin:expo-max-sdk-override-plugin:pluginDescriptors
Task :expo-gradle-plugin:expo-max-sdk-override-plugin:processResources
Task :expo-gradle-plugin:expo-max-sdk-override-plugin:compileKotlin
Task :expo-gradle-plugin:expo-max-sdk-override-plugin:compileJava NO-SOURCE
Task :expo-gradle-plugin:expo-max-sdk-override-plugin:classes
Task :expo-gradle-plugin:expo-max-sdk-override-plugin:jar
Task :expo-gradle-plugin:expo-autolinking-plugin:compileKotlin
Task :expo-gradle-plugin:expo-autolinking-plugin:compileJava
NO-SOURCE
Task :expo-gradle-plugin:expo-autolinking-plugin:classes
Task :expo-gradle-plugin:expo-autolinking-plugin:jar
Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors
Task :gradle-plugin:react-native-gradle-plugin:processResources
Task :gradle-plugin:react-native-gradle-plugin:compileKotlin
Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
Task :gradle-plugin:react-native-gradle-plugin:classes
Task :gradle-plugin:react-native-gradle-plugin:jar
Task :expo-dev-launcher-gradle-plugin:compileKotlin
Task :expo-dev-launcher-gradle-plugin:compileJava NO-SOURCE
Task :expo-dev-launcher-gradle-plugin:classes
Task :expo-dev-launcher-gradle-plugin:jar
Task :expo-module-gradle-plugin:compileKotlin
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/expo-module-gradle-plugin/src/main/kotlin/expo/modules/plugin/android/AndroidLibraryExtension.kt:9:24 'var targetSdk: Int?' is deprecated. Will be removed from library DSL in v9.0. Use testOptions.targetSdk or/and lint.targetSdk instead.
Task :expo-module-gradle-plugin:compileJava
NO-SOURCE
Task :expo-module-gradle-plugin:classes
Task :expo-module-gradle-plugin:jar
Configure project :
�[32m[ExpoRootProject]�[0m Using the following versions:

  • buildTools: �[32m36.0.0�[0m
  • minSdk: �[32m24�[0m
  • compileSdk: �[32m36�[0m
  • targetSdk: �[32m36�[0m
  • ndk: �[32m27.1.12297006�[0m
    • kotlin: �[32m2.1.20�[0m
    • ksp: �[32m2.1.20-2.0.1�[0m

Configure project :app
ℹ️ �[33mApplying gradle plugin�[0m '�[32mexpo-max-sdk-override-plugin�[0m'
[expo-max-sdk-override-plugin] This plugin will find all permissions declared with android:maxSdkVersion. If there exists a declaration with the android:maxSdkVersion annotation and another one without, the plugin will remove the annotation from the final merged manifest. In order to see a log with the changes run a clean build of the app.
ℹ️ �[33mApplying gradle plugin�[0m '�[32mexpo-dev-launcher-gradle-plugin�[0m'
Configure project :expo
Using expo modules

  • �[32mexpo-log-box�[0m (57.0.1)
  • �[32mexpo-constants�[0m (57.0.7)
  • �[32mexpo-dev-client�[0m (57.0.9)
  • �[32mexpo-dev-launcher�[0m (57.0.9)
  • �[32mexpo-dev-menu�[0m (57.0.9)
  • �[32mexpo-dev-menu-interface�[0m (57.0.0)
  • �[32mexpo-in-app-updates�[0m (0.1.0)
  • �[32mexpo-json-utils�[0m (57.0.1)
  • �[32mexpo-manifests�[0m (57.0.1)
  • �[32mexpo-modules-core�[0m (57.0.7)
  • �[32mexpo-updates-interface�[0m (57.0.1)
    • �[33m[📦]�[0m �[32mexpo-dom-webview�[0m (57.0.1)
    • �[33m[📦]�[0m �[32mexpo-asset�[0m (57.0.7)
    • �[33m[📦]�[0m �[32mexpo-clipboard�[0m (57.0.1)
  • �[33m[📦]�[0m �[32mexpo-file-system�[0m (57.0.1)
    • �[33m[📦]�[0m �[32mexpo-font�[0m (57.0.1)
    • �[33m[📦]�[0m �[32mexpo-keep-awake�[0m (57.0.1)
    • �[33m[📦]�[0m �[32mexpo-media-library�[0m (57.0.3)
    • �[33m[📦]�[0m �[32mexpo-screen-orientation�[0m (57.0.1)
    • �[33m[📦]�[0m �[32mexpo-sharing�[0m (57.0.7)
    • �[33m[📦]�[0m �[32mexpo-splash-screen�[0m (57.0.5)
    • �[33m[📦]�[0m �[32mexpo-status-bar�[0m (57.0.1)

Configure project :react-native-google-mobile-ads
:react-native-google-mobile-ads package.json found at /home/expo/workingdir/build/node_modules/react-native-google-mobile-ads/package.json


WARNING: react-native-google-mobile-ads requires an 'android_app_id' property inside a 'react-native-google-mobile-ads' key in your app.json.
No android_app_id property was found in this location. The native Google Mobile Ads SDK will crash on startup without it.
You can safely ignore this warning if you are using our Expo config plugin.


:react-native-google-mobile-ads package.json found at /home/expo/workingdir/build/node_modules/react-native-google-mobile-ads/package.json
:react-native-google-mobile-ads:version set from package.json: 16.4.0 (16,4,0 - 16004000)
:react-native-google-mobile-ads:android.compileSdk using custom value: 36
:react-native-google-mobile-ads:android.targetSdk using custom value: 36
:react-native-google-mobile-ads:android.minSdk using custom value: 24
:react-native-google-mobile-ads:reactNativeAndroidDir /home/expo/workingdir/build/node_modules/react-native

Task :expo-dev-client:preBuild
UP-TO-DATE
Task :expo-dev-launcher:preBuild UP-TO-DATE
Task :expo:generatePackagesList
Task :expo-dev-menu:preBuild UP-TO-DATE
Task :expo-dev-menu-interface:preBuild UP-TO-DATE
Task :expo:preBuild
Task :expo-in-app-updates:preBuild UP-TO-DATE
Task :expo-json-utils:preBuild UP-TO-DATE
Task :expo-log-box:preBuild UP-TO-DATE
Task :expo-manifests:preBuild UP-TO-DATE
Task :expo-updates-interface:preBuild UP-TO-DATE
Task :expo-modules-core:preBuild UP-TO-DATE
Task :react-native-async-storage_async-storage:generateCodegenSchemaFromJavaScript
Task :expo-constants:createExpoConfig
Task :expo-constants:preBuild
The NODE_ENV environment variable is required but was not specified. Ensure the project is bundled with Expo CLI or NODE_ENV is set. Using only .env.local and .env
Task :react-native-google-mobile-ads:generateCodegenSchemaFromJavaScript
Task :react-native-async-storage_async-storage:generateCodegenArtifactsFromSchema
Task :react-native-async-storage_async-storage:preBuild
Task :react-native-picker_picker:generateCodegenSchemaFromJavaScript
Task :react-native-google-mobile-ads:generateCodegenArtifactsFromSchema
Task :react-native-google-mobile-ads:preBuild
Task :expo:preDebugBuild
Task :react-native-safe-area-context:generateCodegenSchemaFromJavaScript
Task :react-native-picker_picker:generateCodegenArtifactsFromSchema
Task :react-native-picker_picker:preBuild
Task :expo-constants:preDebugBuild
Task :expo:writeDebugAarMetadata
Task :expo-dev-client:preDebugBuild UP-TO-DATE
Task :expo-constants:writeDebugAarMetadata
Task :expo-dev-launcher:preDebugBuild UP-TO-DATE
Task :expo-dev-client:writeDebugAarMetadata
Task :expo-dev-menu:preDebugBuild UP-TO-DATE
Task :expo-dev-launcher:writeDebugAarMetadata
Task :expo-dev-menu-interface:preDebugBuild UP-TO-DATE
Task :react-native-safe-area-context:generateCodegenArtifactsFromSchema
Task :react-native-safe-area-context:preBuild
Task :expo-in-app-updates:preDebugBuild
UP-TO-DATE
Task :expo-dev-menu:writeDebugAarMetadata
Task :expo-json-utils:preDebugBuild
UP-TO-DATE
Task :expo-dev-menu-interface:writeDebugAarMetadata
Task :expo-log-box:preDebugBuild UP-TO-DATE
Task :expo-in-app-updates:writeDebugAarMetadata
Task :expo-manifests:preDebugBuild UP-TO-DATE
Task :expo-json-utils:writeDebugAarMetadata
Task :expo-modules-core:preDebugBuild UP-TO-DATE
Task :expo-log-box:writeDebugAarMetadata
Task :expo-updates-interface:preDebugBuild UP-TO-DATE
Task :expo-manifests:writeDebugAarMetadata
Task :react-native-async-storage_async-storage:preDebugBuild
Task :expo-updates-interface:writeDebugAarMetadata
Task :react-native-google-mobile-ads:preDebugBuild
Task :expo-modules-core:writeDebugAarMetadata
Task :react-native-picker_picker:preDebugBuild
Task :react-native-picker_picker:writeDebugAarMetadata
Task :react-native-safe-area-context:preDebugBuild
Task :react-native-async-storage_async-storage:writeDebugAarMetadata
Task :expo:generateDebugResValues
Task :expo:generateDebugResources
Task :expo:packageDebugResources
Task :expo-constants:generateDebugResValues
Task :expo-constants:generateDebugResources
Task :expo-constants:packageDebugResources
Task :expo-dev-client:generateDebugResValues
Task :expo-dev-client:generateDebugResources
Task :expo-dev-client:packageDebugResources
Task :expo-dev-launcher:generateDebugResValues
Task :expo-dev-launcher:generateDebugResources
Task :react-native-google-mobile-ads:writeDebugAarMetadata
Task :expo-dev-menu:generateDebugResValues
Task :expo-dev-menu:generateDebugResources
Task :expo-dev-menu:packageDebugResources
Task :expo-dev-menu-interface:generateDebugResValues
Task :expo-dev-menu-interface:generateDebugResources
Task :expo-dev-launcher:packageDebugResources
Task :expo-in-app-updates:generateDebugResValues
Task :expo-in-app-updates:generateDebugResources
Task :expo-dev-menu-interface:packageDebugResources
Task :expo-json-utils:generateDebugResValues
Task :expo-json-utils:generateDebugResources
Task :expo-in-app-updates:packageDebugResources
Task :expo-log-box:generateDebugResValues
Task :expo-log-box:generateDebugResources
Task :expo-json-utils:packageDebugResources
Task :expo-manifests:generateDebugResValues
Task :expo-manifests:generateDebugResources
Task :expo-manifests:packageDebugResources
Task :expo-log-box:packageDebugResources
Task :expo-modules-core:generateDebugResValues
Task :expo-updates-interface:generateDebugResValues
Task :expo-modules-core:generateDebugResources
Task :expo-updates-interface:generateDebugResources
Task :expo-updates-interface:packageDebugResources
Task :expo-modules-core:packageDebugResources
Task :react-native-google-mobile-ads:generateDebugResValues
Task :react-native-async-storage_async-storage:generateDebugResValues
Task :react-native-google-mobile-ads:generateDebugResources
Task :react-native-async-storage_async-storage:generateDebugResources
Task :react-native-google-mobile-ads:packageDebugResources
Task :react-native-picker_picker:generateDebugResValues
Task :react-native-picker_picker:generateDebugResources
Task :react-native-async-storage_async-storage:packageDebugResources
Task :react-native-picker_picker:packageDebugResources
Task :react-native-safe-area-context:generateDebugResValues
Task :expo:extractDeepLinksDebug
Task :react-native-safe-area-context:generateDebugResources
Task :react-native-safe-area-context:packageDebugResources
Task :expo-constants:extractDeepLinksDebug
Task :react-native-safe-area-context:writeDebugAarMetadata
Task :expo-dev-client:extractDeepLinksDebug
Task :expo-dev-client:processDebugManifest
Task :expo:processDebugManifest
Task :expo-dev-launcher:extractDeepLinksDebug
Task :expo-dev-launcher:processDebugManifest
Task :expo-dev-menu:extractDeepLinksDebug
Task :expo-constants:processDebugManifest
Task :expo-dev-menu-interface:extractDeepLinksDebug
Task :expo-dev-menu-interface:processDebugManifest
Task :expo-in-app-updates:extractDeepLinksDebug
Task :expo-dev-menu:processDebugManifest
Task :expo-in-app-updates:processDebugManifest
Task :expo-json-utils:extractDeepLinksDebug
Task :expo-log-box:extractDeepLinksDebug
Task :expo-json-utils:processDebugManifest
Task :expo-log-box:processDebugManifest
Task :expo-modules-core:extractDeepLinksDebug
Task :expo-manifests:extractDeepLinksDebug
Task :expo-manifests:processDebugManifest
Task :expo-modules-core:processDebugManifest
/home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/AndroidManifest.xml:8:9-11:45 Warning:
meta-data#com.facebook.soloader.enabled@android:value was tagged at AndroidManifest.xml:8 to replace other declarations but no other declaration present
Task :expo-updates-interface:extractDeepLinksDebug
Task :react-native-async-storage_async-storage:extractDeepLinksDebug
Task :react-native-async-storage_async-storage:processDebugManifest
package="com.reactnativecommunity.asyncstorage" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.reactnativecommunity.asyncstorage" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/AndroidManifest.xml.
Task :expo-updates-interface:processDebugManifest
Task :react-native-google-mobile-ads:extractDeepLinksDebug
Task :react-native-picker_picker:extractDeepLinksDebug
Task :react-native-picker_picker:processDebugManifest
package="com.reactnativecommunity.picker" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-picker/picker/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.reactnativecommunity.picker" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-picker/picker/android/src/main/AndroidManifest.xml.
Task :react-native-google-mobile-ads:processDebugManifest
package="io.invertase.googlemobileads" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-google-mobile-ads/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="io.invertase.googlemobileads" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-google-mobile-ads/android/src/main/AndroidManifest.xml.
Task :react-native-safe-area-context:extractDeepLinksDebug
Task :react-native-safe-area-context:processDebugManifest
package="com.th3rdwave.safeareacontext" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-safe-area-context/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.th3rdwave.safeareacontext" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-safe-area-context/android/src/main/AndroidManifest.xml.
Task :expo-constants:compileDebugLibraryResources
Task :expo:compileDebugLibraryResources
Task :expo:parseDebugLocalResources
Task :expo-constants:parseDebugLocalResources
Task :expo-constants:generateDebugRFile
Task :expo:generateDebugRFile
Task :expo-dev-client:compileDebugLibraryResources
Task :expo-dev-client:parseDebugLocalResources
Task :expo-dev-client:generateDebugRFile
Task :expo-dev-launcher:compileDebugLibraryResources
Task :expo-dev-launcher:parseDebugLocalResources
Task :expo-dev-menu:compileDebugLibraryResources
Task :expo-dev-launcher:generateDebugRFile
Task :expo-dev-menu:parseDebugLocalResources
Task :expo-dev-menu-interface:compileDebugLibraryResources
Task :expo-dev-menu-interface:parseDebugLocalResources
Task :expo-dev-menu:generateDebugRFile
Task :expo-in-app-updates:compileDebugLibraryResources
Task :expo-dev-menu-interface:generateDebugRFile
Task :expo-json-utils:compileDebugLibraryResources
Task :expo-json-utils:parseDebugLocalResources
Task :expo-json-utils:generateDebugRFile
Task :expo-log-box:compileDebugLibraryResources
Task :expo-log-box:parseDebugLocalResources
Task :expo-log-box:generateDebugRFile
Task :expo-manifests:compileDebugLibraryResources
Task :expo-manifests:parseDebugLocalResources
Task :expo-manifests:generateDebugRFile
Task :expo-modules-core:compileDebugLibraryResources
Task :expo-modules-core:parseDebugLocalResources
Task :expo-modules-core:generateDebugRFile
Task :expo-updates-interface:compileDebugLibraryResources
Task :expo-updates-interface:parseDebugLocalResources
Task :expo-updates-interface:generateDebugRFile
Task :react-native-async-storage_async-storage:compileDebugLibraryResources
Task :react-native-async-storage_async-storage:parseDebugLocalResources
Task :expo-in-app-updates:parseDebugLocalResources
Task :react-native-async-storage_async-storage:generateDebugRFile
Task :react-native-google-mobile-ads:compileDebugLibraryResources
Task :expo-in-app-updates:generateDebugRFile
Task :react-native-google-mobile-ads:parseDebugLocalResources
Task :react-native-google-mobile-ads:generateDebugRFile
Task :react-native-picker_picker:compileDebugLibraryResources
Task :react-native-picker_picker:parseDebugLocalResources
Task :react-native-safe-area-context:compileDebugLibraryResources
Task :react-native-picker_picker:generateDebugRFile
Task :expo:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :react-native-safe-area-context:parseDebugLocalResources
Task :expo:generateDebugBuildConfig
Task :expo-constants:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :react-native-safe-area-context:generateDebugRFile
Task :expo-modules-core:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-constants:generateDebugBuildConfig
Task :expo-dev-client:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-modules-core:generateDebugBuildConfig
Task :expo-constants:javaPreCompileDebug
Task :expo-dev-client:dataBindingMergeDependencyArtifactsDebug
Task :expo-dev-client:dataBindingGenBaseClassesDebug
Task :expo-dev-client:generateDebugBuildConfig
Task :expo-dev-client:javaPreCompileDebug
Task :expo-dev-launcher:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-modules-core:javaPreCompileDebug
Task :expo-dev-menu:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-dev-menu:generateDebugBuildConfig
Task :expo-dev-menu-interface:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-dev-menu-interface:generateDebugBuildConfig
Task :expo-dev-menu-interface:javaPreCompileDebug
Task :expo-json-utils:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :app:generateAutolinkingNewArchitectureFiles
Task :expo-json-utils:generateDebugBuildConfig
Task :expo-json-utils:javaPreCompileDebug
Task :expo-manifests:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :app:generateAutolinkingPackageList
Task :app:generateCodegenSchemaFromJavaScript SKIPPED
Task :expo-manifests:generateDebugBuildConfig
Task :app:generateCodegenArtifactsFromSchema SKIPPED
Task :expo-manifests:javaPreCompileDebug
Task :expo-dev-menu:javaPreCompileDebug
Task :expo-updates-interface:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :app:generateReactNativeEntryPoint
Task :expo-updates-interface:generateDebugBuildConfig
Task :app:preBuild
Task :app:preDebugBuild
Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
Task :app:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-updates-interface:javaPreCompileDebug
Task :expo-in-app-updates:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-in-app-updates:generateDebugBuildConfig
Task :app:generateDebugBuildConfig
Task :expo-in-app-updates:javaPreCompileDebug
Task :expo-log-box:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :expo-log-box:generateDebugBuildConfig
Task :expo-log-box:javaPreCompileDebug
Task :expo:javaPreCompileDebug
Task :react-native-async-storage_async-storage:generateDebugBuildConfig
Task :react-native-async-storage_async-storage:javaPreCompileDebug
Task :expo-dev-launcher:dataBindingMergeDependencyArtifactsDebug
Task :app:generateDebugResValues
Task :app:checkDebugAarMetadata
Task :app:mapDebugSourceSetPaths
Task :app:generateDebugResources
Task :expo-dev-launcher:dataBindingGenBaseClassesDebug
Task :expo-dev-launcher:generateDebugBuildConfig
Task :expo-dev-launcher:checkApolloVersions
Task :expo-dev-launcher:generateServiceApolloOptions
Task :expo-dev-launcher:generateServiceApolloSources
w: /home/expo/workingdir/build/node_modules/expo-dev-launcher/android/src/debug/graphql/GetBranches.graphql: (21, 11): Apollo: Use of deprecated field runtimeVersion
w: /home/expo/workingdir/build/node_modules/expo-dev-launcher/android/src/debug/graphql/GetBranches.graphql: (34, 3): Apollo: Variable platform is unused
w: /home/expo/workingdir/build/node_modules/expo-dev-launcher/android/src/debug/graphql/GetUpdates.graphql: (14, 11): Apollo: Use of deprecated field runtimeVersion
Task :expo-dev-launcher:javaPreCompileDebug
Task :react-native-google-mobile-ads:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :react-native-google-mobile-ads:generateDebugBuildConfig
Task :expo-modules-core:compileDebugKotlin
Task :app:mergeDebugResources
Task :app:packageDebugResources
Task :app:parseDebugLocalResources
Task :app:createDebugCompatibleScreenManifests
Task :app:extractDeepLinksDebug
Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/javaPackage/java/com/reactnativecommunity/asyncstorage/AsyncStoragePackage.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Task :react-native-google-mobile-ads:compileDebugKotlin FAILED
Task :expo-modules-core:compileDebugKotlin
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/apploader/AppLoaderProvider.kt:34:52 Unchecked cast of 'Class<*>!' to 'Class'.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt:14:8 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt:22:8 'typealias ErrorManagerModule = JSLoggerModule' is deprecated. Use JSLoggerModule instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt:61:13 'val hostingRuntimeContext: MainRuntime' is deprecated. Use AppContext.runtimeContext instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt:271:21 'typealias ErrorManagerModule = JSLoggerModule' is deprecated. Use JSLoggerModule instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt:380:21 'val DEFAULT: Int' is deprecated. UIManagerType.DEFAULT will be deleted in the next release of React Native. Use [LEGACY] instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt:381:10 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/defaultmodules/NativeModulesProxyModule.kt:16:5 'fun Constants(legacyConstantsProvider: () -> Map<String, Any?>): Unit' is deprecated. Use Constant or Property instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/events/KModuleEventEmitterWrapper.kt:99:21 'fun getEventDispatcherForReactTag(context: ReactContext, reactTag: Int): EventDispatcher?' is deprecated. reactTag is no longer needed.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/events/KModuleEventEmitterWrapper.kt:108:21 'fun getEventDispatcherForReactTag(context: ReactContext, reactTag: Int): EventDispatcher?' is deprecated. reactTag is no longer needed.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewDefinitionBuilder.kt:470:16 'val errorManager: JSLoggerModule?' is deprecated. Use AppContext.jsLogger instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewDefinitionBuilder.kt:470:30 'fun reportExceptionToLogBox(codedException: CodedException): Unit' is deprecated. Use appContext.jsLogger.error(...) instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewManagerDefinition.kt:41:16 'val errorManager: JSLoggerModule?' is deprecated. Use AppContext.jsLogger instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewManagerDefinition.kt:41:30 'fun reportExceptionToLogBox(codedException: CodedException): Unit' is deprecated. Use appContext.jsLogger.error(...) instead.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/abuse.orcas.externs.java.com.google.abuse.orcas.externs_externs.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.gms.libs.filecompliance.proto_file_access_api_type_kt_proto_lite.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics.internal_ad_quality_lib_impl.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics_ad_quality_data_pinger.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics_ad_quality_data_serializer.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics_ad_quality_data_store_module.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics_ad_quality_kt_proto_lite.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics_ad_quality_lib.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics_ad_quality_scope_provider.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.admob.ad_quality_metrics_clock.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.ads.mobile.sdk.internal.annotations_annotations.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.ads.mobile.sdk.internal.util_clock.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.ads.mobile.sdk.internal.util_clock_module.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.internal.ads.adshield.protos_adshield_options_kt_proto_lite.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.async.coroutines_annotations.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.async.coroutines_coroutines-android.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/logs.proto.chrome_search_chrome_search_extensions_kt_proto_lite.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/third_party.kotlin.protobuf.src.commonMain.kotlin.com.google.protobuf.kotlin_only_for_use_in_proto_generated_code_its_generator_and_tests.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
e: file:///home/expo/.gradle/caches/9.3.1/transforms/f184214da52b3a2a73ef7d41127e5581/transformed/play-services-ads-25.4.0-api.jar!/META-INF/third_party.kotlin.protobuf.src.commonMain.kotlin.com.google.protobuf.kotlin_shared_runtime.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.
Task :app:processDebugMainManifest
/home/expo/workingdir/build/android/app/src/debug/AndroidManifest.xml:6:5-162 Warning:
application@android:usesCleartextTraffic was tagged at AndroidManifest.xml:6 to replace other declarations but no other declaration present
/home/expo/workingdir/build/android/app/src/debug/AndroidManifest.xml Warning:
provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:0 to replace other declarations but no other declaration present
[Incubating] Problems report is available at: file:///home/expo/workingdir/build/android/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/9.3.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
237 actionable tasks: 237 executed
See the profiling report at: file:///home/expo/workingdir/build/android/build/reports/profile/profile-2026-07-29-04-29-15.html
A fine-grained performance profile is available: use the --scan option.
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-google-mobile-ads:compileDebugKotlin'.

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 or --debug option to get more log output.
Run with --scan to get full insights from a Build Scan (powered by Develocity).
Get more help at https://help.gradle.org.
BUILD FAILED in 2m 30s
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

Platforms

Only on Android

React Native Info

⚠️ react-native depends on @react-native-community/cli for cli commands. To fix update your package.json to include:


  "devDependencies": {
    "@react-native-community/cli": "latest",
  }

Are your using Typescript?

  • My project is using Typescript

package.json

{
  "name": "maxvideosaver",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@expo/metro-runtime": "~57.0.7",
    "@expo/vector-icons": "^15.0.2",
    "@react-native-async-storage/async-storage": "2.2.0",
    "@react-native-picker/picker": "2.11.4",
    "axios": "^1.8.3",
    "expo": "^57.0.8",
    "expo-build-properties": "~57.0.7",
    "expo-clipboard": "~57.0.1",
    "expo-constants": "~57.0.7",
    "expo-dev-client": "~57.0.9",
    "expo-file-system": "~57.0.1",
    "expo-font": "~57.0.1",
    "expo-in-app-updates": "^0.9.0",
    "expo-media-library": "~57.0.3",
    "expo-screen-orientation": "~57.0.1",
    "expo-sharing": "~57.0.7",
    "expo-splash-screen": "~57.0.5",
    "expo-status-bar": "~57.0.1",
    "react": "19.2.3",
    "react-dom": "19.2.3",
    "react-native": "0.86.0",
    "react-native-flash-message": "^0.4.2",
    "react-native-google-mobile-ads": "^16.4.0",
    "react-native-safe-area-context": "~5.7.0",
    "react-native-web": "^0.21.2"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0"
  },
  "private": true
}

app.json

{
  "expo": {
    "name": "MaxVideoSaver",
    "slug": "MaxVideoSaver",
    "version": "1.1.5",
    "orientation": "default",
    "icon": "./assets/icon.png",
    "userInterfaceStyle": "light",
    "splash": {
      "image": "./assets/splash-icon.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "android": {
      "versionCode": 44,
      "package": "xxxxxxxxxxx"
    },
    "extra": {
      "eas": {
        "projectId": "xxxxxxxxxxxx"
      }
    },
    "plugins": [
      [
        "react-native-google-mobile-ads",
        {
          "androidAppId": "ca-app-pub-xxxxxxxx",
          "iosAppId": ""
        }
      ],
      [
        "expo-build-properties",
        {
          "android": {
            "compileSdkVersion": 36,
            "targetSdkVersion": 36
          },
          "ios": {
            "useFrameworks": "static"
          }
        }
      ]
    ]
  }
}

ios/Podfile

android/build.gradle

android/app/build.gradle

android/settings.gradle

AndroidManifest.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions