Android: Error: splashscreen size has to be 2048x2048 Messa

Just starting out? Need help? Post your questions and find answers here.
PCPixMusic
Posts: 8
Joined: Tue Mar 09, 2021 9:58 pm

Android: Error: splashscreen size has to be 2048x2048 Messa

Post 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.
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post 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.

Image
PCPixMusic
Posts: 8
Joined: Tue Mar 09, 2021 9:58 pm

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post by PCPixMusic »

Hello. Thanks you.

Un grand merci. ;)
PCPixMusic
Posts: 8
Joined: Tue Mar 09, 2021 9:58 pm

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post by PCPixMusic »

Then without other error messages.

Test with CanvasGadget.sb without modification.

Image
plouf
Posts: 194
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post 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
Christos
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post 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.
PCPixMusic
Posts: 8
Joined: Tue Mar 09, 2021 9:58 pm

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post 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.
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post 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)
Image
PCPixMusic
Posts: 8
Joined: Tue Mar 09, 2021 9:58 pm

Re: Android: Error: splashscreen size has to be 2048x2048 Me

Post 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

Image
Image
Image
Image
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: Android: Error: splashscreen size has to be 2048x2048 Me

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