fork-maintainers / iceraven-browser

Iceraven Browser
4.78k stars 222 forks source link

build failed #694

Closed LeOS-GSI closed 11 months ago

LeOS-GSI commented 11 months ago

I'm trying to build a version, but gradle fails with this error: `* What went wrong: A problem occurred evaluating project ':app'.

java.lang.UnsupportedClassVersionError: GleanPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 but.... my java version is OK ich@pop-os:/AndroidApks/temp/iceraven-browser$ javac -version javac 11.0.20.1 ` so why I'm getting this error ??

And is there a way to compile in Android Studio ?

LeOS-GSI commented 11 months ago

after updating javac to 17 I'm getting this error `AndroidApks/temp/iceraven-browser$ ./gradlew app:assemblefenixForkRelease -PversionName="$(git describe --tags HEAD)" [settings] Loaded local.properties [settings] Disabled auto-publication of application-services. Enable it by settings 'autoPublish.application-services.dir' in local.properties [settings] Disabled auto-publication of Glean. Enable it by settings 'autoPublish.glean.dir' in local.properties

Configure project :app Requires glean_parser 8.1

FAILURE: Build failed with an exception.

`

LeOS-GSI commented 11 months ago

OK, after commenting line 316 and 317 and adding a version number in line 913 in app/build.gradle build finished successful