When i open the .apk i made with love-android-sdl2 using ant debug, I get a black screen.
The only (sort of) error I get is when I do ndk-build:
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 10 in ./AndroidManifest.xml
Any help is appreciated!
Black screen problem
Re: Black screen problem
Do you get a blackscreen when you open the apk or do you get a blackscreen when you install the apk and start the game?
If you get it when you open the apk:
If you get it when you open the apk:
- Have you allowed to install from unknown sources?Android 2.x: Go to Settings > Applications > tick “Unknown sources“
Android 4.x: Go to Settings > Security > tick “Unknown sources“ - If you use jdk 8: Install jdk 7. Jdk 8 doesn't work.
- Have you changed the package name of your game (org.love2d.android)? If not, you have to uninstall "LÖVE for Android" first.
- I don't know.
Re: Black screen problem
The warning
Here are some questions that should be helpful for troubleshooting:
can be ignored.Combokarel wrote:Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 10 in ./AndroidManifest.xml
Here are some questions that should be helpful for troubleshooting:
- Do you use the latest version of love-android-sdl2?
- Does the latest .apk that is available from https://bitbucket.org/MartinFelis/love- ... /downloads give you the no-game screen?
- Does your .apk include a game? If so, can you remove it and do you get the no-game screen?
- Is there maybe a game in the folder /sdcard/lovegame?
- Also if you want to include a game: does it work if you extract it to /sdcard/lovegame?
- Also if you want to include a game: have you performed and checked all instructions https://bitbucket.org/MartinFelis/love- ... _Packaging?
- Did you wait long enough? It may take some time depending on your device and size of the game to properly load it (i.e. 10-20 seconds).
- Have you tried running "ndk-build clean" before running "ndk-build"?
- Have you tried rebuilding from scratch, i.e. delete everything love-android-sdl2 related and start anew?
Bird thing: @fysxdotorg Blog thing: fysx.org
- Combokarel
- Prole
- Posts: 23
- Joined: Sun Apr 27, 2014 11:18 am
Re: Black screen problem
Well I tried a lot of things and now I have a new problem: after a couple of seconds of blackscreen it says: "Löve for android has stopped working"
- Combokarel
- Prole
- Posts: 23
- Joined: Sun Apr 27, 2014 11:18 am
Re: Black screen problem
Well know I can't make the apk anymore It's getting worse!
Re: Black screen problem
Can you try the things I listed in my previous post? At which point does it not work anymore?
Bird thing: @fysxdotorg Blog thing: fysx.org
- Combokarel
- Prole
- Posts: 23
- Joined: Sun Apr 27, 2014 11:18 am
Re: Black screen problem
Sorry for the late response, I have tried everything above and nothing helped, when I installed everything again, ndk-build doesn't start and ant debug doesn't make files.
Re: Black screen problem
So you're saying that step 2 ofCombokarel wrote:Sorry for the late response, I have tried everything above and nothing helped, when I installed everything again, ndk-build doesn't start and ant debug doesn't make files.
is not working?fysx wrote: Here are some questions that should be helpful for troubleshooting:
- Do you use the latest version of love-android-sdl2?
- Does the latest .apk that is available from https://bitbucket.org/MartinFelis/love- ... /downloads give you the no-game screen?
- Does your .apk include a game? If so, can you remove it and do you get the no-game screen?
- Is there maybe a game in the folder /sdcard/lovegame?
- Also if you want to include a game: does it work if you extract it to /sdcard/lovegame?
- Also if you want to include a game: have you performed and checked all instructions https://bitbucket.org/MartinFelis/love- ... _Packaging?
- Did you wait long enough? It may take some time depending on your device and size of the game to properly load it (i.e. 10-20 seconds).
- Have you tried running "ndk-build clean" before running "ndk-build"?
- Have you tried rebuilding from scratch, i.e. delete everything love-android-sdl2 related and start anew?
Note: it is really tricky to give advice if it is unclear at what point things stop working.
Bird thing: @fysxdotorg Blog thing: fysx.org
- Combokarel
- Prole
- Posts: 23
- Joined: Sun Apr 27, 2014 11:18 am
Re: Black screen problem
No, step 2 is working.
Who is online
Users browsing this forum: No registered users and 2 guests