Skip to content

Instantly share code, notes, and snippets.

@typelogic
Created January 17, 2022 13:28
Show Gist options
  • Save typelogic/1d7e7303f9c53cd176864eb3f5cb2da0 to your computer and use it in GitHub Desktop.
Save typelogic/1d7e7303f9c53cd176864eb3f5cb2da0 to your computer and use it in GitHub Desktop.
cd frontend/android && ./gradlew :app:assemblePhRelease
Downloading https://services.gradle.org/distributions/gradle-6.9-all.zip
..............
Unzipping /home/runner/.gradle/wrapper/dists/gradle-6.9-all/dooywd8nv05k16orzxge2b1bs/gradle-6.9-all.zip to /home/runner/.gradle/wrapper/dists/gradle-6.9-all/dooywd8nv05k16orzxge2b1bs
Set executable permissions for: /home/runner/.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

Starting a Gradle Daemon (subsequent builds will be faster)

> 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
Using expo modules
— expo-application (4.0.1)
— expo-barcode-scanner (11.1.2)
— expo-camera (12.0.3)
— expo-constants (12.1.3)
— expo-error-recovery (3.0.4)
— expo-file-system (13.0.3)
— expo-font (10.0.4)
— expo-image-loader (3.0.0)
— expo-json-utils (0.2.0)
— expo-keep-awake (10.0.1)
— expo-manifests (0.2.2)
— expo-modules-core (0.4.10)
— expo-notifications (0.13.3)
— expo-splash-screen (0.13.5)
— expo-structured-headers (2.0.0)
— expo-updates (0.10.15)

> Configure project :react-native-securerandom
WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

FAILURE: Build failed with an exception.


* What went wrong:
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
Could not determine the dependencies of task ':app:lintVitalPhRelease'.
> Could not resolve all artifacts for configuration ':app:phDebugCompileClasspath'.
   > Could not resolve com.facebook.flipper:flipper:0.54.0.
     Required by:
         project :app
      > Skipped due to earlier error
   > Could not resolve com.facebook.flipper:flipper-network-plugin:0.54.0.
     Required by:
         project :app
      > Skipped due to earlier error
   > Could not resolve com.facebook.flipper:flipper-fresco-plugin:0.54.0.
     Required by:
         project :app
      > Skipped due to earlier error
   > Could not resolve com.facebook.yoga:proguard-annotations:1.14.1.
     Required by:
         project :app > com.facebook.react:react-native:0.64.3
      > Skipped due to earlier error
   > Could not resolve com.facebook.fbjni:fbjni-java-only:0.0.3.
     Required by:
         project :app > com.facebook.react:react-native:0.64.3
      > Skipped due to earlier error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3m 15s
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment