iampawan / Flutter_Click_Pick_Crop_Compress

How to click, pick, crop and compress an image
39 stars 20 forks source link

Incompatible with android X #1

Open sagarsolace opened 5 years ago

sagarsolace commented 5 years ago

I've updated my android studio And also Updated my current version of android to androidx but after that this error occurs

FAILURE: Build failed with an exception.

BUILD FAILED in 37s


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Finished with error: Gradle task assembleDebug failed with exit code 1

sagarsolace commented 5 years ago

flutter Doctor

C:\Users\Nitin\Desktop\flutter\bin\flutter.bat doctor --verbose [√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17763.379], locale en-IN) • Flutter version 1.5.4-hotfix.2 at C:\Users\Nitin\Desktop\flutter • Framework revision 7a4c33425d (4 months ago), 2019-04-29 11:05:24 -0700 • Engine revision 52c7a1e849 • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at C:\Users\Nitin\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: E:\Android Studio Setup\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[√] Android Studio (version 3.3) • Android Studio at E:\Android Studio Setup • Flutter plugin version 34.0.1 • Dart plugin version 182.5215 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] Connected device (1 available) • Lenovo K8 Note • HKL3HRXJ • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 1 category. Process finished with exit code 0