SplashScreen Plugin not working on Android.

Crona SDK:  2019.3520

OS: Windows 10

Build: Android

Issue: When opening the application on the device there is only a black screen before the app starts my custom splash screen is not present, when building on IOS device works fine the splash screen image loads correctly.

Plugin: I made sure that the plugin is activated here https://marketplace.coronalabs.com/corona-plugins/splash-screen-control and the same email that I used to purchased is the same used to login to corona when building the app.

Code:

settings={ ... splashScreen = {         enable = true,         image = "images/splashScreen.png"     }, ... }

Debugging:

After running “adb logcat Corona:v *:s” I get the following log, I don’t see any issues wiht the splash screen, seems like is just not loading the image.

09-09 15:10:39.536 10578 10608 V Corona&nbsp; : \> Class.forName: network.LuaLoader09-09 15:10:39.538 10578 10608 V Corona&nbsp; : \< Class.forName: network.LuaLoader 09-09 15:10:39.539 10578 10608 V Corona&nbsp; : Loading via reflection: network.LuaLoader 09-09 15:10:39.545 10578 10608 I Corona&nbsp; : Platform: Pixel 3a XL / Unknown / 10 / Adreno (TM) 615 / OpenGL ES 3.2 V@384.0 (GIT@4a00b69, I4e7e888065) (Date:04/09/19) / 2019.3520 / English | US | en\_US | en 09-09 15:10:39.555 10578 10608 V Corona&nbsp; : \> Class.forName: shared.google.play.services.base.LuaLoader 09-09 15:10:39.557 10578 10608 V Corona&nbsp; : \< Class.forName: shared.google.play.services.base.LuaLoader 09-09 15:10:39.557 10578 10608 V Corona&nbsp; : Loading via reflection: shared.google.play.services.base.LuaLoader 09-09 15:10:39.568 10578 10608 V Corona&nbsp; : \> Class.forName: \_CoronaSetup.LuaLoader 09-09 15:10:39.584 10578 10608 V Corona&nbsp; : \> Class.forName: CoronaProvider.licensing.google.LuaLoader 09-09 15:10:39.584 10578 10608 V Corona&nbsp; : \< Class.forName: CoronaProvider.licensing.google.LuaLoader 09-09 15:10:39.588 10578 10608 V Corona&nbsp; : Loading via reflection: CoronaProvider.licensing.google.LuaLoader 09-09 15:10:39.597 10578 10608 I Corona&nbsp; : Could not connect to localhost:8172: connection refused 09-09 15:10:39.598 10578 10608 V Corona&nbsp; : \> Class.forName: plugin.appodeal.LuaLoader 09-09 15:10:39.604 10578 10608 V Corona&nbsp; : \< Class.forName: plugin.appodeal.LuaLoader 09-09 15:10:39.604 10578 10608 V Corona&nbsp; : Loading via reflection: plugin.appodeal.LuaLoader 09-09 15:10:39.607 10578 10608 I Corona&nbsp; : plugin.appodeal: 1.6.5b (SDK: 2.5.3)

After trying different approaches I got it working as long as the SplashScreen image is in root folder works fine e.g

settings={ ... splashScreen = { &nbsp; &nbsp; &nbsp; &nbsp; enable = true, &nbsp; &nbsp; &nbsp; &nbsp; image = "splashScreen.png" &nbsp; &nbsp; }, ... }

I just want to mention that this was working fine with Crona SDK: 2018.3326 also as mentioned above on IOS  works fine even when the image is in a folder.

Hi,

I’m seeing the same issue except my splash image is not in a subdirectory.

Any idea what might be happening?

David

If you’re using daily build 2019.3497 or later, you’re using the new 64-bit build version of Corona. There are very significant changes is the build process and we may not have caught all conditions. 

I’m going to move this thread to Android 64-bit beta test forum and see if Engineering can look into it.

Rob

@Rob, any progress on this one?

I would suggest simply moving the image to the root directory until we sort this out. It’s a low priority fix.

Rob

It doesn’t work for me even in the root directory