https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

Daniele B

03/18/2024, 3:15 PM
I created a KMP project using the Web Wizard (Android+iOS+Desktop). When I try to run the Android app, I get this error:
Failed to install the following Android SDK packages as some licences have not been accepted.
platforms;android-34 Android SDK Platform 34
build-tools;34.0.0 Android SDK Build-Tools 34
even though, when I run:
Copy code
~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager --licenses
it tells me: "All SDK package licenses accepted." I am running IntellijIDEA CE How can I solve this problem? UPDATE: I was able to solve it by running it on Android Studio. After that, I can now run it on IntellijIDEA CE, and the error is not there anymore.
💯 1
d

Duong Vietnam

03/18/2024, 3:18 PM
thank you.
i not run on android studio
4 Views