I installed Microsoft's jdk11 by selecting options without changing the environment (path, jar association, etc.).
I put the path in Ide sb. The build goes on but still ends with an error. I don't have the function to copy the protocol from the monitoring window and the window itself is very small.
I checked 2.40 for control. The build is fine.
The environment for jdk8 is saved in the system.
Gradle breaks Android building
Re: Gradle breaks Android building
2B or not 2B = FF
Re: Gradle breaks Android building
Did you reboot in between ? Gradle stays in memory IIRC, so that might be it
Re: Gradle breaks Android building
Yes, rebooted.
p.s. I will set up a test computer with a clean jdk11 installation later. For now, it is important for me to keep 2.40 functional.
p.p.s. It is desirable to get the function of copying the build protocol. Rewriting a large number of messages from a small window is not convenient.
p.s. I will set up a test computer with a clean jdk11 installation later. For now, it is important for me to keep 2.40 functional.
p.p.s. It is desirable to get the function of copying the build protocol. Rewriting a large number of messages from a small window is not convenient.
2B or not 2B = FF
Re: Gradle breaks Android building
Also @Fred what do you use as the source of the JDK11 installation? My point is that at this point, it is desirable to test in the same environment.
2B or not 2B = FF
Re: Gradle breaks Android building
Attempting to use the CLI for more informative diagnostics is hampered by the mandatory requirement of /RESOURCEDIRECTORY.
Compiling 'CG.sb'
Loading libraries...
Starting compilation...
181 lines processed.
No resource directory specified.
It is not clear what to specify. In the GUI, this parameter can be ignored.
Compiling 'CG.sb'
Loading libraries...
Starting compilation...
181 lines processed.
No resource directory specified.
It is not clear what to specify. In the GUI, this parameter can be ignored.
2B or not 2B = FF
Re: Gradle breaks Android building
Just put any empty dir
Re: Gradle breaks Android building
d:\Temp\sbt>c:\Sys\SB240\Compilers\sbcompiler CG.sb /DEBUGGER /PACKAGEID "su.mvit.test" /JDK "c:\Program Files\Java\jdk1.8.0_281\" /RESOURCEDIRECTORY "d:\Temp\temp\" /OUTPUT "CG.apk"
******************************************
SpiderBasic 2.40 (Windows - x86)
******************************************
Compiling 'CG.sb'
Loading libraries...
Starting compilation...
181 lines processed.
No resource directory specified.
===========
d:\Temp\sbt>c:\Sys\SB240\Compilers\sbcompiler CG.sb /DEBUGGER /PACKAGEID "su.mvit.test" /JDK "c:\Program Files\Java\jdk1.8.0_281\" /OUTPUT "CG.apk"
******************************************
SpiderBasic 2.40 (Windows - x86)
******************************************
Compiling 'CG.sb'
Loading libraries...
Starting compilation...
181 lines processed.
No resource directory specified.
====================
I intentionally try to test the CLI on something that is known to work (2.40)
p.s. /RESOURCEDIRECTORY (-rd, --resourcedirectory) "path": the directory where all the app resources are located.
without a working example is not informative
p.p.s. The [save command line] button corresponding to the filled in fields would be helpful in the gui create app.
******************************************
SpiderBasic 2.40 (Windows - x86)
******************************************
Compiling 'CG.sb'
Loading libraries...
Starting compilation...
181 lines processed.
No resource directory specified.
===========
d:\Temp\sbt>c:\Sys\SB240\Compilers\sbcompiler CG.sb /DEBUGGER /PACKAGEID "su.mvit.test" /JDK "c:\Program Files\Java\jdk1.8.0_281\" /OUTPUT "CG.apk"
******************************************
SpiderBasic 2.40 (Windows - x86)
******************************************
Compiling 'CG.sb'
Loading libraries...
Starting compilation...
181 lines processed.
No resource directory specified.
====================
I intentionally try to test the CLI on something that is known to work (2.40)
p.s. /RESOURCEDIRECTORY (-rd, --resourcedirectory) "path": the directory where all the app resources are located.
without a working example is not informative
p.p.s. The [save command line] button corresponding to the filled in fields would be helpful in the gui create app.
2B or not 2B = FF
Re: Gradle breaks Android building
!!!
On a clean computer with MsOpenJdk11 installed and the Java environment fully configured, everything builds successfully.
And Apk successfully tested on Android 5.1 (MEIZU M3s)
!!!
p.s. To work together, 8 and 11 need to understand how to switch environment settings.
On a clean computer with MsOpenJdk11 installed and the Java environment fully configured, everything builds successfully.
And Apk successfully tested on Android 5.1 (MEIZU M3s)
!!!
p.s. To work together, 8 and 11 need to understand how to switch environment settings.
2B or not 2B = FF
Re: Gradle breaks Android building
Under Preferences, select Compiler and enter the Path of the JDK.
The description is a little misleading since JDK 11 is required for 2.50 and the text reads JDK 9+ not supported.
IN the IDE for 2.40 you would enter your other JDK version, etc.
The description is a little misleading since JDK 11 is required for 2.50 and the text reads JDK 9+ not supported.
IN the IDE for 2.40 you would enter your other JDK version, etc.
Re: Gradle breaks Android building
Are you writing about an obvious theoretical possibility?
Or do you personally have two versions of JDK and SB working correctly on the same system?
2B or not 2B = FF