Skip to content

.NET 8 MAUI - Codemagic Error Android SDK platform for API level 34 is not installed #2712

Closed Answered by NiladriPadhy
NiladriPadhy asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@himesh-cm
Comment options

Comment options

You must be logged in to vote
3 replies
@NiladriPadhy
Comment options

@NiladriPadhy
Comment options

@NiladriPadhy
Comment options

Answer selected by NiladriPadhy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants