Skip to content

Instantly share code, notes, and snippets.

@cdesch
Created June 10, 2021 17:51
Show Gist options
  • Save cdesch/293e0d8121cb8e6eee05703abe9ea5c4 to your computer and use it in GitHub Desktop.
Save cdesch/293e0d8121cb8e6eee05703abe9ea5c4 to your computer and use it in GitHub Desktop.
gradle log
Configuration on demand is an incubating feature.
> Configure project :app
WARNING: The option setting 'android.useNewApkCreator=false' is experimental.
The current default is 'true'.
AWS Device Farm Plugin version 1.3
Installing unimodules:
[email protected] from /app/turtle/workingdir/android/sdk41/packages/@unimodules/core
[email protected] from /app/turtle/workingdir/android/sdk41/packages/@unimodules/react-native-adapter
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-ads-admob
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-ads-facebook
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-analytics-amplitude
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-analytics-segment
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-app-auth
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-application
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-av
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-background-fetch
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-barcode-scanner
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-battery
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-brightness
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-calendar
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-camera
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-cellular
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-constants
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-contacts
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-crypto
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-device
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-document-picker
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-error-recovery
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-face-detector
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-facebook
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-file-system
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-firebase-analytics
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-firebase-core
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-font
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-gl-cpp
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-gl
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-google-sign-in
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-haptics
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-image-loader
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-image-manipulator
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-image-picker
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-intent-launcher
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-keep-awake
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-linear-gradient
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-local-authentication
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-localization
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-location
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-mail-composer
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-media-library
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-network
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-notifications
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-permissions
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-print
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-screen-capture
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-screen-orientation
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-secure-store
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-sensors
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-sharing
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-sms
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-speech
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-splash-screen
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-sqlite
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-store-review
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-structured-headers
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-task-manager
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-updates
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-video-thumbnails
[email protected] from /app/turtle/workingdir/android/sdk41/packages/expo-web-browser
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-app-loader
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-barcode-scanner-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-camera-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-constants-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-face-detector-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-file-system-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-font-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-image-loader-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-permissions-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-sensors-interface
[email protected] from /app/turtle/workingdir/android/sdk41/packages/unimodules-task-manager-interface
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
> Task :app:preBuild UP-TO-DATE
> Task :app:extractProguardFiles
> Task :app:preReleaseBuild
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:checkReleaseAarMetadata
> Task :app:processReleaseGoogleServices
Parsing json file: /app/turtle/workingdir/android/sdk41/android-shell-app/app/google-services.json
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:mergeReleaseResources FAILED
> Task :app:processReleaseMainManifest
[com.facebook.soloader:soloader:0.8.2] /root/.gradle/caches/transforms-3/cfd0b9e5b303f54f13e669e38ab029ae/transformed/jetified-soloader-0.8.2/AndroidManifest.xml Warning:
Package name 'com.facebook.soloader' used in: com.facebook.soloader:soloader:0.8.2, com.facebook.soloader:annotation:0.8.2.
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:20:7-69 Warning:
Element uses-permission#android.permission.INTERNET at AndroidManifest.xml:20:7-69 duplicated with element declared at AndroidManifest.xml:15:3-65
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:21:1-74 Warning:
Element uses-permission#android.permission.SYSTEM_ALERT_WINDOW at AndroidManifest.xml:21:1-74 duplicated with element declared at AndroidManifest.xml:16:3-76
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:28:7-107 Warning:
uses-permission#android.permission.ACCESS_BACKGROUND_LOCATION was tagged at AndroidManifest.xml:28 to remove other declarations but no other declaration present
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:29:1-87 Warning:
uses-permission#android.permission.RECORD_AUDIO was tagged at AndroidManifest.xml:29 to remove other declarations but no other declaration present
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:31:1-89 Warning:
uses-permission#android.permission.WRITE_CONTACTS was tagged at AndroidManifest.xml:31 to remove other declarations but no other declaration present
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:39:1-83 Warning:
uses-permission#android.permission.READ_SMS was tagged at AndroidManifest.xml:39 to remove other declarations but no other declaration present
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:40:1-99 Warning:
uses-permission#android.permission.REQUEST_INSTALL_PACKAGES was tagged at AndroidManifest.xml:40 to remove other declarations but no other declaration present
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:43:1-104 Warning:
uses-permission#com.android.launcher.permission.INSTALL_SHORTCUT was tagged at AndroidManifest.xml:43 to remove other declarations but no other declaration present
/app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/AndroidManifest.xml:17:9-26:20 Warning:
provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:17 to replace other declarations but no other declaration present
[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.tasks.Workers$ActionFacade
[stderr] > Android resource compilation failed
[stderr] /app/turtle/workingdir/android/sdk41/android-shell-app/app/src/main/res/values/colors.xml:14:3-55: AAPT: error: invalid color.
[stderr]
[stderr] /app/turtle/workingdir/android/sdk41/android-shell-app/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 42s
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.8/userguide/command_line_interface.html#sec:command_line_warnings
10 actionable tasks: 10 executed
Error: ./gradlew exited with non-zero code: 1
at ChildProcess.completionListener (/app/turtle/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
at Object.onceWrapper (events.js:418:26)
at ChildProcess.emit (events.js:311:20)
at ChildProcess.EventEmitter.emit (domain.js:482:12)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
...
at spawnAsync (/app/turtle/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
at spawnAsyncThrowError (/app/turtle/node_modules/@expo/xdl/build/detach/ExponentTools.js:201:45)
at buildShellAppAsync (/app/turtle/node_modules/@expo/xdl/build/detach/AndroidShellApp.js:976:11)
at async Object.createAndroidShellAppAsync (/app/turtle/node_modules/@expo/xdl/build/detach/AndroidShellApp.js:396:5)
at async runShellAppBuilder (/app/turtle/build/builders/android.js:95:9)
at async Object.buildAndroid [as android] (/app/turtle/build/builders/android.js:43:28)
at async build (/app/turtle/build/jobManager.js:181:33)
at async processJob (/app/turtle/build/jobManager.js:118:32)
at async Object.doJob (/app/turtle/build/jobManager.js:49:5)
at async main (/app/turtle/build/server.js:66:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment