Flutter reports an error fluwx:compileDebugKotlin
Cause Analysis
The reason for this exception found on the Internet is basically that the kotlin version does not conform to the cause, Maybe the kotlin version will also cause this error.
But my error is not due to the kotlin version problem, but due to the conflict of the component cache version pulled down by the pub command, as shown below:
fluwx-3.9.1 and 3.9.2, delete and yml file Inconsistent versions resolve this exception.
Summary
Component name: There may be two reasons for the exception of compileDebugKotlin:
1. The kotlin version often said on the Internet does not conform to
2. There are different versions of the components in the pub cache and they conflict
Read More:
- [How to Solve] Task :app:compileDebugKotlin FAILED
- flutter, Unable to buy item, Error response code: 7 & flutter_inapp_purchase
- [Solved] Flutter package flutter build apk Error: permission-handle
- Flutter flutter doctor –android-licenses [How to Solve]
- Unable to find bundled Java version =>Mac Flutter [Android Studio Arctic Fox 2020.3.1]
- Flutter android studio runs gradle build error: Could not resolve all artifacts for configuration’:classpath’.
- [Solved] Flutter – AAPT: error: resource android:attr/dialogCornerRadius not found.
- [Solved] Flutter compile error: Failed to find Build Tools revision 29.0.2
- [Solved] Flutter Error: No MediaQuery widget ancestor found.
- [Easy Solution] flutter Run Error: library “libflutter.so“ not found
- Flutter Package error: keyboard_visibility:verifyReleaseResources
- flutter doctor –android-licenses error [How to Solve]
- Flutter Error: dump failed because resource AndroidManifest.xml not found [How to Solve]
- flutter | W/zipro(12512): Error opening archive D:\…Invalid file ERROR: dump failed because…
- How to Solve Project Upgrade to flutter2.5.0 Error
- [Solved] Flutter SDK constraint error: pub get failed (65; See…
- [Solved] flutter Project Error: ScrollController attached to multiple scroll views, Failed assertion: line 109 pos 12
- Flutter Xcode Module not found or LibreSSL SSL_connect: SSL_ERROR_SYSCALL
- Flutter upgrade upgrade SDK SSL_ERROR_Syscall error [How to Solve]
- [Solved] Flutter Amap plug-in amap_location error: AmapLocationPlugin.java:287: error