MIT App Inventor App Shows Black Screen on Startup How to Fix?

Hi everyone,

I recently built an Android app using MIT App Inventor, but when I try to run it on my device, all I see is a black screen after launching. The app doesn’t crash, but nothing is displayed.

I have checked my blocks and made sure there are no errors, but I still cannot figure out what’s causing this issue.

Here’s what I have tried so far:

Restarted my device and reinstalled the app.
Tested the app on both an emulator and a real device, but the issue persists.
Made sure that the Screen1.Initialize event is correctly set up.
Checked for large images or assets that might be slowing down the UI.

Could this be related to a missing permission, an issue with multiple screens, or a problem with how components load?

Has anyone else encountered this problem, and how did you fix it?Any help would be greatly appreciated! Thanks in advance!

what kind of app you are making?
and you forgot to mention if it is working in AI2Companion.

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia

If the initialisation is "long", that can exceed the App's allocated memory. You can reduce it by moving the most demanding code into a Clock Block and calling that Block last in the initialisation.

How have you ensured that your images are not too large?
https://www.professorcad.co.uk/appinventortips#TipsImages