icerockdev / moko-mvvm

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
1.02k stars 95 forks source link

Error when first time compile #130

Closed irfanirawansukirman closed 2 years ago

irfanirawansukirman commented 3 years ago

A problem occurred configuring project ':mvvm-databinding'.

Failed to notify project evaluation listener. SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/irfanirawansukirman/AndroidStudioProjects/moko-mvvm/local.properties'. SoftwareComponentInternal with name 'release' not found.

How to solve the problem?

Alex009 commented 3 years ago

Hi! Open project from Android studio or set environment variable with path to Android sdk