flathub / com.google.AndroidStudio

https://flathub.org/apps/details/com.google.AndroidStudio
39 stars 23 forks source link

Bundle Java 9+ #101

Closed proletarius101 closed 3 years ago

proletarius101 commented 3 years ago

robolectric, a popular testing framework for Android apps, explicitly requires Java 9+ (jre) for API 29+ projects. However, the flatpak only bundled with java 8, which makes it impossible to test apps targeting api 29+ with robolectric framework.

thegarlynch commented 3 years ago

Some Approach :

  1. Settings > Build, Execution, Deployment > Build Tools > Gradle > Select Gradle JDK to download
  2. or Install flatpak org.freedesktop.Sdk.Extension.OpenJdk9