-
To build an APK, the Android emulator is installed; this was counterintuitive to me since the emulator obviously isn't necessary to build an APK but the note below from def run_gradle(self, app, args):
# Gradle may install the emulator via the dependency chain build-tools > tools >
# emulator. (The `tools` package only shows up in sdkmanager if you pass
# `--include_obsolete`.) However, the old sdkmanager built into Android Gradle
# plugin 4.2 doesn't know about macOS on ARM, so it'll install an x86_64 emulator
# which won't work with ARM system images.
#
# Work around this by pre-installing the emulator with our own sdkmanager before
# running Gradle. For simplicity, we do this on all platforms, since the user will
# almost certainly want an emulator soon enough.
self.tools.android_sdk.verify_emulator() Given Briefcase has moved past Gradle 4.2 to Gradle 8.0, is it still necessary to install the emulator before running Gradle? Note:
|
Beta Was this translation helpful? Give feedback.
Answered by
mhsmith
Jul 20, 2023
Replies: 1 comment 3 replies
-
Yes, I think this line can be removed now. If you want to make a PR doing that, I can test it on my arm64 Mac. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rmartin16
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, I think this line can be removed now. If you want to make a PR doing that, I can test it on my arm64 Mac.