Android v6 Deployment Results in Black Screen
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Android v6 Deployment Results in Black Screen
I created my app about a year ago and was making a few updates when I realized that when the app is deployed on my S7 Edge running Android v6 I get a black screen. I am not sure why this is as my app has been working otherwise and I have all the appropriate SDKs updated. Any ideas why I am getting this black screen? I was using Livecode 9 so I tried the latest stable version (8.1.6), but still no luck. Thank you in advance!
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android v6 Deployment Results in Black Screen
What's the minimal Android version you've set in standalone settings? There's a known black screen issue if it is Android 2.2. Try setting the minimum version to 4.1 and see if that helps.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Android v6 Deployment Results in Black Screen
I have it set to a minimum of 2.3.3, but I tried changing it to 4.1 and even 5. It still doesn't work and I get a black screen when testing on my s7.jacque wrote:What's the minimal Android version you've set in standalone settings? There's a known black screen issue if it is Android 2.2. Try setting the minimum version to 4.1 and see if that helps.
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android v6 Deployment Results in Black Screen
I'm not sure what the problem might be, but a black screen can be caused when the card is not redrawn. If this happens immediately on launch, there may be something preventing a redraw. Did you add a splash screen image? If so, try removing it. Otherwise I'd send in a bug report.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Android v6 Deployment Results in Black Screen
I do not have a splash screen image implemented, but yes the black screen occurs immediately. Could a splash screen image solve the problem rather than the other away around?jacque wrote:I'm not sure what the problem might be, but a black screen can be caused when the card is not redrawn. If this happens immediately on launch, there may be something preventing a redraw. Did you add a splash screen image? If so, try removing it. Otherwise I'd send in a bug report.
-
- VIP Livecode Opensource Backer
- Posts: 135
- Joined: Mon Jul 31, 2006 1:39 am
- Location: New Zealand, Australia, Germany, Japan
- Contact:
Re: Android v6 Deployment Results in Black Screen
I've also had a report of a black screen on startup - the user had a Moto G4 presumably with a newish version of Android. My app was made with LC 8.1.6 with a min version of 4.2 specified. It works fine elsewhere so not sure what the problem could be here. Any possible solutions are very welcome!
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android v6 Deployment Results in Black Screen
I doubt it. Android doesn't really deal with splash screens much, I'm not even sure why it's in there. If anything it would delay the card display, I'd think. But it couldn't hurt to try it.Could a splash screen image solve the problem rather than the other away around?
This does sound like a bug that only happens on some devices or OS versions. If you have access to another Android device it would be interesting to see how it works there.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com