Gradle breaks Android building

Just starting out? Need help? Post your questions and find answers here.
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: Gradle breaks Android building

Post 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
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Gradle breaks Android building

Post 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.
2B or not 2B = FF
tj1010
Posts: 201
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: Gradle breaks Android building

Post 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
tj1010
Posts: 201
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: Gradle breaks Android building

Post 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...
plouf
Posts: 194
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Gradle breaks Android building

Post 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....)
Christos
Post Reply