Open magbicaleman opened 1 year ago
I tried using expo-build-properties
and the plugin settings
plugins: [
[
"expo-build-properties",
{
"android": {
"buildToolsVersion": "33.0.0",
"compileSdkVersion": 33,
"minSdkVersion": 21,
"targetSdkVersion": 33,
},
}
]
],
Still getting error for build tools 30.0.3
even though I specified different version of build tools.
[RUN_GRADLEW] Warning: Dependant package with key emulator not found!
[RUN_GRADLEW] 5 actionable tasks: 5 executed
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Could not determine the dependencies of task ':app:bundleReleaseResources'.
[RUN_GRADLEW] > Failed to install the following SDK components:
[RUN_GRADLEW] build-tools;30.0.3 Android SDK Build-Tools 30.0.3
[RUN_GRADLEW] Install the missing components using the SDK manager in Android Studio.
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.
[RUN_GRADLEW] > Run with --info or --debug option to get more log output.
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] * Get more help at https://help.gradle.org
[RUN_GRADLEW] BUILD FAILED in 15s
[RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
Build failed
Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
npx exited with non-zero code: 1
In order to get past this issue you'll have to get an emulator for aarch_64 from https://ci.android.com/builds/branches/aosp-emu-master-dev/grid?legacy=1 in the package.xml
you'll need to specify the revision
...etc
<revision>
<major>30</major>
<minor>0</minor>
<micro>3</micro>
</revision>
...etc
You'll then experience the issue with Hermes "No OS found"
The issue after that has to do with appt2 error, which I have not yet been able to address.
In order to get past this issue you'll have to get an emulator for aarch_64 from https://ci.android.com/builds/branches/aosp-emu-master-dev/grid?legacy=1 in the
package.xml
you'll need to specify the revision...etc <revision> <major>30</major> <minor>0</minor> <micro>3</micro> </revision> ...etc
You'll then experience the issue with Hermes "No OS found"
- More details: Is it possible to react-native integrate custom hermes build in linux arm aarch64? facebook/hermes#995
The issue after that has to do with appt2 error, which I have not yet been able to address.
Hi @magbicaleman, I got the emulator but I don't know how I can fix the "OS found". What file I've to change?
same issue with OS. on the latest reactnative
Build/Submit details page URL
local
Summary
From my understanding Build-Tools 30.0.3 is dependent on the
emulator
package which does not have a version available for linux arm, but later versions of build-tools do not have this dependency, is there a way to bump the version?Managed or bare?
Managed
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
Inside of docker image running
eas build -p android --local
for the first time in project's root folder.