Run with -scan to get full insights.įinished with error: Gradle task assembleDebug failed with exit code 1Īnd when I run from the terminal : flutter doctor Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. Using Android SDK: /Users/el3ankaboot/Library/Android/sdk To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.Īlternatively, to transfer the license agreements from one workstation to another, see Platforms android-28 Android SDK Platform 28 > Failed to install the following Android SDK packages as some licences have not been accepted.īuild-tools 28.0.3 Android SDK Build-Tools 28.0.3 Warning: License for package Android SDK Platform 28 not accepted.Ĭould not determine the dependencies of task ':app:compileDebugJavaWithJavac'. Warning: License for package Android SDK Build-Tools 28.0.3 not accepted.Ĭhecking the license for package Android SDK Platform 28 in /Users/el3ankaboot/Library/Android/sdk/licenses However when I try to run it on Android emulator it fails and the following is shown : Launching lib/main.dart on AOSP on IA Emulator in debug mode.Ĭhecking the license for package Android SDK Build-Tools 28.0.3 in /Users/el3ankaboot/Library/Android/sdk/licenses When I try running it on the iOS simulator it runs perfectly with no problem. I am new to flutter, I setted up android studio and wrote a very simple application.