Skip to content

Instantly share code, notes, and snippets.

@falkorichter
Last active December 22, 2020 07:03
Show Gist options
  • Save falkorichter/e173c0ee6fe0573b2dfca90568a8e609 to your computer and use it in GitHub Desktop.
Save falkorichter/e173c0ee6fe0573b2dfca90568a8e609 to your computer and use it in GitHub Desktop.
git clone https://github.com/corona-warn-app/cwa-app-android.git && cd cwa-app-android
time ./gradlew clean assembleDebug && java -version
BUILD SUCCESSFUL in 1m 56s
77 actionable tasks: 74 executed, 3 up-to-date
./gradlew clean assembleDebug 2,63s user 0,49s system 2% cpu 1:56,83 total
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)
BUILD SUCCESSFUL in 1m 56s
77 actionable tasks: 75 executed, 2 up-to-date
./gradlew clean assembleDebug 2,54s user 0,47s system 2% cpu 1:57,33 total
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)
BUILD SUCCESSFUL in 1m 49s
77 actionable tasks: 75 executed, 2 up-to-date
./gradlew clean assembleDebug 2,68s user 0,46s system 2% cpu 1:50,38 total
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)
#########################################################################################
#########################################################################################
#########################################################################################
#using zulu for x86_64
BUILD SUCCESSFUL in 1m 41s
110 actionable tasks: 108 executed, 2 up-to-date
./gradlew clean assembleDebug 2,61s user 0,49s system 3% cpu 1:42,14 total
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (Zulu 8.50.0.51-CA-macosx) (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (Zulu 8.50.0.51-CA-macosx) (build 25.275-b01, mixed mode)
BUILD SUCCESSFUL in 1m 39s
110 actionable tasks: 108 executed, 2 up-to-date
./gradlew clean assembleDebug 2,54s user 0,49s system 3% cpu 1:39,82 total
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (Zulu 8.50.0.51-CA-macosx) (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (Zulu 8.50.0.51-CA-macosx) (build 25.275-b01, mixed mode)
#########################################################################################
#########################################################################################
#########################################################################################
#using zulu for arm mac
jenv global zulu64-1.8.0.275
java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (Zulu 8.50.0.1017-CA-macos-aarch64) (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (Zulu 8.50.0.1017-CA-macos-aarch64) (build 25.275-b01, mixed mode)
time ./gradlew clean assembleDebug && java -version
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Configure project :Corona-Warn-App
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.
Current VERSION_MAJOR: 1
Current VERSION_MINOR: 9
Current VERSION_PATCH: 1
Current VERSION_BUILD: 2
Used versionCode: 1090102
Used versionName: 1.9.1
deviceForTesters adjusted versionName: 1.9.1-RC2
WARNING: API 'ApkVariantOutput.getVersionNameOverride()' is obsolete and has been replaced with 'VariantOutput.versionName()'.
It will be removed in version 5.0 of the Android Gradle plugin.
Gradle Properties must be used to change Variant information.
For more information, see https://d.android.com/r/tools/use-properties.
To determine what is calling ApkVariantOutput.getVersionNameOverride(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Override APK Name: Corona-Warn-App-1.9.1-RC2-deviceForTesters-debug.apk
deviceForTesters adjusted versionName: 1.9.1-RC2
Override APK Name: Corona-Warn-App-1.9.1-RC2-deviceForTesters-release.apk
> Task :clean
> Task :Server-Protocol-Buffer:clean
> Task :Server-Protocol-Buffer:extractIncludeProto
> Task :Server-Protocol-Buffer:extractProto
> Task :Server-Protocol-Buffer:generateProto FAILED
> Task :Corona-Warn-App:clean
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':Server-Protocol-Buffer:generateProto'.
> Could not resolve all files for configuration ':Server-Protocol-Buffer:protobufToolsLocator_javalite'.
> Could not find protoc-gen-javalite-3.0.0-osx-aarch_64.exe (com.google.protobuf:protoc-gen-javalite:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/google/protobuf/protoc-gen-javalite/3.0.0/protoc-gen-javalite-3.0.0-osx-aarch_64.exe
* 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 7s
6 actionable tasks: 6 executed
./gradlew clean assembleDebug 0,67s user 0,12s system 8% cpu 8,795 total
@falkorichter
Copy link
Author

seems like the problem is something very different: grpc/grpc-java#6364

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment