-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create GitHub Actions Java w Gradle debug workflow on Ubuntu 20.04 for AGP 7.1.1+ resolving ReactAndroid:configureNdkBuildDebug #276
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leotm
changed the title
GitHub Actions Gradle Ad Hoc build
GitHub Java CI with Gradle Action - Android Ad Hoc build
Jan 15, 2022
leotm
changed the title
GitHub Java CI with Gradle Action - Android Ad Hoc build
GitHub Java with Gradle Action - Android Ad Hoc build
Jan 15, 2022
leotm
changed the title
GitHub Java with Gradle Action - Android Ad Hoc build
GitHub Actions - Java with Gradle - Android Ad Hoc build
Jan 15, 2022
Enable after: #377 |
This reverts commit d748ffb.
33.0.0 rc2 fine locally on MBP M1 2020 Monterey 12.3 But not on ubuntu-latest
… 31 2339)" This reverts commit 4e92ee1.
To match Ubuntu latest 20.04 - ANDROID_NDK_HOME - ANDROID_NDK_ROOT Consider mac-os latest for Android builds Consider NADROID_NDK_LATEST_HOME 23.1.7779620 override
leotm
changed the title
[Ubuntu 20.04] RN 0.68.1 - New Arch - AGP 7.1.1 ReactAndroid:configureNdkBuildDebug
[Ubuntu 20.04] RN @0.68.1/nightly - AGP 7.1.1 - ReactAndroid:configureNdkBuildDebug
Apr 25, 2022
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':react-native-screens' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10 https://github.com/leotm/react-native-template-new-architecture/runs/6181690191?check_suite_focus=true#step:6:134 Consider - Downgrade AGP - Raise/fix issue
leotm
changed the title
[Ubuntu 20.04] RN @0.68.1/nightly - AGP 7.1.1 - ReactAndroid:configureNdkBuildDebug
Create GitHub Actions Java w Gradle debug workflow on Ubuntu 20.04 for AGP 7.1.1+ resolving ReactAndroid:configureNdkBuildDebug
Apr 27, 2022
leotm
added a commit
that referenced
this pull request
May 3, 2022
Spotted in https://github.com/leotm/react-native-template-new-architecture/runs/6261011482?check_suite_focus=true#step:7:62 Missed in #276 Use Groovy variable later
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Edit: TL;DR
7.0.4
, depending on default taskspreDebugBuild
/preReleaseBuild
(alsoprebuild
) - passing7.1.1
depending on default taskspreDebugBuild
/preReleaseBuild
(alsoprebuild
) - failing7.3.0-alpha09
depending on defaultpreDebugBuild
- now passing 🎉AGP 7.1.1 with nightlySame Hermes build fail belowAGP 7.1.1 with 33507git://github.com/facebook/react-native#200488e87cf4bc355e03c78cd814b97b23452117Yarn fatal/remote error - Failed listing refshttps://github.com/facebook/react-native#200488e87cf4bc355e03c78cd814b97b23452117Removereact-native-safe-area-context
to fix Release build Dex merging - RNCSafeAreaProviderManagerDelegate defined defined multiple timesRemovereact-native-screens
to fix Release build Dex merging - RNSScreenManagerDelegate defined defined multiple timesResolve :react-native-community_datetimepicker:compileDebugAidlRaise @react-native-community/datetimepicker issue after, contribute fix PR if timeFailed to install the following Android SDK packages as some licences have not been accepted
build-tools;33.0.0-rc2 Android SDK Build-Tools 33-rc2
0.68.1, AGP 7.0.4
0.68.0-1, NDK 21/24, AGP 7.1.1 (more logs)
Nightly
Fixed in
PR to Facebook after
GA Virtual Envs - Ubuntu 20.04.4 LTS
GA gradle/gradle-build-action defaults:
./gradlew build
RN
gradle.properties
, or CLI overrideGradle
Side-by-side NDK (AGP->NDK) (recommended)
So v22/23 needs override
v24/25
Docker image history
Official Android Docker for react native react-native-community/discussions-and-proposals#36
template, rn-tester
./gradlew assembleDebug
CI (Buck)
BitRise
https://github.com/bitrise-io/bitrise.io/blob/master/system_reports/linux-docker-android-20.04.log