Ayush Kumar
07/01/2024, 10:16 AMVampire
07/01/2024, 10:32 AMAyush Kumar
07/01/2024, 10:33 AMAyush Kumar
07/01/2024, 10:34 AMVampire
07/01/2024, 10:34 AMAyush Kumar
07/01/2024, 10:34 AMVampire
07/01/2024, 10:34 AMVampire
07/01/2024, 10:34 AMAyush Kumar
07/01/2024, 10:34 AMAyush Kumar
07/01/2024, 10:35 AMAyush Kumar
07/01/2024, 10:35 AMVampire
07/01/2024, 10:39 AMJAVA_HOME variable to the appropriate Java. And to make sure, reboot your machine after you did, then try again.
Or make sure the build is (temporarily) not applying the AGP, sync the project so that the option appears, change the Gradle JDK, then revert the changes and sync again.