Fix unsupported Java version for Android Studio
Fix unsupported Java version for Android Studio
Just follow these steps so you can use the source codes I gave for Android Studio:
1. Open the project folder using Android Studio. Wait for sometime until Gradle
updates or installs. Don’t make any manual updates.
2. Ensure that you have the correct SDK location set: mine is set at :
sdk.dir=C\:\\Users\\Richard\\AppData\\Local\\Android\\Sdk
so upon loading, Android studio will tell you na hindi available yan (kasi n ga Richard
ung user) and it will tell you to set it to your local machines sdk.dir. Just click ok with
that.
To check if where is your sdk.dir, in your Project explorer sa left dock, click Gradle
Scripts, and find ‘local.properties (SDK Location)’ . makikita mo don nasan ang
gradle script mo. Dapat instead na “Richard”, dapat ung actual windows user name
mo ang anjan
3. Ensure that we have the same installed SDK versions to support java and older
versions of Android. Inside Android Studio, from the Main Menu, click Tools, and click
SDK Manager.
Install support for SDKs and SDK Tools gaya sa akin:
After clicking apply and OK, Android will ask you for a restart. If not, then restart
your Android Studio and re-open the Safernv1.1 project
If the same problem persists, sometimes nasa saved cache ang problem, so click
File from the main menu, and click Invalidate Caches…
And then click all option boxes and then Click Invalidate and Restart