[Solved] Compiling MobileUI.sb for Android

Just starting out? Need help? Post your questions and find answers here.
Madmix
Posts: 6
Joined: Fri Feb 14, 2025 11:16 am

[Solved] Compiling MobileUI.sb for Android

Post 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!
Last edited by Madmix on Tue Oct 14, 2025 1:48 pm, edited 1 time in total.
User avatar
Peter
Posts: 1199
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Compiling MobileUI.sb for Android

Post 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?
Madmix
Posts: 6
Joined: Fri Feb 14, 2025 11:16 am

Re: Compiling MobileUI.sb for Android

Post 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 :)
Madmix
Posts: 6
Joined: Fri Feb 14, 2025 11:16 am

Re: Compiling MobileUI.sb for Android

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