Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

SplashScreen Plugin not working on Android.
Started by moycg77 Sep 09 2019 02:04 PM

6 replies to this topic
splashscreen plugin android
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

moycg77

[GLOBAL: userInfoPane.html]
moycg77
  • Observer

  • 7 posts
  • Corona SDK

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  : > Class.forName: network.LuaLoader09-09 15:10:39.538 10578 10608 V Corona  : < Class.forName: network.LuaLoader
09-09 15:10:39.539 10578 10608 V Corona  : Loading via reflection: network.LuaLoader
09-09 15:10:39.545 10578 10608 I Corona  : 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  : > Class.forName: shared.google.play.services.base.LuaLoader
09-09 15:10:39.557 10578 10608 V Corona  : < Class.forName: shared.google.play.services.base.LuaLoader
09-09 15:10:39.557 10578 10608 V Corona  : Loading via reflection: shared.google.play.services.base.LuaLoader
09-09 15:10:39.568 10578 10608 V Corona  : > Class.forName: _CoronaSetup.LuaLoader
09-09 15:10:39.584 10578 10608 V Corona  : > Class.forName: CoronaProvider.licensing.google.LuaLoader
09-09 15:10:39.584 10578 10608 V Corona  : < Class.forName: CoronaProvider.licensing.google.LuaLoader
09-09 15:10:39.588 10578 10608 V Corona  : Loading via reflection: CoronaProvider.licensing.google.LuaLoader
09-09 15:10:39.597 10578 10608 I Corona  : Could not connect to localhost:8172: connection refused
09-09 15:10:39.598 10578 10608 V Corona  : > Class.forName: plugin.appodeal.LuaLoader
09-09 15:10:39.604 10578 10608 V Corona  : < Class.forName: plugin.appodeal.LuaLoader
09-09 15:10:39.604 10578 10608 V Corona  : Loading via reflection: plugin.appodeal.LuaLoader
09-09 15:10:39.607 10578 10608 I Corona  : plugin.appodeal: 1.6.5b (SDK: 2.5.3)


[TOPIC: post.html]
#2

moycg77

[GLOBAL: userInfoPane.html]
moycg77
  • Observer

  • 7 posts
  • Corona SDK

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

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

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.



[TOPIC: post.html]
#3

davidgmonical

[GLOBAL: userInfoPane.html]
davidgmonical
  • Enthusiast

  • 98 posts
  • Corona SDK

Hi,

 

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

Any idea what might be happening?

 

David



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,201 posts
  • Enterprise

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



[TOPIC: post.html]
#5

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 619 posts
  • Corona SDK

@Rob, any progress on this one?



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,201 posts
  • Enterprise

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

 

Rob



[TOPIC: post.html]
#7

davidgmonical

[GLOBAL: userInfoPane.html]
davidgmonical
  • Enthusiast

  • 98 posts
  • Corona SDK

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




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: splashscreen plugin, android