.NET 8 MAUI - Android SDK platform for API level 34 is not installed #2255
Replies: 5 comments
-
We need android-34 pre-installed as android sdk |
Beta Was this translation helpful? Give feedback.
-
Hi, have you tried installing it from your build pipeline? The following script should install Android SDK 34 by setting the required Java version alongside: - name: Android Build-tools
script: |
JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
$ANDROID_SDK_ROOT/tools/bin/sdkmanager --install "build-tools;34.0.0" |
Beta Was this translation helpful? Give feedback.
-
I am closing the thread due to no activity. Let me know in case of any further questions. |
Beta Was this translation helpful? Give feedback.
-
We still seem to be having this issue. The above step of Android Build-tools did not remedy the situation. This is after updating from net7 to net8 |
Beta Was this translation helpful? Give feedback.
-
I added @icarusdust suggested script in yaml file, but still its failing. Since this issue is closed as unanswered, so I have created a new issue. |
Beta Was this translation helpful? Give feedback.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Other - please mention in your question
Steps to reproduce
I've followed the steps to build .NET MAUI apps as documented here: https://docs.codemagic.io/yaml-quick-start/building-a-dotnet-maui-app/ but with some changes as I'm using .NET 8 instead of .NET 6.
Expected results
This will build successfully.
Actual results
The build failed with this error "Android SDK platform for API level 34 is not installed".
Build id (optional)
6572cfb17bc4a45da3799321
Beta Was this translation helpful? Give feedback.
All reactions