python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

OpenJDK 11 incompatibility beacuse of Gradle 8.x / cannot build apk on WSL v1

Open Marcinosoft opened this issue 1 year ago • 5 comments

Downgrade gradle-8.0.2 to gradle-7.6.2 and gradle:8.1.1 to gradle:7.4.2 to keep JDK 11 compatibility

Marcinosoft avatar Apr 14 '24 17:04 Marcinosoft

Is this still required?

  • https://gradle.org/releases

cclauss avatar Oct 20 '24 10:10 cclauss

Yes. To be able to build using Java 11, which is required for successfull build on WSL v1. Details: https://github.com/kivy/python-for-android/issues/3000

Marcinosoft avatar Oct 21 '24 17:10 Marcinosoft

Yes. To be able to build using Java 11, which is required for successfull build on WSL v1. Details: #3000

Even with version 17?

kuzeyron avatar Dec 07 '24 21:12 kuzeyron

Yes. To be able to build using Java 11, which is required for successfull build on WSL v1. Details: #3000

Even with version 17?

Java 11 is the last one able to build using Buildozer on WSL v1.

Marcinosoft avatar Dec 08 '24 12:12 Marcinosoft

Lot's of reasons for continuing to use WSL1...

  • https://learn.microsoft.com/en-us/windows/wsl/compare-versions#exceptions-for-using-wsl-1-rather-than-wsl-2
  • https://github.com/microsoft/WSL/discussions/4022

cclauss avatar Dec 08 '24 14:12 cclauss