I update my Android Studio version from 4.1 to 4.2 and the project is not compiling because the Proguard version was very old (4.7) and it was not compatible with Java 10, however I decided to migrate my project from proguard to R8, but the project is not compiling because of this error:
File not found: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/lib/rt.jar
Then I set R8 to false and use Proguard adding this line to my build.gradle in order to update my Proguard to a higher version:
classpath 'net.sf.proguard:proguard-gradle:6.1.1'
But still, I got the same error and not the first one that was telling me to update a newer version of Proguard.
So how I can fix that rt.jar? Maybe some directory change from one AS version and the other?, If I downgrade my android studio to 4.1 and revert all the changes that I did, the project works fine, but I want to upgrade Android Studio.