Found an issue in SpiderBasic ? Please report it here !
Peter53
 
Posts: 11
Joined: Thu Mar 28, 2019 2:58 pm

Create Android app stops at 60%

by Peter53 Tue Sep 03, 2019 11:48 am

Just separated it from the similar IOS bug report since it seems to otherwise 'drown' in the IOS topic.
The problem is still present in Windows version. We have to revert to version 2.0 to compile to android aps.
Best regards
Peter
hoerbie
 
Posts: 16
Joined: Sun Mar 17, 2019 5:51 pm

Re: Create Android app stops at 60%

by hoerbie Tue Sep 03, 2019 5:39 pm

I think this could be some problems with different Cordova versions just as from different Windows versions, I actually have no problem compiling our App for Android using SB2.21 on Windows 7 Pro 32-Bit (including all updates) with Java JDK/JRE 8.0_202 32-Bit, but I never did any updates to Cordova/NPM there since my install in February 2019.

I will do some tests tomorrow with different Windows installs and report here.
Fred
Site Admin
 
Posts: 1162
Joined: Mon Feb 24, 2014 10:51 am

Re: Create Android app stops at 60%

by Fred Wed Sep 04, 2019 1:13 pm

With the Windows version, cordova is shipped in the SB package and should work out of the box. Did you tried to do a reinstall ?
hoerbie
 
Posts: 16
Joined: Sun Mar 17, 2019 5:51 pm

Re: Create Android app stops at 60%

by hoerbie Wed Sep 04, 2019 6:54 pm

I did some tests today with the 2.22b1 version:

My two development machines for Windows:

Win7 Pro SP1 64Bit
JDK 1.8.0_202
-> .apk compiled

Win7 Pro SP1 32Bit
JDK 1.8.0_202
-> .apk compiled

A nearly new laptop where I installed SB Beta and Java today and tested before and after a lot of Windows updates:

Windows 10 Home 1809 17763.652 64Bit
JDK1.8.0_221 32Bit
-> .apk compiled

Windows 10 Home 1809 17763.720 64Bit
JDK1.8.0_221 32Bit
-> .apk compiled

I can do further tests if needed in some VMs (XP Pro 32Bit, Win 8 Pro 32Bit, Win 10 Pro 64Bit).


By the way, in Preferences/Compiler there's configured the "JDK 1.8+ path", does this work only with 1.8.x or can we use newer JDK12 also, I never had time to test, what the "+" really means, and JDK12 is only 64-Bit.....
Peter53
 
Posts: 11
Joined: Thu Mar 28, 2019 2:58 pm

Re: Create Android app stops at 60%

by Peter53 Wed Sep 04, 2019 11:25 pm

@Fred
Sorry for the late replay. Working at odd hours.
Yes, I've tried reinstalling, complete deletion and reinstalling.
To get SpiderBasic 2.0 working as it should, I needed to download java 1.8.0_191
and set the path accordingly: ie. "C:\Program Files (x86)\Java\jdk1.8.0_191\"
After that, it has worked and compiled to android flawlessly.
Is there something similar which must be done for 2.22?
Running Windows 10.
Best regards
Peter

Edit:
@Hoerbie
Thanks for testing...I can't explain why anything above 2.0 won't work for me. (Unless it requires a different java to be installed)

Edit 2:
Tested SB 2.0 with jdk1.8.0_202 and it still compiles perfectly. Any SB version above 2.0 won't compile to android and craches at 60% without further information. I can't figure out the problem, since no hint is given, so I have to stick with SB 2.0 for now.
Removing the path to jdk in the compiler section, displays a warning that it needs the jdk to compile for android, which is correct...So the problem must be elsewhere...?
Fred
Site Admin
 
Posts: 1162
Joined: Mon Feb 24, 2014 10:51 am

Re: Create Android app stops at 60%

by Fred Fri Sep 13, 2019 8:27 am

could you try to compile from commandline with the new --verbose flag to see what's happening ?
Peter53
 
Posts: 11
Joined: Thu Mar 28, 2019 2:58 pm

Re: Create Android app stops at 60%

by Peter53 Fri Sep 13, 2019 9:25 am

@Fred
It's weird. I'm really sorry I can't provide more useful info... :(
Everything works fine using 2.0 and that's especially troublesome.
I've tried a full reformat, reinstall, installed the jdks and the result is the same each time...
No info..just crash with a single message "App build failed" at 60%.
Problem is related to Android build only. I wish other had the same issues and would post it, then we might narrow it down...mayby.
Anyway..I do enjoy SpiderBasic. ;)
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 3 guests