Anyone else just update to Android Studio Canary 15 and start getting these "JDK 1.8 is not found on disk or corrupted" errors? Nothing is working.
➕ 2
robnik
04/30/2021, 2:33 AM
Restart AS and it's saying: "Compose: failed. Supplied javaHome must be a valid directory. You supplied: /Applications/Android Studio Preview.app/Contents/jre/jdk/Contents/Home". No clue what it's talking about.
robnik
04/30/2021, 3:43 AM
I case anyone else hits this. ... The problem went away when I changed my project to use a specific gradle installation (of 7.0), rather than the one 'gradle-wrapper.properties'. It then got far enough to say it needed to download a new Android Gradle Plugin.
d
Danish Ansari
04/30/2021, 5:25 AM
which version of android gradle plugin solved the problem?
r
robnik
04/30/2021, 11:52 AM
I think it's 7.0.0-alpha15. Android Studio automatically updated it, and I merely clicked yes/ok to follow its suggestion.