question
Recently running the project, suddenly the project reported an error, because it contains kotlin, the error content:
Model was compiled with an incompatible version of kotlin the binary version of metadata is 1.5.1 accident version is 1.1.16
Error screenshot:
Ineffective solutions found online:
Build --> Rebuild Project
final solution
In the configuration script (build.gradle) file in the root directory of the project, modify the version of "ext.kotlin_version" to 1.4.32, and then run it synchronously (Sync Now)!
ext.kotlin_version = '1.4.32'
Note:
Likes, comments, and reprints are welcome. Please give the link to the original text in an obvious place on the article page
. Those who know, thank you for reading my article in the vast crowd.
Where is the signature without personality!
For details, please follow me
and continue to update
© 2021 07 - Guyu.com | 【All rights reserved】 |