Page 1 of 1

[Solved] Compiling MobileUI.sb for Android

Posted: Tue Oct 14, 2025 9:28 am
by Madmix
As a new Spiderbasic registered user, I am encountering a problem when creating my first .apk for Android.

I used the example that comes with SB, MobileUI.sb, and compiled it with the following configuration:

SB 3.10 (x86)
JDK path: C:\Program Files\Java\jdk-17\

Image

However, when I try to install it, I get an installation failure, both on a normal Android mobile and on an Android emulator (MEMu).

Can you tell me what I am doing wrong?

Thank you in advance!

Re: Compiling MobileUI.sb for Android

Posted: Tue Oct 14, 2025 10:09 am
by Peter
Madmix wrote: Tue Oct 14, 2025 9:28 amHowever, when I try to install it, I get an installation failure, both on a normal Android mobile and on an Android emulator (MEMu).
Can you tell us what this error message says?

Re: Compiling MobileUI.sb for Android

Posted: Tue Oct 14, 2025 12:14 pm
by Madmix
Peter wrote: Tue Oct 14, 2025 10:09 am
Madmix wrote: Tue Oct 14, 2025 9:28 amHowever, when I try to install it, I get an installation failure, both on a normal Android mobile and on an Android emulator (MEMu).
Can you tell us what this error message says?
Thank you, here the only error I got is "Failed to install":

Image

This is the problem-report.html generated by spiderbasic compiler: https://passive-chocolate-stdi2d8shy.edgeone.app/

Thank you again :)

Re: Compiling MobileUI.sb for Android

Posted: Tue Oct 14, 2025 1:47 pm
by Madmix
Fixed!
If the application is not signed, I must enable debugger mode (verified that it works).

more info: viewtopic.php?p=10300#p10300

Thank you :D