.NET 8 MAUI - Codemagic Error Android SDK platform for API level 34 is not installed #2712
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Other - please mention in your question .NET MAUI with .NET 8 Steps to reproduceCreate a sample MAUI Multiplatform project with .NET 8. .NET 6 is outdated now. Please add a new migrattion document and sample .NET8 MAUI project. Expected resultsBuild should complete. Actual resultsBuild Error [/Users/builder/clone/Readywire-MAUI.sln] Workload updates are available. Run Build id (optional)66d62f7e7ecaff1628f2b701 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Similar issue closed as unanswered |
Beta Was this translation helpful? Give feedback.
-
Hi @himesh-cm Seems like Android 34 is not available in Android SDK. Get package "com.readywire.attendance" latest build number across all tracks Workload updates are available. Run |
Beta Was this translation helpful? Give feedback.
Found the soluiton. Add below command before build starts. This will install Android 34 and other required tools.
$DOTNET_BIN build -t:InstallAndroidDependencies -f net8.0-android "-p:AndroidSdkDirectory=/usr/local/share/android-sdk" -p:AcceptAndroidSdkLicenses=True