Closed owencm closed 3 years ago
Also if it's helpful at all, note that expo build:android
on the same project succeeded.
hi there! what version of @expo/metro-config
is installed in your project?
Hi @brentvatne! Thanks for jumping in!
"@expo/metro-config@^0.1.63":
version "0.1.69"
resolved "https://registry.yarnpkg.com/@expo/metro-config/-/metro-config-0.1.69.tgz#c8ed4e9c13d4e1ae6bfcd00180e257fdf942594b"
integrity sha512-Py1Zovxl5Esy09xewnOytOPgt5xC+QWP7bgvF4VML6EE05e7Qrz3VnLZJxJA8H0hGJc6/ctwO5tttctZpf1qwQ==
dependencies:
"@expo/config" "3.3.43"
chalk "^4.1.0"
getenv "^1.0.0"
metro-react-native-babel-transformer "^0.59.0"
which node version are you using on your machine? can you try building on eas build again with the same version? (you can set it with the node
property on the build profile)
v16.9.1
alternatively, you could try to repro it locally with node 14.15.1 installed
also - if you are using app.config.js
- what are the contents of it?
FYI: rebuilding with node version set in build profile, will see if it works. (Thanks for the help!)
app.config.js
is:
export default ({ config }) => {
return {
extra: {
// apiRoot:
// process.env.NODE_ENV === "production" ? "" : "http://localhost:3000",
apiRoot: "http://138.197.219.157/",
},
...config,
};
};
Edit: will try again with "node"
set in release
since I'm not sure which config is being used by default but actually I assume it's release
Build failed :( https://expo.dev/accounts/owencm/projects/freelancerprojectcoordination/builds/2b2936aa-17b3-4eb4-a514-5c26f5eae95c
This was with eas.json
{
"build": {
"release": {},
"development": {
"developmentClient": true,
"distribution": "internal",
"node": "16.9.1"
}
},
"submit": {
"release": {}
}
}
release
will be used by default if no profile is provided. indeed in the build you shared it looks like release was used
Re-ran with "node" set in "release", but build failed: https://expo.dev/accounts/owencm/builds/532d6893-fbd7-4e63-a035-2bd09cd2b4c8
eas.json
{
"build": {
"release": {
"node": "16.9.1"
},
"development": {
"developmentClient": true,
"distribution": "internal"
}
},
"submit": {
"release": {}
}
}
ooh i see:
metro.config.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
does your app package.json include "type": "module"
?
Oh, yes it does! Great spot. I had to add this for some node imports issue that I don't remember. Just removed it and the project is still working, so it's probably some old node issue.
Will remove and attempt to build, but feels 90% likely you've nailed it. π¦ΈββοΈ
You were right @brentvatne , removing "type": "module"
from package.json
fixed it.
Good to know about that creating problems!
Thanks for the A+++ support! ππ§
haha hurray! np!
by the way, i'd recommend updating to sdk 42 because we improved a bunch of different parts of the expo prebuild
process (the basis for EAS Build for managed apps). it shouldn't be a difficult update
Hi, I have been having this error.
This is my first time using the EAS build instead of expo build:android
. The first time, I developed an app and then I tried the build, using EAS , and this same error popped up - Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.
Later, I made an empty blank non-edited typescript expo app and then tried the EAS build and the same error showed up. Is there anyway I can fix this? Because the logs are too confusing. I was switching to the EAS build because I heard it reduces the app size.
@AviralCoder Not my project, but probably file a new issue and paste your logs from grade build. As I say it's not my project but I doubt there's enough information provided for anyone to be able to help diagnose yet.
ooh i see:
metro.config.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
does your app package.json include
"type": "module"
?
No
I am having the same issue and my package.json
does not include "type": "module"
my eas.json
{
"cli": {
"version": ">= 0.55.1"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal",
"ios": {
"simulator": true
},
"android": {
"buildType": "apk"
}
},
"production": {}
},
"submit": {
"production": {}
}
}
npx eas build --platform android --profile $EAS_PROFILE
EAS_PROFILE = preview
"expo": "~45.0.0",
Running './gradlew :app:assembleRelease' in /home/expo/workingdir/build/android
Downloading https://services.gradle.org/distributions/gradle-7.3.3-all.zip
10
%.
20%
30
%.
40%.
50%
60%.
70
%.
80%
90%
100%
Welcome to Gradle 7.3.3!
Here are the highlights of this release:
- Easily declare new test suites in Java projects
- Support for Java 17
- Support for Scala 3
For more details see https://docs.gradle.org/7.3.3/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Unable to list file systems to check whether they can be watched. Assuming all file systems can be watched. Reason: Could not query file systems: could not open mount file (errno 2: No such file or directory)
> Task :react-native-gradle-plugin:compileKotlin
'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (10, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (119, 30): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (135, 26): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (155, 32): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (161, 31): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (169, 36): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactPlugin.kt: (100, 48): 'reactRoot: DirectoryProperty' is deprecated. reactRoot was confusing and has been replace with rootto point to your root project and reactNativeDir to point to the folder of the react-native NPM package
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (10, 37): 'ApplicationVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (11, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (12, 37): 'LibraryVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (28, 51): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (131, 12): 'ApplicationVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (132, 12): 'LibraryVariant' is deprecated. Deprecated in Java
w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (252, 14): 'BaseVariant' is deprecated. Deprecated in Java
> Task :react-native-gradle-plugin:compileJava
[stderr]
Note: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/SchemaJsonParser.java uses or overrides a deprecated API.
[stderr]
Note: Recompile with -Xlint:deprecation for details.
> Task :react-native-gradle-plugin:pluginDescriptors
> Task :react-native-gradle-plugin:processResources
> Task :react-native-gradle-plugin:classes
> Task :react-native-gradle-plugin:inspectClassesForKotlinIC
> Task :react-native-gradle-plugin:jar
> Configure project :app
Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated.
> Configure project :expo-eas-client
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
> Configure project :expo-structured-headers
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
> Configure project :expo-updates-interface
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
> Configure project :expo
Using expo modules
- expo-application (4.1.0)
- expo-constants (13.1.1)
- expo-device (4.2.0)
- expo-eas-client (0.2.1)
- expo-error-recovery (3.1.0)
- expo-file-system (14.0.0)
- expo-font (10.1.0)
- expo-json-utils (0.3.0)
- expo-keep-awake (10.1.1)
- expo-localization (13.0.0)
- expo-manifests (0.3.0)
- expo-modules-core (0.9.2)
- expo-splash-screen (0.15.1)
- expo-structured-headers (2.2.1)
- expo-updates (0.13.3)
> Configure project :react-native-reanimated
AAR for react-native-reanimated has been found
/home/expo/workingdir/build/node_modules/react-native-reanimated/android/react-native-reanimated-68-jsc.aar
Checking the license for package Android SDK Build-Tools 30.0.2 in /home/expo/Android/Sdk/licenses
License for package Android SDK Build-Tools 30.0.2 accepted.
Preparing "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)".
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" ready.
Installing Android SDK Build-Tools 30.0.2 in /home/expo/Android/Sdk/build-tools/30.0.2
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" complete.
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" finished.
Checking the license for package Android SDK Platform 31 in /home/expo/Android/Sdk/licenses
License for package Android SDK Platform 31 accepted.
Preparing "Install Android SDK Platform 31 (revision: 1)".
"Install Android SDK Platform 31 (revision: 1)" ready.
Installing Android SDK Platform 31 in /home/expo/Android/Sdk/platforms/android-31
"Install Android SDK Platform 31 (revision: 1)" complete.
"Install Android SDK Platform 31 (revision: 1)" finished.
Checking the license for package Android SDK Build-Tools 31 in /home/expo/Android/Sdk/licenses
License for package Android SDK Build-Tools 31 accepted.
Preparing "Install Android SDK Build-Tools 31 (revision: 31.0.0)".
"Install Android SDK Build-Tools 31 (revision: 31.0.0)" ready.
Installing Android SDK Build-Tools 31 in /home/expo/Android/Sdk/build-tools/31.0.0
"Install Android SDK Build-Tools 31 (revision: 31.0.0)" complete.
"Install Android SDK Build-Tools 31 (revision: 31.0.0)" finished.
> Task :app:generatePackageList
> Task :app:preBuild
> Task :app:preReleaseBuild
> Task :expo:generateExpoModulesPackageList
> Task :expo:preBuild
> Task :expo:preReleaseBuild
> Task :expo-application:preBuild UP-TO-DATE
> Task :expo-application:preReleaseBuild UP-TO-DATE
> Task :expo-modules-core:preBuild UP-TO-DATE
> Task :expo-modules-core:preReleaseBuild UP-TO-DATE
> Task :expo-modules-core:compileReleaseAidl NO-SOURCE
> Task :expo-application:compileReleaseAidl NO-SOURCE
> Task :expo-constants:preBuild UP-TO-DATE
> Task :expo-constants:preReleaseBuild UP-TO-DATE
> Task :expo-constants:compileReleaseAidl
NO-SOURCE
> Task :expo-device:preBuild UP-TO-DATE
> Task :expo-device:preReleaseBuild UP-TO-DATE
> Task :expo-device:compileReleaseAidl NO-SOURCE
> Task :expo-eas-client:preBuild UP-TO-DATE
> Task :expo-eas-client:preReleaseBuild UP-TO-DATE
> Task :expo-eas-client:compileReleaseAidl NO-SOURCE
> Task :expo-error-recovery:preBuild UP-TO-DATE
> Task :expo-error-recovery:preReleaseBuild UP-TO-DATE
> Task :expo-error-recovery:compileReleaseAidl NO-SOURCE
> Task :expo-file-system:preBuild UP-TO-DATE
> Task :expo-file-system:preReleaseBuild UP-TO-DATE
> Task :expo-file-system:compileReleaseAidl NO-SOURCE
> Task :expo-font:preBuild UP-TO-DATE
> Task :expo-font:preReleaseBuild UP-TO-DATE
> Task :expo-font:compileReleaseAidl NO-SOURCE
> Task :expo-json-utils:preBuild UP-TO-DATE
> Task :expo-json-utils:preReleaseBuild UP-TO-DATE
> Task :expo-json-utils:compileReleaseAidl NO-SOURCE
> Task :expo-keep-awake:preBuild UP-TO-DATE
> Task :expo-keep-awake:preReleaseBuild UP-TO-DATE
> Task :expo-keep-awake:compileReleaseAidl NO-SOURCE
> Task :expo-localization:preBuild UP-TO-DATE
> Task :expo-localization:preReleaseBuild UP-TO-DATE
> Task :expo-localization:compileReleaseAidl NO-SOURCE
> Task :expo-manifests:preBuild UP-TO-DATE
> Task :expo-manifests:preReleaseBuild UP-TO-DATE
> Task :expo-manifests:compileReleaseAidl NO-SOURCE
> Task :expo-splash-screen:preBuild UP-TO-DATE
> Task :expo-splash-screen:preReleaseBuild UP-TO-DATE
> Task :expo-splash-screen:compileReleaseAidl NO-SOURCE
> Task :expo-structured-headers:preBuild UP-TO-DATE
> Task :expo-structured-headers:preReleaseBuild UP-TO-DATE
> Task :expo-structured-headers:compileReleaseAidl NO-SOURCE
> Task :expo-updates:preBuild UP-TO-DATE
> Task :expo-updates:preReleaseBuild UP-TO-DATE
> Task :expo-updates-interface:preBuild UP-TO-DATE
> Task :expo-updates-interface:preReleaseBuild UP-TO-DATE
> Task :expo-updates-interface:compileReleaseAidl NO-SOURCE
> Task :expo-updates:compileReleaseAidl NO-SOURCE
> Task :expo:compileReleaseAidl NO-SOURCE
> Task :react-native-async-storage_async-storage:preBuild UP-TO-DATE
> Task :react-native-async-storage_async-storage:preReleaseBuild UP-TO-DATE
> Task :react-native-async-storage_async-storage:compileReleaseAidl NO-SOURCE
> Task :react-native-community_datetimepicker:preBuild UP-TO-DATE
> Task :react-native-community_datetimepicker:preReleaseBuild UP-TO-DATE
> Task :react-native-community_datetimepicker:compileReleaseAidl NO-SOURCE
> Task :react-native-community_netinfo:preBuild UP-TO-DATE
> Task :react-native-community_netinfo:preReleaseBuild UP-TO-DATE
> Task :react-native-community_netinfo:compileReleaseAidl NO-SOURCE
> Task :react-native-community_slider:preBuild UP-TO-DATE
> Task :react-native-community_slider:preReleaseBuild UP-TO-DATE
> Task :react-native-community_slider:compileReleaseAidl NO-SOURCE
> Task :react-native-gesture-handler:preBuild UP-TO-DATE
> Task :react-native-gesture-handler:preReleaseBuild UP-TO-DATE
> Task :react-native-gesture-handler:compileReleaseAidl NO-SOURCE
> Task :react-native-safe-area-context:preBuild UP-TO-DATE
> Task :react-native-safe-area-context:preReleaseBuild UP-TO-DATE
> Task :react-native-safe-area-context:compileReleaseAidl NO-SOURCE
> Task :react-native-screens:preBuild UP-TO-DATE
> Task :react-native-screens:preReleaseBuild UP-TO-DATE
> Task :react-native-screens:compileReleaseAidl NO-SOURCE
> Task :react-native-svg:preBuild UP-TO-DATE
> Task :react-native-svg:preReleaseBuild UP-TO-DATE
> Task :react-native-svg:compileReleaseAidl NO-SOURCE
> Task :sentry_react-native:preBuild UP-TO-DATE
> Task :sentry_react-native:preReleaseBuild UP-TO-DATE
> Task :sentry_react-native:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :expo:packageReleaseRenderscript NO-SOURCE
> Task :expo-application:packageReleaseRenderscript NO-SOURCE
> Task :expo-constants:packageReleaseRenderscript NO-SOURCE
> Task :expo-device:packageReleaseRenderscript NO-SOURCE
> Task :expo-eas-client:packageReleaseRenderscript NO-SOURCE
> Task :expo-error-recovery:packageReleaseRenderscript NO-SOURCE
> Task :expo-file-system:packageReleaseRenderscript NO-SOURCE
> Task :expo-font:packageReleaseRenderscript NO-SOURCE
> Task :expo-json-utils:packageReleaseRenderscript NO-SOURCE
> Task :expo-keep-awake:packageReleaseRenderscript NO-SOURCE
> Task :expo-localization:packageReleaseRenderscript
NO-SOURCE
> Task :expo-manifests:packageReleaseRenderscript NO-SOURCE
> Task :expo-modules-core:packageReleaseRenderscript NO-SOURCE
> Task :expo-splash-screen:packageReleaseRenderscript NO-SOURCE
> Task :expo-structured-headers:packageReleaseRenderscript NO-SOURCE
> Task :expo-updates:packageReleaseRenderscript NO-SOURCE
> Task :react-native-async-storage_async-storage:packageReleaseRenderscript NO-SOURCE
> Task :react-native-community_datetimepicker:packageReleaseRenderscript NO-SOURCE
> Task :react-native-community_netinfo:packageReleaseRenderscript NO-SOURCE
> Task :react-native-community_slider:packageReleaseRenderscript NO-SOURCE
> Task :react-native-gesture-handler:packageReleaseRenderscript NO-SOURCE
> Task :react-native-safe-area-context:packageReleaseRenderscript NO-SOURCE
> Task :react-native-screens:packageReleaseRenderscript NO-SOURCE
> Task :react-native-svg:packageReleaseRenderscript NO-SOURCE
> Task :sentry_react-native:packageReleaseRenderscript NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :expo:writeReleaseAarMetadata
> Task :expo-application:writeReleaseAarMetadata
> Task :expo-constants:writeReleaseAarMetadata
> Task :expo-device:writeReleaseAarMetadata
> Task :expo-eas-client:writeReleaseAarMetadata
> Task :expo-error-recovery:writeReleaseAarMetadata
> Task :expo-file-system:writeReleaseAarMetadata
> Task :expo-font:writeReleaseAarMetadata
> Task :expo-json-utils:writeReleaseAarMetadata
> Task :expo-keep-awake:writeReleaseAarMetadata
> Task :expo-localization:writeReleaseAarMetadata
> Task :expo-manifests:writeReleaseAarMetadata
> Task :expo-modules-core:writeReleaseAarMetadata
> Task :expo-splash-screen:writeReleaseAarMetadata
> Task :expo-structured-headers:writeReleaseAarMetadata
> Task :expo-updates:writeReleaseAarMetadata
> Task :expo-updates-interface:writeReleaseAarMetadata
> Task :react-native-async-storage_async-storage:writeReleaseAarMetadata
> Task :react-native-community_datetimepicker:writeReleaseAarMetadata
> Task :react-native-community_netinfo:writeReleaseAarMetadata
> Task :react-native-community_slider:writeReleaseAarMetadata
> Task :react-native-gesture-handler:writeReleaseAarMetadata
> Task :react-native-safe-area-context:writeReleaseAarMetadata
> Task :react-native-screens:writeReleaseAarMetadata
> Task :react-native-svg:writeReleaseAarMetadata
> Task :sentry_react-native:writeReleaseAarMetadata
> Task :app:checkReleaseAarMetadata
> Task :app:bundleReleaseJsAndAssets
Execution optimizations have been disabled for task ':app:bundleReleaseJsAndAssets' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-application:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-application:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-application:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-constants:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-constants:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-constants:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-device:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-device:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-device:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-eas-client:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-eas-client:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-eas-client:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-error-recovery:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-error-recovery:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-error-recovery:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-file-system:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-file-system:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-file-system:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-font:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-font:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-font:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-json-utils:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-json-utils:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-json-utils:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-keep-awake:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-keep-awake:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-keep-awake:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-localization:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-localization:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-localization:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-manifests:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-manifests:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-manifests:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-modules-core:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-modules-core:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-modules-core:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-splash-screen:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-splash-screen:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-splash-screen:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-structured-headers:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-structured-headers:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-structured-headers:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-updates-interface:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-updates-interface:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-updates:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-updates:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo-updates:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':expo:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_datetimepicker:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_datetimepicker:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_datetimepicker:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_netinfo:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_netinfo:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_netinfo:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_slider:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_slider:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_slider:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-gesture-handler:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-gesture-handler:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-gesture-handler:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-safe-area-context:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-safe-area-context:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-safe-area-context:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-screens:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-screens:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-screens:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-svg:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-svg:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-svg:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':sentry_react-native:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':sentry_react-native:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':sentry_react-native:writeReleaseAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
warning: the transform cache was reset.
Welcome to Metro!
Fast - Scalable - Integrated
info Writing bundle output to:, /home/expo/workingdir/build/android/app/build/generated/assets/react/release/index.android.bundle
info Writing sourcemap output to:, /home/expo/workingdir/build/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 17 asset files
info Done copying assets
> Task :app:bundleReleaseJsAndAssets_SentryUpload_com.shop_ware.tech_app@1.0.0+1_1 FAILED
Processing react-native sourcemaps for Sentry upload.
> Analyzing 2 sources
> Rewriting sources
> Adding source map references
[stderr]
error: API request failed
[stderr]
caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)
[stderr]
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
[stderr]
Please attach the full debug log to all bug reports.
> Task :app:bundleReleaseJsAndAssets_SentryUploadCleanUp SKIPPED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
39 actionable tasks: 39 executed
Unable to list file systems to check whether they can be watched. The whole state of the virtual file system has been discarded. Reason: Could not query file systems: could not open mount file (errno 2: No such file or directory)
[stderr]
FAILURE: Build failed with an exception.
[stderr]
* What went wrong:
[stderr]
Execution failed for task ':app:bundleReleaseJsAndAssets_SentryUpload_com.shop_ware.tech_app@1.0.0+1_1'.
[stderr]
> Process 'command '/home/expo/workingdir/build/node_modules/@sentry/cli/bin/sentry-cli'' finished with non-zero exit value 1
[stderr]
* Try:
[stderr]
> Run with --stacktrace option to get the stack trace.
[stderr]
> Run with --info or --debug option to get more log output.
[stderr]
> Run with --scan to get full insights.
[stderr]
* Get more help at https://help.gradle.org
[stderr]
BUILD FAILED in 5m
Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.
@Rutvik17:
> Adding source map references
[stderr]
error: API request failed
[stderr]
caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)
[stderr]
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
your sentry credentials are not provided
@Rutvik17:
> Adding source map references [stderr] error: API request failed [stderr] caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401) [stderr] Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
your sentry credentials are not provided
@brentvatne Yes, I was able to figure it out. Thank you!
Running './gradlew :app:bundleRelease' in /home/expo/workingdir/build/android Downloading https://services.gradle.org/distributions/gradle-7.3.3-all.zip 10 %. 20 %. 30%. 40%. 50%. 60%. 70%. 80%. 90%. 100% Welcome to Gradle 7.3.3! Here are the highlights of this release:
Task :react-native-gradle-plugin:compileKotlin 'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version. w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (10, 37): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (119, 30): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (135, 26): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (155, 32): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (161, 31): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (169, 36): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactPlugin.kt: (100, 48): 'reactRoot: DirectoryProperty' is deprecated. reactRoot was confusing and has been replace with rootto point to your root project and reactNativeDir to point to the folder of the react-native NPM package w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (10, 37): 'ApplicationVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (11, 37): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (12, 37): 'LibraryVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (28, 51): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (131, 12): 'ApplicationVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (132, 12): 'LibraryVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (252, 14): 'BaseVariant' is deprecated. Deprecated in Java Task :react-native-gradle-plugin:compileJava [stderr] Note: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/SchemaJsonParser.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. Task :react-native-gradle-plugin:pluginDescriptors Task :react-native-gradle-plugin:processResources Task :react-native-gradle-plugin:classes Task :react-native-gradle-plugin:inspectClassesForKotlinIC Task :react-native-gradle-plugin:jar Configure project :app Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated. Configure project :expo-eas-client Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. Configure project :expo-structured-headers Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. Configure project :expo-updates-interface Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. Configure project :expo Using expo modules
Task :app:generatePackageList Task :app:preBuild Task :app:preReleaseBuild Task :app:bundleReleaseJsAndAssets warning: the transform cache was reset. Welcome to Metro! Fast - Scalable - Integrated info Writing bundle output to:, /home/expo/workingdir/build/android/app/build/generated/assets/react/release/index.android.bundle info Writing sourcemap output to:, /home/expo/workingdir/build/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map info Done writing bundle output info Done writing sourcemap output info Copying 28 asset files info Done copying assets Task :app:mergeReleaseShaders Task :app:compileReleaseShaders NO-SOURCE Task :app:generateReleaseAssets UP-TO-DATE Task :expo:generateExpoModulesPackageList Task :expo:preBuild Task :expo:preReleaseBuild Task :expo:mergeReleaseShaders Task :expo:compileReleaseShaders NO-SOURCE Task :expo:generateReleaseAssets UP-TO-DATE Task :expo:packageReleaseAssets Task :expo-application:preBuild UP-TO-DATE Task :expo-application:preReleaseBuild UP-TO-DATE Task :expo-application:mergeReleaseShaders Task :expo-application:compileReleaseShaders NO-SOURCE Task :expo-application:generateReleaseAssets UP-TO-DATE Task :expo-application:packageReleaseAssets Task :expo-constants:preBuild UP-TO-DATE Task :expo-constants:preReleaseBuild UP-TO-DATE Task :expo-constants:mergeReleaseShaders Task :expo-constants:compileReleaseShaders NO-SOURCE Task :expo-constants:createReleaseExpoConfig Execution optimizations have been disabled for task ':expo-constants:createReleaseExpoConfig' to ensure correctness due to the following reasons:
Task :expo-constants:copyReleaseExpoConfig Task :expo-constants:generateReleaseAssets UP-TO-DATE Task :expo-constants:packageReleaseAssets Task :expo-dev-client:preBuild UP-TO-DATE Task :expo-dev-client:preReleaseBuild UP-TO-DATE Task :expo-dev-client:mergeReleaseShaders Task :expo-dev-client:compileReleaseShaders NO-SOURCE Task :expo-dev-client:generateReleaseAssets UP-TO-DATE Task :expo-dev-client:packageReleaseAssets Task :expo-dev-launcher:preBuild UP-TO-DATE Task :expo-dev-launcher:preReleaseBuild UP-TO-DATE Task :expo-dev-launcher:mergeReleaseShaders Task :expo-dev-launcher:compileReleaseShaders NO-SOURCE Task :expo-dev-launcher:generateReleaseAssets UP-TO-DATE Task :expo-dev-launcher:packageReleaseAssets Task :expo-dev-menu:preBuild UP-TO-DATE Task :expo-dev-menu:preReleaseBuild UP-TO-DATE Task :expo-dev-menu:mergeReleaseShaders Task :expo-dev-menu:compileReleaseShaders NO-SOURCE Task :expo-dev-menu:generateReleaseAssets UP-TO-DATE Task :expo-dev-menu:packageReleaseAssets Task :expo-dev-menu-interface:preBuild UP-TO-DATE Task :expo-dev-menu-interface:preReleaseBuild UP-TO-DATE Task :expo-dev-menu-interface:mergeReleaseShaders Task :expo-dev-menu-interface:compileReleaseShaders NO-SOURCE Task :expo-dev-menu-interface:generateReleaseAssets UP-TO-DATE Task :expo-dev-menu-interface:packageReleaseAssets Task :expo-eas-client:preBuild UP-TO-DATE Task :expo-eas-client:preReleaseBuild UP-TO-DATE Task :expo-eas-client:mergeReleaseShaders Task :expo-eas-client:compileReleaseShaders NO-SOURCE Task :expo-eas-client:generateReleaseAssets UP-TO-DATE Task :expo-eas-client:packageReleaseAssets Task :expo-error-recovery:preBuild UP-TO-DATE Task :expo-error-recovery:preReleaseBuild UP-TO-DATE Task :expo-error-recovery:mergeReleaseShaders Task :expo-error-recovery:compileReleaseShaders NO-SOURCE Task :expo-error-recovery:generateReleaseAssets UP-TO-DATE Task :expo-error-recovery:packageReleaseAssets Task :expo-file-system:preBuild UP-TO-DATE Task :expo-file-system:preReleaseBuild UP-TO-DATE Task :expo-file-system:mergeReleaseShaders Task :expo-file-system:compileReleaseShaders NO-SOURCE Task :expo-file-system:generateReleaseAssets UP-TO-DATE Task :expo-file-system:packageReleaseAssets Task :expo-font:preBuild UP-TO-DATE Task :expo-font:preReleaseBuild UP-TO-DATE Task :expo-font:mergeReleaseShaders Task :expo-font:compileReleaseShaders NO-SOURCE Task :expo-font:generateReleaseAssets UP-TO-DATE Task :expo-font:packageReleaseAssets Task :expo-image-loader:preBuild UP-TO-DATE Task :expo-image-loader:preReleaseBuild UP-TO-DATE Task :expo-image-loader:mergeReleaseShaders Task :expo-image-loader:compileReleaseShaders NO-SOURCE Task :expo-image-loader:generateReleaseAssets UP-TO-DATE Task :expo-image-loader:packageReleaseAssets Task :expo-image-picker:preBuild UP-TO-DATE Task :expo-image-picker:preReleaseBuild UP-TO-DATE Task :expo-image-picker:mergeReleaseShaders Task :expo-image-picker:compileReleaseShaders NO-SOURCE Task :expo-image-picker:generateReleaseAssets UP-TO-DATE Task :expo-image-picker:packageReleaseAssets Task :expo-json-utils:preBuild UP-TO-DATE Task :expo-json-utils:preReleaseBuild UP-TO-DATE Task :expo-json-utils:mergeReleaseShaders Task :expo-json-utils:compileReleaseShaders NO-SOURCE Task :expo-json-utils:generateReleaseAssets UP-TO-DATE Task :expo-json-utils:packageReleaseAssets Task :expo-keep-awake:preBuild UP-TO-DATE Task :expo-keep-awake:preReleaseBuild UP-TO-DATE Task :expo-keep-awake:mergeReleaseShaders Task :expo-keep-awake:compileReleaseShaders NO-SOURCE Task :expo-keep-awake:generateReleaseAssets UP-TO-DATE Task :expo-keep-awake:packageReleaseAssets Task :expo-location:preBuild UP-TO-DATE Task :expo-location:preReleaseBuild UP-TO-DATE Task :expo-location:mergeReleaseShaders Task :expo-location:compileReleaseShaders NO-SOURCE Task :expo-location:generateReleaseAssets UP-TO-DATE Task :expo-location:packageReleaseAssets Task :expo-manifests:preBuild UP-TO-DATE Task :expo-manifests:preReleaseBuild UP-TO-DATE Task :expo-manifests:mergeReleaseShaders Task :expo-manifests:compileReleaseShaders NO-SOURCE Task :expo-manifests:generateReleaseAssets UP-TO-DATE Task :expo-manifests:packageReleaseAssets Task :expo-modules-core:preBuild UP-TO-DATE Task :expo-modules-core:preReleaseBuild UP-TO-DATE Task :expo-modules-core:mergeReleaseShaders Task :expo-modules-core:compileReleaseShaders NO-SOURCE Task :expo-modules-core:generateReleaseAssets UP-TO-DATE Task :expo-modules-core:packageReleaseAssets Task :expo-splash-screen:preBuild UP-TO-DATE Task :expo-splash-screen:preReleaseBuild UP-TO-DATE Task :expo-splash-screen:mergeReleaseShaders Task :expo-splash-screen:compileReleaseShaders NO-SOURCE Task :expo-splash-screen:generateReleaseAssets UP-TO-DATE Task :expo-splash-screen:packageReleaseAssets Task :expo-structured-headers:preBuild UP-TO-DATE Task :expo-structured-headers:preReleaseBuild UP-TO-DATE Task :expo-structured-headers:mergeReleaseShaders Task :expo-structured-headers:compileReleaseShaders NO-SOURCE Task :expo-structured-headers:generateReleaseAssets UP-TO-DATE Task :expo-structured-headers:packageReleaseAssets Task :expo-updates:preBuild UP-TO-DATE Task :expo-updates:preReleaseBuild UP-TO-DATE Task :expo-updates:mergeReleaseShaders Task :expo-updates:compileReleaseShaders NO-SOURCE Task :expo-updates:generateReleaseAssets UP-TO-DATE Task :expo-updates:packageReleaseAssets Task :expo-updates-interface:preBuild UP-TO-DATE Task :expo-updates-interface:preReleaseBuild UP-TO-DATE Task :expo-updates-interface:mergeReleaseShaders Task :expo-updates-interface:compileReleaseShaders NO-SOURCE Task :expo-updates-interface:generateReleaseAssets UP-TO-DATE Task :expo-updates-interface:packageReleaseAssets Task :react-native-async-storage_async-storage:preBuild UP-TO-DATE Task :react-native-async-storage_async-storage:preReleaseBuild UP-TO-DATE Task :react-native-async-storage_async-storage:mergeReleaseShaders Task :react-native-async-storage_async-storage:compileReleaseShaders NO-SOURCE Task :react-native-async-storage_async-storage:generateReleaseAssets UP-TO-DATE Task :react-native-async-storage_async-storage:packageReleaseAssets Task :react-native-community_datetimepicker:preBuild UP-TO-DATE Task :react-native-community_datetimepicker:preReleaseBuild UP-TO-DATE Task :react-native-community_datetimepicker:mergeReleaseShaders Task :react-native-community_datetimepicker:compileReleaseShaders NO-SOURCE Task :react-native-community_datetimepicker:generateReleaseAssets UP-TO-DATE Task :react-native-community_datetimepicker:packageReleaseAssets Task :react-native-maps:preBuild UP-TO-DATE Task :react-native-maps:preReleaseBuild UP-TO-DATE Task :react-native-maps:mergeReleaseShaders Task :react-native-maps:compileReleaseShaders NO-SOURCE Task :react-native-maps:generateReleaseAssets UP-TO-DATE Task :react-native-maps:packageReleaseAssets Task :react-native-safe-area-context:preBuild UP-TO-DATE Task :react-native-safe-area-context:preReleaseBuild UP-TO-DATE Task :react-native-safe-area-context:mergeReleaseShaders Task :react-native-safe-area-context:compileReleaseShaders NO-SOURCE Task :react-native-safe-area-context:generateReleaseAssets UP-TO-DATE Task :react-native-safe-area-context:packageReleaseAssets Task :react-native-screens:preBuild UP-TO-DATE Task :react-native-screens:preReleaseBuild UP-TO-DATE Task :react-native-screens:mergeReleaseShaders Task :react-native-screens:compileReleaseShaders NO-SOURCE Task :react-native-screens:generateReleaseAssets UP-TO-DATE Task :react-native-screens:packageReleaseAssets Task :react-native-vector-icons:preBuild UP-TO-DATE Task :react-native-vector-icons:preReleaseBuild UP-TO-DATE Task :react-native-vector-icons:mergeReleaseShaders Task :react-native-vector-icons:compileReleaseShaders NO-SOURCE Task :react-native-vector-icons:generateReleaseAssets UP-TO-DATE Task :react-native-vector-icons:packageReleaseAssets Task :app:mergeReleaseAssets Task :app:copyReleaseBundledJs Task :expo:packageReleaseRenderscript NO-SOURCE Task :expo-application:packageReleaseRenderscript NO-SOURCE Task :expo-constants:packageReleaseRenderscript NO-SOURCE Task :expo-dev-client:packageReleaseRenderscript NO-SOURCE Task :expo-dev-launcher:packageReleaseRenderscript NO-SOURCE Task :expo-dev-menu:packageReleaseRenderscript NO-SOURCE Task :expo-eas-client:packageReleaseRenderscript NO-SOURCE Task :expo-error-recovery:packageReleaseRenderscript NO-SOURCE Task :expo-file-system:packageReleaseRenderscript NO-SOURCE Task :expo-font:packageReleaseRenderscript NO-SOURCE Task :expo-image-loader:packageReleaseRenderscript NO-SOURCE Task :expo-image-picker:packageReleaseRenderscript NO-SOURCE Task :expo-json-utils:packageReleaseRenderscript NO-SOURCE Task :expo-keep-awake:packageReleaseRenderscript NO-SOURCE Task :expo-location:packageReleaseRenderscript NO-SOURCE Task :expo-manifests:packageReleaseRenderscript NO-SOURCE Task :expo-modules-core:packageReleaseRenderscript NO-SOURCE Task :expo-splash-screen:packageReleaseRenderscript NO-SOURCE Task :expo-structured-headers:packageReleaseRenderscript NO-SOURCE Task :expo-updates:packageReleaseRenderscript NO-SOURCE Task :react-native-async-storage_async-storage:packageReleaseRenderscript NO-SOURCE Task :react-native-community_datetimepicker:packageReleaseRenderscript NO-SOURCE Task :react-native-maps:packageReleaseRenderscript NO-SOURCE Task :react-native-safe-area-context:packageReleaseRenderscript NO-SOURCE Task :react-native-screens:packageReleaseRenderscript NO-SOURCE Task :react-native-vector-icons:packageReleaseRenderscript NO-SOURCE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseResValues Task :app:generateReleaseResources Task :expo:compileReleaseRenderscript NO-SOURCE Task :expo:generateReleaseResValues Task :expo:generateReleaseResources Task :expo:packageReleaseResources Task :expo-application:compileReleaseRenderscript NO-SOURCE Task :expo-application:generateReleaseResValues Task :expo-application:generateReleaseResources Task :expo-application:packageReleaseResources Task :expo-constants:compileReleaseRenderscript NO-SOURCE Task :expo-constants:generateReleaseResValues Task :expo-constants:generateReleaseResources Task :expo-constants:packageReleaseResources Task :expo-dev-client:compileReleaseRenderscript NO-SOURCE Task :expo-dev-client:generateReleaseResValues Task :expo-dev-client:generateReleaseResources Task :expo-dev-client:packageReleaseResources Task :expo-dev-menu-interface:packageReleaseRenderscript NO-SOURCE Task :expo-updates-interface:packageReleaseRenderscript NO-SOURCE Task :expo-dev-launcher:compileReleaseRenderscript NO-SOURCE Task :expo-dev-launcher:generateReleaseResValues Task :expo-dev-launcher:generateReleaseResources Task :expo-dev-launcher:packageReleaseResources Task :expo-dev-menu:compileReleaseRenderscript NO-SOURCE Task :expo-dev-menu:generateReleaseResValues Task :expo-dev-menu:generateReleaseResources Task :expo-dev-menu:packageReleaseResources Task :expo-dev-menu-interface:compileReleaseRenderscript NO-SOURCE Task :expo-dev-menu-interface:generateReleaseResValues Task :expo-dev-menu-interface:generateReleaseResources Task :expo-dev-menu-interface:packageReleaseResources Task :expo-eas-client:compileReleaseRenderscript NO-SOURCE Task :expo-eas-client:generateReleaseResValues Task :expo-eas-client:generateReleaseResources Task :expo-eas-client:packageReleaseResources Task :expo-error-recovery:compileReleaseRenderscript NO-SOURCE Task :expo-error-recovery:generateReleaseResValues Task :expo-error-recovery:generateReleaseResources Task :expo-error-recovery:packageReleaseResources Task :expo-file-system:compileReleaseRenderscript NO-SOURCE Task :expo-file-system:generateReleaseResValues Task :expo-file-system:generateReleaseResources Task :expo-file-system:packageReleaseResources Task :expo-font:compileReleaseRenderscript NO-SOURCE Task :expo-font:generateReleaseResValues Task :expo-font:generateReleaseResources Task :expo-font:packageReleaseResources Task :expo-image-loader:compileReleaseRenderscript NO-SOURCE Task :expo-image-loader:generateReleaseResValues Task :expo-image-loader:generateReleaseResources Task :expo-image-loader:packageReleaseResources Task :expo-image-picker:compileReleaseRenderscript NO-SOURCE Task :expo-image-picker:generateReleaseResValues Task :expo-image-picker:generateReleaseResources Task :expo-image-picker:packageReleaseResources Task :expo-json-utils:compileReleaseRenderscript NO-SOURCE Task :expo-json-utils:generateReleaseResValues Task :expo-json-utils:generateReleaseResources Task :expo-json-utils:packageReleaseResources Task :expo-keep-awake:compileReleaseRenderscript NO-SOURCE Task :expo-keep-awake:generateReleaseResValues Task :expo-keep-awake:generateReleaseResources Task :expo-keep-awake:packageReleaseResources Task :expo-location:compileReleaseRenderscript NO-SOURCE Task :expo-location:generateReleaseResValues Task :expo-location:generateReleaseResources Task :expo-location:packageReleaseResources Task :expo-manifests:compileReleaseRenderscript NO-SOURCE Task :expo-manifests:generateReleaseResValues Task :expo-manifests:generateReleaseResources Task :expo-manifests:packageReleaseResources Task :expo-modules-core:compileReleaseRenderscript NO-SOURCE Task :expo-modules-core:generateReleaseResValues Task :expo-modules-core:generateReleaseResources Task :expo-modules-core:packageReleaseResources Task :expo-splash-screen:compileReleaseRenderscript NO-SOURCE Task :expo-splash-screen:generateReleaseResValues Task :expo-splash-screen:generateReleaseResources Task :expo-splash-screen:packageReleaseResources Task :expo-structured-headers:compileReleaseRenderscript NO-SOURCE Task :expo-structured-headers:generateReleaseResValues Task :expo-structured-headers:generateReleaseResources Task :expo-structured-headers:packageReleaseResources Task :expo-updates:compileReleaseRenderscript NO-SOURCE Task :expo-updates:generateReleaseResValues Task :expo-updates:generateReleaseResources Task :expo-updates:packageReleaseResources Task :expo-updates-interface:compileReleaseRenderscript NO-SOURCE Task :expo-updates-interface:generateReleaseResValues Task :expo-updates-interface:generateReleaseResources Task :expo-updates-interface:packageReleaseResources Task :react-native-async-storage_async-storage:compileReleaseRenderscript NO-SOURCE Task :react-native-async-storage_async-storage:generateReleaseResValues Task :react-native-async-storage_async-storage:generateReleaseResources Task :react-native-async-storage_async-storage:packageReleaseResources Task :react-native-community_datetimepicker:compileReleaseRenderscript NO-SOURCE Task :react-native-community_datetimepicker:generateReleaseResValues Task :react-native-community_datetimepicker:generateReleaseResources Task :react-native-community_datetimepicker:packageReleaseResources Task :react-native-maps:compileReleaseRenderscript NO-SOURCE Task :react-native-maps:generateReleaseResValues Task :react-native-maps:generateReleaseResources Task :react-native-maps:packageReleaseResources Task :react-native-safe-area-context:compileReleaseRenderscript NO-SOURCE Task :react-native-safe-area-context:generateReleaseResValues Task :react-native-safe-area-context:generateReleaseResources Task :react-native-safe-area-context:packageReleaseResources Task :react-native-screens:compileReleaseRenderscript NO-SOURCE Task :react-native-screens:generateReleaseResValues Task :react-native-screens:generateReleaseResources Task :react-native-screens:packageReleaseResources Task :react-native-vector-icons:compileReleaseRenderscript NO-SOURCE Task :react-native-vector-icons:generateReleaseResValues Task :react-native-vector-icons:generateReleaseResources Task :react-native-vector-icons:packageReleaseResources Task :app:mergeReleaseResources FAILED [stderr] FAILURE: Build failed with an exception. [stderr]
A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable [stderr] Android resource compilation failed [stderr] ERROR:/home/expo/workingdir/build/android/app/build/generated/res/react/release/drawable-mdpi/assets_images_47.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature. [stderr]
[stderr] ERROR:/home/expo/workingdir/build/android/app/build/generated/res/react/release/drawable-mdpi/assets_images_47.png: AAPT: error: file failed to compile. [stderr]
[stderr]
Run with --stacktrace option to get the stack trace. [stderr] Run with --info or --debug option to get more log output. [stderr] Run with --scan to get full insights. [stderr]
Can you share your package.json file please ?
On Wed, 3 Aug 2022 at 15:56, Cameo Corporate Services Limited < @.***> wrote:
Running './gradlew :app:bundleRelease' in /home/expo/workingdir/build/android Downloading https://services.gradle.org/distributions/gradle-7.3.3-all.zip 10 %. 20 %. 30%. 40%. 50%. 60%. 70%. 80%. 90%. 100% Welcome to Gradle 7.3.3! Here are the highlights of this release:
- Easily declare new test suites in Java projects
- Support for Java 17
- Support for Scala 3 For more details see https://docs.gradle.org/7.3.3/release-notes.html To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon . Daemon will be stopped at the end of the build
Task :react-native-gradle-plugin:compileKotlin 'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version. w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (10, 37): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (119, 30): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (135, 26): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (155, 32): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (161, 31): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (169, 36): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactPlugin.kt: (100, 48): 'reactRoot: DirectoryProperty' is deprecated. reactRoot was confusing and has been replace with rootto point to your root project and reactNativeDir to point to the folder of the react-native NPM package w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (10, 37): 'ApplicationVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (11, 37): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (12, 37): 'LibraryVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (28, 51): 'BaseVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (131, 12): 'ApplicationVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (132, 12): 'LibraryVariant' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (252, 14): 'BaseVariant' is deprecated. Deprecated in Java Task :react-native-gradle-plugin:compileJava [stderr] Note: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/SchemaJsonParser.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. Task :react-native-gradle-plugin:pluginDescriptors Task :react-native-gradle-plugin:processResources Task :react-native-gradle-plugin:classes Task :react-native-gradle-plugin:inspectClassesForKotlinIC Task :react-native-gradle-plugin:jar Configure project :app Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated. Configure project :expo-eas-client Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide ( https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding ( https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. Configure project :expo-structured-headers Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide ( https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding ( https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. Configure project :expo-updates-interface Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide ( https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding ( https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. Configure project :expo Using expo modules
- expo-application (4.1.0)
- expo-constants (13.1.1)
- expo-dev-client (1.0.1)
- expo-dev-launcher (1.0.1)
- expo-dev-menu (1.0.1)
- expo-eas-client (0.2.1)
- expo-error-recovery (3.1.0)
- expo-file-system (14.0.0)
- expo-font (10.1.0)
- expo-image-loader (3.2.0)
- expo-image-picker (13.1.1)
- expo-json-utils (0.3.0)
- expo-keep-awake (10.1.1)
- expo-location (14.2.2)
- expo-manifests (0.3.0)
- expo-modules-core (0.9.2)
- expo-splash-screen (0.15.1)
- expo-structured-headers (2.2.1)
- expo-updates (0.13.3) Checking the license for package Android SDK Build-Tools 30.0.2 in /home/expo/Android/Sdk/licenses License for package Android SDK Build-Tools 30.0.2 accepted. Preparing "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)". "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" ready. Installing Android SDK Build-Tools 30.0.2 in /home/expo/Android/Sdk/build-tools/30.0.2 "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" complete. "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" finished. Checking the license for package Android SDK Platform 31 in /home/expo/Android/Sdk/licenses License for package Android SDK Platform 31 accepted. Preparing "Install Android SDK Platform 31 (revision: 1)". "Install Android SDK Platform 31 (revision: 1)" ready. Installing Android SDK Platform 31 in /home/expo/Android/Sdk/platforms/android-31 "Install Android SDK Platform 31 (revision: 1)" complete. "Install Android SDK Platform 31 (revision: 1)" finished. Checking the license for package Android SDK Build-Tools 31 in /home/expo/Android/Sdk/licenses License for package Android SDK Build-Tools 31 accepted. Preparing "Install Android SDK Build-Tools 31 (revision: 31.0.0)". "Install Android SDK Build-Tools 31 (revision: 31.0.0)" ready. Installing Android SDK Build-Tools 31 in /home/expo/Android/Sdk/build-tools/31.0.0 "Install Android SDK Build-Tools 31 (revision: 31.0.0)" complete. "Install Android SDK Build-Tools 31 (revision: 31.0.0)" finished.
Task :app:generatePackageList Task :app:preBuild Task :app:preReleaseBuild Task :app:bundleReleaseJsAndAssets warning: the transform cache was reset. Welcome to Metro! Fast - Scalable - Integrated info Writing bundle output to:, /home/expo/workingdir/build/android/app/build/generated/assets/react/release/index.android.bundle info Writing sourcemap output to:, /home/expo/workingdir/build/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map info Done writing bundle output info Done writing sourcemap output info Copying 28 asset files info Done copying assets Task :app:mergeReleaseShaders Task :app:compileReleaseShaders NO-SOURCE Task :app:generateReleaseAssets UP-TO-DATE Task :expo:generateExpoModulesPackageList Task :expo:preBuild Task :expo:preReleaseBuild Task :expo:mergeReleaseShaders Task :expo:compileReleaseShaders NO-SOURCE Task :expo:generateReleaseAssets UP-TO-DATE Task :expo:packageReleaseAssets Task :expo-application:preBuild UP-TO-DATE Task :expo-application:preReleaseBuild UP-TO-DATE Task :expo-application:mergeReleaseShaders Task :expo-application:compileReleaseShaders NO-SOURCE Task :expo-application:generateReleaseAssets UP-TO-DATE Task :expo-application:packageReleaseAssets Task :expo-constants:preBuild UP-TO-DATE Task :expo-constants:preReleaseBuild UP-TO-DATE Task :expo-constants:mergeReleaseShaders Task :expo-constants:compileReleaseShaders NO-SOURCE Task :expo-constants:createReleaseExpoConfig Execution optimizations have been disabled for task ':expo-constants:createReleaseExpoConfig' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/home/expo/workingdir/build/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:bundleReleaseJsAndAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:compileReleaseShaders' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/home/expo/workingdir/build/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:mergeReleaseShaders' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Task :expo-constants:copyReleaseExpoConfig Task :expo-constants:generateReleaseAssets UP-TO-DATE Task :expo-constants:packageReleaseAssets Task :expo-dev-client:preBuild UP-TO-DATE Task :expo-dev-client:preReleaseBuild UP-TO-DATE Task :expo-dev-client:mergeReleaseShaders Task :expo-dev-client:compileReleaseShaders NO-SOURCE Task :expo-dev-client:generateReleaseAssets UP-TO-DATE Task :expo-dev-client:packageReleaseAssets Task :expo-dev-launcher:preBuild UP-TO-DATE Task :expo-dev-launcher:preReleaseBuild UP-TO-DATE Task :expo-dev-launcher:mergeReleaseShaders Task :expo-dev-launcher:compileReleaseShaders NO-SOURCE Task :expo-dev-launcher:generateReleaseAssets UP-TO-DATE Task :expo-dev-launcher:packageReleaseAssets Task :expo-dev-menu:preBuild UP-TO-DATE Task :expo-dev-menu:preReleaseBuild UP-TO-DATE Task :expo-dev-menu:mergeReleaseShaders Task :expo-dev-menu:compileReleaseShaders NO-SOURCE Task :expo-dev-menu:generateReleaseAssets UP-TO-DATE Task :expo-dev-menu:packageReleaseAssets Task :expo-dev-menu-interface:preBuild UP-TO-DATE Task :expo-dev-menu-interface:preReleaseBuild UP-TO-DATE Task :expo-dev-menu-interface:mergeReleaseShaders Task :expo-dev-menu-interface:compileReleaseShaders NO-SOURCE Task :expo-dev-menu-interface:generateReleaseAssets UP-TO-DATE Task :expo-dev-menu-interface:packageReleaseAssets Task :expo-eas-client:preBuild UP-TO-DATE Task :expo-eas-client:preReleaseBuild UP-TO-DATE Task :expo-eas-client:mergeReleaseShaders Task :expo-eas-client:compileReleaseShaders NO-SOURCE Task :expo-eas-client:generateReleaseAssets UP-TO-DATE Task :expo-eas-client:packageReleaseAssets Task :expo-error-recovery:preBuild UP-TO-DATE Task :expo-error-recovery:preReleaseBuild UP-TO-DATE Task :expo-error-recovery:mergeReleaseShaders Task :expo-error-recovery:compileReleaseShaders NO-SOURCE Task :expo-error-recovery:generateReleaseAssets UP-TO-DATE Task :expo-error-recovery:packageReleaseAssets Task :expo-file-system:preBuild UP-TO-DATE Task :expo-file-system:preReleaseBuild UP-TO-DATE Task :expo-file-system:mergeReleaseShaders Task :expo-file-system:compileReleaseShaders NO-SOURCE Task :expo-file-system:generateReleaseAssets UP-TO-DATE Task :expo-file-system:packageReleaseAssets Task :expo-font:preBuild UP-TO-DATE Task :expo-font:preReleaseBuild UP-TO-DATE Task :expo-font:mergeReleaseShaders Task :expo-font:compileReleaseShaders NO-SOURCE Task :expo-font:generateReleaseAssets UP-TO-DATE Task :expo-font:packageReleaseAssets Task :expo-image-loader:preBuild UP-TO-DATE Task :expo-image-loader:preReleaseBuild UP-TO-DATE Task :expo-image-loader:mergeReleaseShaders Task :expo-image-loader:compileReleaseShaders NO-SOURCE Task :expo-image-loader:generateReleaseAssets UP-TO-DATE Task :expo-image-loader:packageReleaseAssets Task :expo-image-picker:preBuild UP-TO-DATE Task :expo-image-picker:preReleaseBuild UP-TO-DATE Task :expo-image-picker:mergeReleaseShaders Task :expo-image-picker:compileReleaseShaders NO-SOURCE Task :expo-image-picker:generateReleaseAssets UP-TO-DATE Task :expo-image-picker:packageReleaseAssets Task :expo-json-utils:preBuild UP-TO-DATE Task :expo-json-utils:preReleaseBuild UP-TO-DATE Task :expo-json-utils:mergeReleaseShaders Task :expo-json-utils:compileReleaseShaders NO-SOURCE Task :expo-json-utils:generateReleaseAssets UP-TO-DATE Task :expo-json-utils:packageReleaseAssets Task :expo-keep-awake:preBuild UP-TO-DATE Task :expo-keep-awake:preReleaseBuild UP-TO-DATE Task :expo-keep-awake:mergeReleaseShaders Task :expo-keep-awake:compileReleaseShaders NO-SOURCE Task :expo-keep-awake:generateReleaseAssets UP-TO-DATE Task :expo-keep-awake:packageReleaseAssets Task :expo-location:preBuild UP-TO-DATE Task :expo-location:preReleaseBuild UP-TO-DATE Task :expo-location:mergeReleaseShaders Task :expo-location:compileReleaseShaders NO-SOURCE Task :expo-location:generateReleaseAssets UP-TO-DATE Task :expo-location:packageReleaseAssets Task :expo-manifests:preBuild UP-TO-DATE Task :expo-manifests:preReleaseBuild UP-TO-DATE Task :expo-manifests:mergeReleaseShaders Task :expo-manifests:compileReleaseShaders NO-SOURCE Task :expo-manifests:generateReleaseAssets UP-TO-DATE Task :expo-manifests:packageReleaseAssets Task :expo-modules-core:preBuild UP-TO-DATE Task :expo-modules-core:preReleaseBuild UP-TO-DATE Task :expo-modules-core:mergeReleaseShaders Task :expo-modules-core:compileReleaseShaders NO-SOURCE Task :expo-modules-core:generateReleaseAssets UP-TO-DATE Task :expo-modules-core:packageReleaseAssets Task :expo-splash-screen:preBuild UP-TO-DATE Task :expo-splash-screen:preReleaseBuild UP-TO-DATE Task :expo-splash-screen:mergeReleaseShaders Task :expo-splash-screen:compileReleaseShaders NO-SOURCE Task :expo-splash-screen:generateReleaseAssets UP-TO-DATE Task :expo-splash-screen:packageReleaseAssets Task :expo-structured-headers:preBuild UP-TO-DATE Task :expo-structured-headers:preReleaseBuild UP-TO-DATE Task :expo-structured-headers:mergeReleaseShaders Task :expo-structured-headers:compileReleaseShaders NO-SOURCE Task :expo-structured-headers:generateReleaseAssets UP-TO-DATE Task :expo-structured-headers:packageReleaseAssets Task :expo-updates:preBuild UP-TO-DATE Task :expo-updates:preReleaseBuild UP-TO-DATE Task :expo-updates:mergeReleaseShaders Task :expo-updates:compileReleaseShaders NO-SOURCE Task :expo-updates:generateReleaseAssets UP-TO-DATE Task :expo-updates:packageReleaseAssets Task :expo-updates-interface:preBuild UP-TO-DATE Task :expo-updates-interface:preReleaseBuild UP-TO-DATE Task :expo-updates-interface:mergeReleaseShaders Task :expo-updates-interface:compileReleaseShaders NO-SOURCE Task :expo-updates-interface:generateReleaseAssets UP-TO-DATE Task :expo-updates-interface:packageReleaseAssets Task :react-native-async-storage_async-storage:preBuild UP-TO-DATE Task :react-native-async-storage_async-storage:preReleaseBuild UP-TO-DATE Task :react-native-async-storage_async-storage:mergeReleaseShaders Task :react-native-async-storage_async-storage:compileReleaseShaders NO-SOURCE Task :react-native-async-storage_async-storage:generateReleaseAssets UP-TO-DATE Task :react-native-async-storage_async-storage:packageReleaseAssets Task :react-native-community_datetimepicker:preBuild UP-TO-DATE Task :react-native-community_datetimepicker:preReleaseBuild UP-TO-DATE Task :react-native-community_datetimepicker:mergeReleaseShaders Task :react-native-community_datetimepicker:compileReleaseShaders NO-SOURCE Task :react-native-community_datetimepicker:generateReleaseAssets UP-TO-DATE Task :react-native-community_datetimepicker:packageReleaseAssets Task :react-native-maps:preBuild UP-TO-DATE Task :react-native-maps:preReleaseBuild UP-TO-DATE Task :react-native-maps:mergeReleaseShaders Task :react-native-maps:compileReleaseShaders NO-SOURCE Task :react-native-maps:generateReleaseAssets UP-TO-DATE Task :react-native-maps:packageReleaseAssets Task :react-native-safe-area-context:preBuild UP-TO-DATE Task :react-native-safe-area-context:preReleaseBuild UP-TO-DATE Task :react-native-safe-area-context:mergeReleaseShaders Task :react-native-safe-area-context:compileReleaseShaders NO-SOURCE Task :react-native-safe-area-context:generateReleaseAssets UP-TO-DATE Task :react-native-safe-area-context:packageReleaseAssets Task :react-native-screens:preBuild UP-TO-DATE Task :react-native-screens:preReleaseBuild UP-TO-DATE Task :react-native-screens:mergeReleaseShaders Task :react-native-screens:compileReleaseShaders NO-SOURCE Task :react-native-screens:generateReleaseAssets UP-TO-DATE Task :react-native-screens:packageReleaseAssets Task :react-native-vector-icons:preBuild UP-TO-DATE Task :react-native-vector-icons:preReleaseBuild UP-TO-DATE Task :react-native-vector-icons:mergeReleaseShaders Task :react-native-vector-icons:compileReleaseShaders NO-SOURCE Task :react-native-vector-icons:generateReleaseAssets UP-TO-DATE Task :react-native-vector-icons:packageReleaseAssets Task :app:mergeReleaseAssets Task :app:copyReleaseBundledJs Task :expo:packageReleaseRenderscript NO-SOURCE Task :expo-application:packageReleaseRenderscript NO-SOURCE Task :expo-constants:packageReleaseRenderscript NO-SOURCE Task :expo-dev-client:packageReleaseRenderscript NO-SOURCE Task :expo-dev-launcher:packageReleaseRenderscript NO-SOURCE Task :expo-dev-menu:packageReleaseRenderscript NO-SOURCE Task :expo-eas-client:packageReleaseRenderscript NO-SOURCE Task :expo-error-recovery:packageReleaseRenderscript NO-SOURCE Task :expo-file-system:packageReleaseRenderscript NO-SOURCE Task :expo-font:packageReleaseRenderscript NO-SOURCE Task :expo-image-loader:packageReleaseRenderscript NO-SOURCE Task :expo-image-picker:packageReleaseRenderscript NO-SOURCE Task :expo-json-utils:packageReleaseRenderscript NO-SOURCE Task :expo-keep-awake:packageReleaseRenderscript NO-SOURCE Task :expo-location:packageReleaseRenderscript NO-SOURCE Task :expo-manifests:packageReleaseRenderscript NO-SOURCE Task :expo-modules-core:packageReleaseRenderscript NO-SOURCE Task :expo-splash-screen:packageReleaseRenderscript NO-SOURCE Task :expo-structured-headers:packageReleaseRenderscript NO-SOURCE Task :expo-updates:packageReleaseRenderscript NO-SOURCE Task :react-native-async-storage_async-storage:packageReleaseRenderscript NO-SOURCE Task :react-native-community_datetimepicker:packageReleaseRenderscript NO-SOURCE Task :react-native-maps:packageReleaseRenderscript NO-SOURCE Task :react-native-safe-area-context:packageReleaseRenderscript NO-SOURCE Task :react-native-screens:packageReleaseRenderscript NO-SOURCE Task :react-native-vector-icons:packageReleaseRenderscript NO-SOURCE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseResValues Task :app:generateReleaseResources Task :expo:compileReleaseRenderscript NO-SOURCE Task :expo:generateReleaseResValues Task :expo:generateReleaseResources Task :expo:packageReleaseResources Task :expo-application:compileReleaseRenderscript NO-SOURCE Task :expo-application:generateReleaseResValues Task :expo-application:generateReleaseResources Task :expo-application:packageReleaseResources Task :expo-constants:compileReleaseRenderscript NO-SOURCE Task :expo-constants:generateReleaseResValues Task :expo-constants:generateReleaseResources Task :expo-constants:packageReleaseResources Task :expo-dev-client:compileReleaseRenderscript NO-SOURCE Task :expo-dev-client:generateReleaseResValues Task :expo-dev-client:generateReleaseResources Task :expo-dev-client:packageReleaseResources Task :expo-dev-menu-interface:packageReleaseRenderscript NO-SOURCE Task :expo-updates-interface:packageReleaseRenderscript NO-SOURCE Task :expo-dev-launcher:compileReleaseRenderscript NO-SOURCE Task :expo-dev-launcher:generateReleaseResValues Task :expo-dev-launcher:generateReleaseResources Task :expo-dev-launcher:packageReleaseResources Task :expo-dev-menu:compileReleaseRenderscript NO-SOURCE Task :expo-dev-menu:generateReleaseResValues Task :expo-dev-menu:generateReleaseResources Task :expo-dev-menu:packageReleaseResources Task :expo-dev-menu-interface:compileReleaseRenderscript NO-SOURCE Task :expo-dev-menu-interface:generateReleaseResValues Task :expo-dev-menu-interface:generateReleaseResources Task :expo-dev-menu-interface:packageReleaseResources Task :expo-eas-client:compileReleaseRenderscript NO-SOURCE Task :expo-eas-client:generateReleaseResValues Task :expo-eas-client:generateReleaseResources Task :expo-eas-client:packageReleaseResources Task :expo-error-recovery:compileReleaseRenderscript NO-SOURCE Task :expo-error-recovery:generateReleaseResValues Task :expo-error-recovery:generateReleaseResources Task :expo-error-recovery:packageReleaseResources Task :expo-file-system:compileReleaseRenderscript NO-SOURCE Task :expo-file-system:generateReleaseResValues Task :expo-file-system:generateReleaseResources Task :expo-file-system:packageReleaseResources Task :expo-font:compileReleaseRenderscript NO-SOURCE Task :expo-font:generateReleaseResValues Task :expo-font:generateReleaseResources Task :expo-font:packageReleaseResources Task :expo-image-loader:compileReleaseRenderscript NO-SOURCE Task :expo-image-loader:generateReleaseResValues Task :expo-image-loader:generateReleaseResources Task :expo-image-loader:packageReleaseResources Task :expo-image-picker:compileReleaseRenderscript NO-SOURCE Task :expo-image-picker:generateReleaseResValues Task :expo-image-picker:generateReleaseResources Task :expo-image-picker:packageReleaseResources Task :expo-json-utils:compileReleaseRenderscript NO-SOURCE Task :expo-json-utils:generateReleaseResValues Task :expo-json-utils:generateReleaseResources Task :expo-json-utils:packageReleaseResources Task :expo-keep-awake:compileReleaseRenderscript NO-SOURCE Task :expo-keep-awake:generateReleaseResValues Task :expo-keep-awake:generateReleaseResources Task :expo-keep-awake:packageReleaseResources Task :expo-location:compileReleaseRenderscript NO-SOURCE Task :expo-location:generateReleaseResValues Task :expo-location:generateReleaseResources Task :expo-location:packageReleaseResources Task :expo-manifests:compileReleaseRenderscript NO-SOURCE Task :expo-manifests:generateReleaseResValues Task :expo-manifests:generateReleaseResources Task :expo-manifests:packageReleaseResources Task :expo-modules-core:compileReleaseRenderscript NO-SOURCE Task :expo-modules-core:generateReleaseResValues Task :expo-modules-core:generateReleaseResources Task :expo-modules-core:packageReleaseResources Task :expo-splash-screen:compileReleaseRenderscript NO-SOURCE Task :expo-splash-screen:generateReleaseResValues Task :expo-splash-screen:generateReleaseResources Task :expo-splash-screen:packageReleaseResources Task :expo-structured-headers:compileReleaseRenderscript NO-SOURCE Task :expo-structured-headers:generateReleaseResValues Task :expo-structured-headers:generateReleaseResources Task :expo-structured-headers:packageReleaseResources Task :expo-updates:compileReleaseRenderscript NO-SOURCE Task :expo-updates:generateReleaseResValues Task :expo-updates:generateReleaseResources Task :expo-updates:packageReleaseResources Task :expo-updates-interface:compileReleaseRenderscript NO-SOURCE Task :expo-updates-interface:generateReleaseResValues Task :expo-updates-interface:generateReleaseResources Task :expo-updates-interface:packageReleaseResources Task :react-native-async-storage_async-storage:compileReleaseRenderscript NO-SOURCE Task :react-native-async-storage_async-storage:generateReleaseResValues Task :react-native-async-storage_async-storage:generateReleaseResources Task :react-native-async-storage_async-storage:packageReleaseResources Task :react-native-community_datetimepicker:compileReleaseRenderscript NO-SOURCE Task :react-native-community_datetimepicker:generateReleaseResValues Task :react-native-community_datetimepicker:generateReleaseResources Task :react-native-community_datetimepicker:packageReleaseResources Task :react-native-maps:compileReleaseRenderscript NO-SOURCE Task :react-native-maps:generateReleaseResValues Task :react-native-maps:generateReleaseResources Task :react-native-maps:packageReleaseResources Task :react-native-safe-area-context:compileReleaseRenderscript NO-SOURCE Task :react-native-safe-area-context:generateReleaseResValues Task :react-native-safe-area-context:generateReleaseResources Task :react-native-safe-area-context:packageReleaseResources Task :react-native-screens:compileReleaseRenderscript NO-SOURCE Task :react-native-screens:generateReleaseResValues Task :react-native-screens:generateReleaseResources Task :react-native-screens:packageReleaseResources Task :react-native-vector-icons:compileReleaseRenderscript NO-SOURCE Task :react-native-vector-icons:generateReleaseResValues Task :react-native-vector-icons:generateReleaseResources Task :react-native-vector-icons:packageReleaseResources Task :app:mergeReleaseResources FAILED [stderr] FAILURE: Build failed with an exception. [stderr]
- What went wrong: [stderr] Execution failed for task ':app:mergeReleaseResources'. [stderr]
A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable [stderr] Android resource compilation failed [stderr] ERROR:/home/expo/workingdir/build/android/app/build/generated/res/react/release/drawable-mdpi/assets_images_47.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature. [stderr]
[stderr] ERROR:/home/expo/workingdir/build/android/app/build/generated/res/react/release/drawable-mdpi/assets_images_47.png: AAPT: error: file failed to compile. [stderr]
[stderr]
- Try: [stderr]
Run with --stacktrace option to get the stack trace. [stderr] Run with --info or --debug option to get more log output. [stderr] Run with --scan to get full insights. [stderr]
- Get more help at https://help.gradle.org [stderr] BUILD FAILED in 3m 42s Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness. Please consult deprecation warnings for more details. 128 actionable tasks: 128 executed Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.
β Reply to this email directly, view it on GitHub https://github.com/expo/expo-cli/issues/3884#issuecomment-1203766058, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNTQSAMU4RP5XURS5OVPODVXJCORANCNFSM5FNBTTIA . You are receiving this because you commented.Message ID: @.***>
Hello, I have been having this error after using the EAS build instead of expo build:android for the first time. I tried the build, using EAS , and this same error popped up - Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase
logs `Running 'gradlew :app:bundleRelease' in /home/expo/workingdir/build/android Downloading https://services.gradle.org/distributions/gradle-6.9-all.zip Unzipping /home/expo/.gradle/wrapper/dists/gradle-6.9-all/dooywd8nv05k16orzxge2b1bs/gradle-6.9-all.zip to /home/expo/.gradle/wrapper/dists/gradle-6.9-all/dooywd8nv05k16orzxge2b1bs Set executable permissions for: /home/expo/.gradle/wrapper/dists/gradle-6.9-all/dooywd8nv05k16orzxge2b1bs/gradle-6.9/bin/gradle Welcome to Gradle 6.9! Here are the highlights of this release:
This is a small backport release. Java 16 can be used to compile when used with Java toolchains Dynamic versions can be used within plugin declarations Native support for Apple Silicon processors For more details see https://docs.gradle.org/6.9/release-notes.html To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.9/userguide/gradle_daemon.html#sec:disabling_the_daemon. Daemon will be stopped at the end of the build Configure project :expo-file-system WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed in version 5.0 of the Android Gradle plugin. For more information, see http://d.android.com/r/tools/update-dependency-configurations.html. Configure project :expo Using expo modules
expo-application (4.0.1) expo-clipboard (2.1.0) expo-constants (13.0.0) expo-error-recovery (3.0.4) expo-file-system (13.1.2) expo-font (10.0.4) expo-image-loader (3.1.0) expo-image-manipulator (10.2.0) expo-image-picker (12.0.1) expo-keep-awake (10.0.1) expo-linear-gradient (11.0.0) expo-location (14.0.2) expo-modules-core (0.6.4) expo-notifications (0.14.0) expo-permissions (13.1.0) expo-secure-store (11.1.0) expo-splash-screen (0.14.2) expo-system-ui (1.1.1) expo-task-manager (10.1.0) expo-web-browser (10.1.1) unimodules-app-loader (3.0.0) Configure project :lottie-react-native [stderr] Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 [stderr] Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 [stderr] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 [stderr] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 [stderr] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 [stderr] Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 [stderr] Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 [stderr] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 [stderr] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 [stderr] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Configure project :react-native-datetime-picker WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed in version 5.0 of the Android Gradle plugin. ..... Task :expo-file-system:compileReleaseKotlin w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (8, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (419, 27): Type mismatch: inferred type is String? but String was expected w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (463, 29): Type mismatch: inferred type is String? but String was expected w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (552, 43): Parameter 'options' is never used w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (640, 46): Parameter 'options' is never used w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (764, 43): Unchecked cast: Any? to Map<String, Any>? w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (769, 36): Type mismatch: inferred type is String? but String was expected w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (786, 15): Unchecked cast: Any to Map<String, Any> w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (918, 49): Unchecked cast: Any? to Map<String, Any>? w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1019, 43): Unchecked cast: Any? to Map<String, Any>? w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1031, 9): 'execute(vararg FileSystemModule.DownloadResumableTaskParams?): AsyncTask<FileSystemModule.DownloadResumableTaskParams?, Void?, Void?>!' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1092, 47): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1092, 47): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1105, 21): Variable 'count' initializer is redundant w: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1276, 35): Type mismatch: inferred type is String? but String was expected Task :expo-file-system:javaPreCompileRelease .... Task :expo-notifications:parseReleaseLocalResources [stderr] Note: /home/expo/workingdir/build/node_modules/expo-location/android/src/main/java/expo/modules/location/taskConsumers/GeofencingTaskConsumer.java uses unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details. Task :expo-notifications:generateReleaseRFile Task :expo-notifications:compileReleaseKotlin w: /home/expo/workingdir/build/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/Base64Serialization.kt: (26, 45): Returning type parameter has been inferred to Nothing implicitly because Nothing is more specific than specified expected type. Please specify type arguments explicitly in accordance with expected type to hide this warning. Nothing can produce an exception at runtime. See KT-36776 for more details. w: /home/expo/workingdir/build/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/ExpoPresentationDelegate.kt: (176, 70): 'priority: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/ExpoPresentationDelegate.kt: (177, 41): 'vibrate: LongArray!' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/ExpoPresentationDelegate.kt: (178, 30): 'sound: Uri!' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/FirebaseMessagingDelegate.kt: (112, 30): Unnecessary safe call on a non-null receiver of type (Mutable)Map<String!, String!> Task :expo-notifications:javaPreCompileReleas ... Task :expo-permissions:parseReleaseLocalResources [stderr] Note: /home/expo/workingdir/build/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/presentation/builders/ExpoNotificationBuilder.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: Some input files use unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details. Task :expo-permissions:generateReleaseRFile ... Task :expo-secure-store:javaPreCompileRelease Task :expo-secure-store:compileReleaseJavaWithJavac [stderr] Note: /home/expo/workingdir/build/node_modules/expo-secure-store/android/src/main/java/expo/modules/securestore/SecureStoreModule.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. ... Task :expo-splash-screen:compileReleaseKotlin w: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/SplashScreenReactActivityLifecycleListener.kt: (17, 50): Parameter 'activityContext' is never used w: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/SplashScreenViewController.kt: (20, 25): 'constructor Handler()' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/SplashScreenViewController.kt: (41, 5): Parameter 'failureCallback' is never used w: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/singletons/SplashScreenStatusBar.kt: (23, 27): 'replaceSystemWindowInsets(Int, Int, Int, Int): WindowInsets' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/singletons/SplashScreenStatusBar.kt: (24, 29): 'getter for systemWindowInsetLeft: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/singletons/SplashScreenStatusBar.kt: (26, 29): 'getter for systemWindowInsetRight: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/singletons/SplashScreenStatusBar.kt: (27, 29): 'getter for systemWindowInsetBottom: Int' is deprecated. Deprecated in Java Task :expo-splash-screen:javaPreCompileRelease ... Task :expo-system-ui:compileReleaseKotlin w: /home/expo/workingdir/build/node_modules/expo-system-ui/android/src/main/java/expo/modules/systemui/SystemUIModule.kt: (46, 13): Name shadowed: color w: /home/expo/workingdir/build/node_modules/expo-system-ui/android/src/main/java/expo/modules/systemui/SystemUIReactActivityLifecycleListener.kt: (10, 46): Parameter 'activityContext' is never used w: /home/expo/workingdir/build/node_modules/expo-system-ui/android/src/main/java/expo/modules/systemui/singletons/SystemUI.kt: (16, 20): Condition 'style == null' is always 'false' Task :expo-system-ui:javaPreCompileReleas .... Task :expo-web-browser:parseReleaseLocalResources [stderr] Note: Some input files use or override a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: Some input files use unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details. Task :expo-web-browser:generateReleaseRFile ... Task :lottie-react-native:bundleLibRuntimeToJarRelease [stderr] Note: /home/expo/workingdir/build/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: /home/expo/workingdir/build/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java uses unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details. Task :react-native-datetime-picker:compileReleaseAidl NO-SOURCE Task :react-native-datetime-picker:generateReleaseBuildConfig Task :react-native-datetime-picker:parseReleaseLocalResources Task :react-native-datetime-picker:generateReleaseRFile Task :react-native-datetime-picker:javaPreCompileRelease Task :react-native-datetime-picker:compileReleaseJavaWithJavac Task :react-native-datetime-picker:bundleLibRuntimeToJarRelease [stderr] Note: Some input files use or override a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. Task :react-native-gesture-handler:compileReleaseAidl NO-SOURCE Task :react-native-gesture-handler:generateReleaseBuildConfig Task :react-native-gesture-handler:parseReleaseLocalResources Task :react-native-gesture-handler:generateReleaseRFile Task :react-native-gesture-handler:compileReleaseKotlin w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/lib/src/main/java/com/swmansion/gesturehandler/FlingGestureHandler.kt: (30, 17): 'constructor Handler()' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/lib/src/main/java/com/swmansion/gesturehandler/GestureHandler.kt: (676, 11): Name shadowed: size w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/lib/src/main/java/com/swmansion/gesturehandler/LongPressGestureHandler.kt: (44, 17): 'constructor Handler()' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/lib/src/main/java/com/swmansion/gesturehandler/TapGestureHandler.kt: (73, 17): 'constructor Handler()' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/lib/src/main/java/com/swmansion/gesturehandler/TapGestureHandler.kt: (82, 17): 'constructor Handler()' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt: (439, 30): 'RNGestureHandlerEnabledRootView' is deprecated. Use component instead. Check gesture handler installation instructions in documentation for more information. w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt: (454, 33): 'resolveRootTagFromReactTag(Int): Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt: (479, 19): 'RNGestureHandlerEnabledRootView' is deprecated. Use component instead. Check gesture handler installation instructions in documentation for more information. w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt: (505, 33): 'resolveRootTagFromReactTag(Int): Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt: (520, 67): Parameter 'motionEvent' is never used w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (80, 42): Parameter 'disallowIntercept' is never used w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (112, 28): Parameter 'viewTag' is never used w: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootView.kt: (54, 23): 'RNGestureHandlerEnabledRootView' is deprecated. Use component instead. Check gesture handler installation instructions in documentation for more information. Task :react-native-gesture-handler:javaPreCompileRelease .... Task :react-native-pager-view:generateReleaseRFile Task :react-native-pager-view:compileReleaseKotlin w: /home/expo/workingdir/build/node_modules/react-native-pager-view/android/src/main/java/com/reactnativepagerview/PagerViewViewManager.kt: (215, 11): 'receiveCommand(T, Int, ReadableArray?): Unit' is deprecated. Deprecated in Java Task :react-native-pager-view:javaPreCompileRelease
...
Task :react-native-safe-area-context:bundleLibRuntimeToJarRelease [stderr] Note: /home/expo/workingdir/build/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaUtils.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. Task :react-native-screens:compileReleaseAidl NO-SOURCE Task :react-native-screens:generateReleaseBuildConfig Task :react-native-screens:parseReleaseLocalResources Task :react-native-screens:generateReleaseRFile Task :react-native-screens:compileReleaseKotlin w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/Screen.kt: (75, 26): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.kt: (65, 28): 'setter for targetElevation: Float' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.kt: (150, 28): 'setter for targetElevation: Float' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt: (163, 56): 'getter for systemWindowInsetTop: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt: (231, 29): 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (56, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (84, 57): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (86, 53): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (88, 54): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (90, 27): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (106, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (115, 43): 'replaceSystemWindowInsets(Int, Int, Int, Int): WindowInsets' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (116, 47): 'getter for systemWindowInsetLeft: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (118, 47): 'getter for systemWindowInsetRight: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (119, 47): 'getter for systemWindowInsetBottom: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (138, 69): 'FLAG_FULLSCREEN: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (139, 71): 'FLAG_FORCE_NOT_FULLSCREEN: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (141, 69): 'FLAG_FORCE_NOT_FULLSCREEN: Int' is deprecated. Deprecated in Java w: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (142, 71): 'FLAG_FULLSCREEN: Int' is deprecated. Deprecated in Java ... Task :react-native-webview:bundleLibRuntimeToJarRelease [stderr] Note: Some input files use or override a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: /home/expo/workingdir/build/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details. Task :app:checkReleaseDuplicateClasses ..... Task :app:compileReleaseJavaWithJavac FAILED w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions [stderr] /home/expo/workingdir/build/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:107: error: constructor RCTDateTimePickerPackage in class com.remobile.datetimepicker.RCTDateTimePickerPackage cannot be applied to given types; [stderr] new RCTDateTimePickerPackage(), [stderr] ^ [stderr] required: android.app.Activity [stderr] found: no arguments [stderr] reason: actual and formal argument lists differ in length [stderr] 1 error [stderr] FAILURE: Build failed with an exception. [stderr] What went wrong: [stderr] Execution failed for task ':app:compileReleaseJavaWithJavac'. [stderr] > Compilation failed; see the compiler error output for details. [stderr] Try: [stderr] 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. [stderr] * Get more help at https://help.gradle.org/ [stderr] BUILD FAILED in 14m 29s Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings 651 actionable tasks: 651 executed Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.`
Also to node, expo build:android builds fine
@brentvatne brentvatne May you please assist me with this similar error, on the comment above with link https://github.com/expo/expo-cli/issues/3884#issuecomment-1222307285
I am also experiencing similar issue. Expo build works just fine but eas builds are breaking due to some internal reason. Can you please advise?
`> Task :react-native-simple-gradient-progressbar-view:generateReleaseResValues
Task :react-native-simple-gradient-progressbar-view:generateReleaseResources Task :react-native-simple-gradient-progressbar-view:packageReleaseResources Task :react-native-svg:compileReleaseRenderscript NO-SOURCE Task :react-native-svg:generateReleaseResValues Task :react-native-svg:generateReleaseResources Task :react-native-svg:packageReleaseResources Task :react-native-track-player:compileReleaseRenderscript NO-SOURCE Task :react-native-track-player:generateReleaseResValues Task :react-native-track-player:generateReleaseResources Task :react-native-track-player:packageReleaseResources Task :react-native-version-check:compileReleaseRenderscript NO-SOURCE Task :react-native-version-check:generateReleaseResValues Task :react-native-version-check:generateReleaseResources Task :react-native-version-check:packageReleaseResources Task :react-native-webview:compileReleaseRenderscript NO-SOURCE Task :react-native-webview:generateReleaseResValues Task :react-native-webview:generateReleaseResources Task :react-native-webview:packageReleaseResources Task :unimodules-task-manager-interface:compileReleaseRenderscript NO-SOURCE Task :unimodules-task-manager-interface:generateReleaseResValues Task :unimodules-task-manager-interface:generateReleaseResources Task :unimodules-task-manager-interface:packageReleaseResources Task :app:mergeReleaseResources Task :app:mergeReleaseResources FAILED [stderr] FAILURE: Build failed with an exception. [stderr] What went wrong: [stderr] Execution failed for task ':app:mergeReleaseResources'. [stderr] > [stderr] A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade [stderr] > Android resource compilation failed [stderr] /home/expo/workingdir/build/android/app/build/intermediates/incremental/mergeReleaseResources/merged.dir/values/values.xml:7078: AAPT: error: duplicate value for resource 'attr/show_buffering' with config ''. [stderr]
[stderr] /home/expo/workingdir/build/android/app/build/intermediates/incremental/mergeReleaseResources/merged.dir/values/values.xml:7078: AAPT: error: resource previously defined here. [stderr]
[stderr] /home/expo/workingdir/build/android/app/build/intermediates/incremental/mergeReleaseResources/merged.dir/values/values.xml: AAPT: error: file failed to compile. [stderr]
[stderr] Try: [stderr] 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. [stderr] * Get more help at https://help.gradle.org [stderr] BUILD FAILED in 5m 47s Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings 167 actionable tasks: 167 executed Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.`
If you need "type": "module"
in your project, I've documented a workaround here: https://github.com/expo/eas-cli/issues/1854
Summary
I attempted to
eas build --platform android
my current project: https://expo.dev/accounts/owencm/builds/f4cff331-843b-4eba-9bb7-2fc7f878bcb2The build failed at gradelw step, the main issue seems to be
require() of /build/workingdir/build/ransack-3/metro.config.js from /build/workingdir/build/ransack-3/node_modules/import-fresh/index.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Edit: π£ looks like the issue was that I had
"type": "module"
in mypackage.json
. Removing this fixed it.Here is the full error log:
Based on my reading,
import-fresh/index.js
is importingmetro.config.js
with require where it should be using import syntax.metro.config.js
does not exist in my project directory, I believe it is auto generated at a later step.Therefore I think this issue is fully Expo internal.
Environment
Please specify your device/emulator/simulator platform, model and version
N/A
Error output
No response
Reproducible demo or steps to reproduce from a blank project
Failing build: https://expo.dev/accounts/owencm/projects/freelancerprojectcoordination/builds/f4cff331-843b-4eba-9bb7-2fc7f878bcb2