Page 3 of 3

Re: Gradle breaks Android building

Posted: Fri May 26, 2023 1:31 am
by Paul
I personally have 3 versions working and are setup this way....
SB2.50 B2 has this field as
C:\Program Files\Java\jdk-11.0.17\

and SB2.31 & SB2.40 has this field as
C:\Program Files\Java\jdk1.8.0_201\

Note:
* I launch SB2.50 B2 with /PORTABLE flag as to make sure all settings are separate from my working versions

Re: Gradle breaks Android building

Posted: Fri May 26, 2023 2:12 am
by useful
I similarly use /PORTABLE ...
!!! I got a successful result on a system with two SDKs by filling in the :Icon field. :D
For 2.40 it could have been left blank. !!!
p.s. The diagnostic messages on this subject were not at all informative to me in the small window.

Re: Gradle breaks Android building

Posted: Sat May 27, 2023 2:26 am
by tj1010
https://learn.microsoft.com/en-us/java/openjdk/download
and
*:\Program Files\Microsoft\jdk-11.0.19.7-hotspot\

works even with advanced Cordova lib fetches

Looks like I just needed to go to the MS 11 JDK download and set in preferences

Re: Gradle breaks Android building

Posted: Mon Feb 26, 2024 2:23 am
by tj1010
Anyone else getting this again all the sudden? I put SB on a new machine and did what was in my last post and I'm getting the same error again...

Re: Gradle breaks Android building

Posted: Mon Feb 26, 2024 7:37 am
by plouf
fails here for some time
claims cant find java.exe !? while path is correct

anyway i am waiting for new version to check again, since i am sure will need newer target and newer jdk :)

(android gets worse with "security" day after day following apple....)