I'm trying to install the Android SDK using the Intellij Community edition (2020.3) on my mac running Apple Silicon. I have downloaded the newly released Intellij for ARM and is trying to install the SDK using the Intellij SDK setup (launched when creating a new Android project).
However, when trying to install the SDK I get the following error message (see screenshot):
An error occurred while trying to compute required packages.
In the terminal I see two exceptions:
2021-01-06 09:52:35,395 [ 562239] WARN - util.EmbeddedDistributionPaths - Failed to find a valid embedded JDK
java.lang.Error: Incomplete or corrupted installation - "/Applications/prebuilts/studio/jdk/jdk11/mac/Contents/Home" directory does not exist
followed by
2021-01-06 09:53:07,896 [ 594740] WARN - precated.InstallComponentsPath - Dependant package with key emulator not found!
com.android.tools.idea.sdk.wizard.SdkQuickfixUtils$PackageResolutionException: Dependant package with key emulator not found!
If I try to install the Android SDK manually, I simply get the second error message as well when I try to install the build-tools: Dependant package with key emulator not found!
.
I know that the emulator does not exist for Apple Silicon, but I should still be able to install the build-tools and debug using a physical device, right?
It happens in IntelliJ IDEA Ultimate too. I have installed the Android SDK with Android Studio; but, IntelliJ is not able to launch android applications in physical devices.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With