Im facing flutter error while execution of app

Microsoft Windows [Version 10.0.18363.1198] (c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Lenovo>cd Desktop

C:\Users\Lenovo\Desktop>cd "flutter project"

C:\Users\Lenovo\Desktop\flutter project>cd hello_world

C:\Users\Lenovo\Desktop\flutter project\hello_world>flutter run Launching lib\main.dart on Redmi Note 8 in debug mode... Checking the license for package SDK Patch Applier v4 in C:\Users\Lenovo\AppData\Local\Android\sdk\licenses Warning: License for package SDK Patch Applier v4 not accepted. Checking the license for package Android Emulator in C:\Users\Lenovo\AppData\Local\Android\sdk\licenses Warning: License for package Android Emulator not accepted. Checking the license for package Android SDK Platform-Tools in C:\Users\Lenovo\AppData\Local\Android\sdk\licenses Warning: License for package Android SDK Platform-Tools not accepted. Checking the license for package Android SDK Tools in C:\Users\Lenovo\AppData\Local\Android\sdk\licenses Warning: License for package Android SDK Tools not accepted. Checking the license for package Android SDK Build-Tools 28.0.3 in C:\Users\Lenovo\AppData\Local\Android\sdk\licenses Warning: License for package Android SDK Build-Tools 28.0.3 not accepted. Checking the license for package Android SDK Platform 28 in C:\Users\Lenovo\AppData\Local\Android\sdk\licenses Warning: License for package Android SDK Platform 28 not accepted.

FAILURE: Build failed with an exception.

  • What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Failed to install the following Android SDK packages as some licences have not been accepted. patcher;v4 SDK Patch Applier v4 build-tools;28.0.3 Android SDK Build-Tools 28.0.3 platform-tools Android SDK Platform-Tools tools Android SDK Tools platforms;android-28 Android SDK Platform 28 emulator Android Emulator To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager. Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

Using Android SDK: C:\Users\Lenovo\AppData\Local\Android\sdk

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 45s Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 54.8s Gradle task assembleDebug failed with exit code 1

C:\Users\Lenovo\Desktop\flutter project\hello_world>



Read more here: https://stackoverflow.com/questions/64957463/im-facing-flutter-error-while-execution-of-app

Content Attribution

This content was originally published by Sk Royal at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: