I get a black screen with a HTML5 game

FBS Apps's Avatar

FBS Apps

07 May, 2018 11:23 AM

Hello,

I've got a HTML5 game.
Now I've upload it in andromo and made a APK.
After running it I get a black screen.
How can I fix this?

Frank

  1. Support Staff 1 Posted by Darryl Hnatiuk on 07 May, 2018 01:04 PM

    Darryl Hnatiuk's Avatar

    Hi,

    A blank page is usually an indicator of an error occurring on the page. HTML debugging is beyond the scope of what we can assist with in support. However if you attach the .apk I can see if there's any helpful information written to the log while running your app.

    Darryl

  2. 2 Posted by FBS Apps on 07 May, 2018 01:12 PM

    FBS Apps's Avatar

    Thanks Darryl for the reply!
    I've add the .apk file.

    Thanks!

  3. Support Staff 3 Posted by Darryl Hnatiuk on 07 May, 2018 01:25 PM

    Darryl Hnatiuk's Avatar

    Hi,

    When running your app, the following was written to the log:

    `05-07 08:18:09.573: I/chromium(14266): [INFO:CONSOLE(79)] "Failed to load file:///android_asset/Html90730/data.js: Cross origin requests are only supported for protocol schemes: http, data, chrome, https.", source: file:///android_asset/Html90730/c2runtime.js (79)

    05-07 08:18:09.574: I/chromium(14266): [INFO:CONSOLE(5)] "Error requesting data.js:", source: file:///android_asset/Html90730/c2runtime.js (5)

    05-07 08:18:09.574: I/chromium(14266): [INFO:CONSOLE(5)] "[object ProgressEvent]", source: file:///android_asset/Html90730/c2runtime.js (5)

    05-07 08:18:09.599: I/chromium(14266): [INFO:CONSOLE(107)] "Uncaught (in promise) SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('null') is not supported.", source: file:///android_asset/Html90730/index.html (107)
    `

    Darryl

  4. 4 Posted by FBS Apps on 07 May, 2018 01:39 PM

    FBS Apps's Avatar

    Right now I'm not on the right PC.
    But I think I know the problem!
    thanks (:

    I will let you know in 1-2 days about the fix if I can find it (:

    Frank

  5. Darryl Hnatiuk closed this discussion on 08 May, 2018 11:53 AM.

Discussions are closed to public comments.
If you need help with Andromo App Maker please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

14 Aug, 2018 08:33 AM
14 Aug, 2018 08:31 AM
13 Aug, 2018 10:23 PM
13 Aug, 2018 08:10 PM
13 Aug, 2018 03:01 PM