Question:
Android studio reports an error: module was compiled with an incompatible version of kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
Solution 1:
Add ext.kotlin in build.gradle of the project_ Version = "1.3.72"
(lower version) changed to ext.kotlin_ Version = "1.5.21"
(not necessarily 1.5.21, but also the latest version). Just sync and run again
Solution 2:
Open build.gradle under your module (my module name here is MyLibrary) directory, delete some lines in dependencies, and only the corresponding lines in the second figure are left. Just run it again
these lines remain:
Read More:
- Android studio version 3.0 import version 2.2.2 error Error:This Gradle plugin requires Studio 3.0 minimum
- [Solved] Android Studio Compile Error: Could not determine java version from ‘11.0.8‘.
- [Solved] Unity Error: Visual Studio Editor Package version 2.0.11 is available……..
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- [Solved] Go Get Download Dependency Error: is not using a known version control system
- [Solved] Android app development version update failed, Android – error: task execution failed ‘: app: com
- [Solved] OpenCV ERROR: The minSdk version should not be declared in the android manifest file
- [Solved] The version of springcloud must support the current version of springboot, otherwise the startup project will report an error: error starting ApplicationContext
- Zeppelin reported an error. The JDK version is low
- [Solved] Android Studio Error: CreateProcess error = 206 file name or extension is too long
- [Solved] Elasticsearch error: cannot downgrade a node from version [7.xx.x] to version [7.xx.x]
- Android Studio HAXM is not installed [How to Solve]
- [Solved] Android Studio Error:This view is not constrained, it only has designtime positions
- Android Studio compile error: build tools is corrupt [Solved]
- [Solved] Vue cli version is @ Vue/cli 4.5.13, and sass is used to report an error
- RuntimeError: Exporting the operator uniform to ONNX opset version 12 is not supported.
- laravel Error mews/captcha is locked to version 3.2.4 and an update of this package was not requested.
- Elasticsearch 6.2.3 version executes aggregation error Fielddata is disabled on text fields by default
- Xcode debugging for the real iPhone Error: code signature version is no longer supported