WARNING-I am an absolute beginner in the Android world.
I want to work through the Android Programming (4th Ed.) book. I noticed at the very beginning that it uses Android Studio 3.3.1, so I downloaded and installed that version. It also starts off by creating a simple Kotlin project. I’ve followed the instructions down to the last letter (at least I think I have) and I can’t seem to get past the following error when the project builds:
“Some Kotlin libraries attached to this project were compiled with a newer Kotlin compiler and can’t be read. Please update Kotlin plugin”
This message is followed immediately by “No updates found”
Down in the build window, I see the following:
“C:/Users/…/…/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.6.21/… very long message…”
at the end it says:
“Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.13.”
One last fact:
I had recently installed a much more current version of Android Studio on this same system but then removed it and installed this older version (3.3.1) to follow along with the book.
Please remember that I am an absolute newbie in this world so please help me understand what I need to do to get a simple Kotlin project to work.