Page 1 of 2
Android: Error: splashscreen size has to be 2048x2048 Messa
Posted: Tue Mar 09, 2021 10:02 pm
by PCPixMusic
Hello,
By wanting to create an Android application with SpiderBasic :
Error: splashscreen size has to be 2048x2048.
Unable to make android app and i dont know where the parameter is which is asking for such huge size.
Thank you in advance for your answers.
Have a good day.
Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Wed Mar 10, 2021 3:08 am
by Paul
If you are compiling as Android App then you either need to supply a startup screen image (which must be a 2048x2048 PNG) or leave the field blank and it will use the default "splashscreen.png" image located in the "SpiderBasic\Compilers" folder.

Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 6:56 am
by PCPixMusic
Hello. Thanks you.
Un grand merci.

Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 7:09 am
by PCPixMusic
Then without other error messages.
Test with CanvasGadget.sb without modification.

Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 7:31 am
by plouf
JDK needed, i have Java SE Development Kit 8 update 162
i remember some problems in past were when you use JDK 64 bit , while JDK 32bit was succefull
also package id must have a name with 2 dots and com to start i.e. com.Pcmix.myapp
Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 2:46 pm
by Paul
plouf wrote:JDK needed, i have Java SE Development Kit 8 update 162
i remember some problems in past were when you use JDK 64 bit , while JDK 32bit was succefull
also package id must have a name with 2 dots and com to start i.e. com.Pcmix.myapp
Yes, make sure you have your Preferences set up to point to the JDK path.
I personally have been using 64bit version of jdk1.8.0_201 and it works fine.
Simply posting a screen shot of your app not compiling is not going to help.
Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 6:56 pm
by PCPixMusic
Hello. @plouf and @Paul :
My configuration :
App name : SBPaint
Package ID: com.pcpixmusic.sbpaint
File => Preferences => Compiler
JDK 1.8+path : C:\Opt\Java\jdk-17
Thanks a lot.
Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 7:36 pm
by Paul
Why not try the exact same JDK that I am using since I know it works fine.
Look for... jdk-8u201-windows-x64.exe
https://www.oracle.com/ca-en/java/techn ... loads.html
Spider Basic does compile to Android App as long as all requirements are met and it does say JDK 1.8+ (you look like you might not have the correct JDK version)

Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 11:19 pm
by PCPixMusic
Hello
Thank you, compilation OK
I have authorized the installation of other applications.
The installation starts, but ends up not installing.
Android 8.1.0
Sony Xperia L3
Thanks

Re: Android: Error: splashscreen size has to be 2048x2048 Me
Posted: Thu Mar 11, 2021 11:25 pm
by Paul
Do you have "Enable debugger" checked when you compile it?
To install on Android device you either have to have the Debugger Enabled or you have to properly Digitally Sign the APK that is created.