Hi All,
I’m in the process of finalizing the development of my game on iOS and Android. I’ve specified Default.png files that work up as launch images/splash screens on iOS and Android.
The launch image works fine on iOS, where in the Default.png loads, and then the user is transitioned to the main game screen. However, on Android, the launch image appears, and then a black screen appears immediately after it. After a second or two, the main game screen shows up.
I’ve tested this on the following devices, viz. Nexus-4 running Android 4.4, Galaxy Note runnijng Android 2.3.3, and Nexus-7 running Android 4.4
I looked up the logcat logs, but didn’t find anything missing there. I’m still posting for your reference.
D/audio_hw_primary( 177): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
D/audio_hw_primary( 177): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/ACDB-LOADER( 177): ACDB -> send_afe_cal
I/ActivityManager( 601): Start proc com.sam.game for activity com.sam.game1/com.ansca.corona.CoronaActivity: pid=21177 uid=10147 gids={50147}
I/InputReader( 601): Reconfiguring input devices. changes=0x00000004
I/ActivityManager( 601): Config changes=480 {1.15 310mcc260mnc en_US ldltr sw384dp w598dp h359dp 320dpi nrml land finger -keyb/v/h -nav/h s.333}
I/InputReader( 601): Device reconfigured: id=6, name=‘touch_dev’, size 768x1280, orientation 1, mode 1, display id 0
D/PhoneStatusBar( 708): mSettingsPanelGravity = 55
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/liblua.so 0x4220e708
W/linker (21177): liblua.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/dalvikvm(21177): Added shared lib /data/app-lib/com.sam.game-1/liblua.so 0x4220e708
D/dalvikvm(21177): No JNI_OnLoad found in /data/app-lib/com.sam.game-1/liblua.so 0x4220e708, skipping init
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/libjnlua5.1.so 0x4220e708
W/linker (21177): libjnlua5.1.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/dalvikvm(21177): Added shared lib /data/app-lib/com.sam.game-1/libjnlua5.1.so 0x4220e708
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/libjnlua5.1.so 0x4220e708
D/dalvikvm(21177): Shared lib ‘/data/app-lib/com.sam.game-1/libjnlua5.1.so’ already loaded in same CL 0x4220e708
I/dalvikvm(21177): threadid=1: recursive native library load attempt (/data/app-lib/com.sam.game-1/libjnlua5.1.so)
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/libopenal.so 0x4220e708
W/linker (21177): libopenal.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/OpenAL_SLES(21177): alc_opensles_init
D/dalvikvm(21177): Added shared lib /data/app-lib/com.sam.game-1/libopenal.so 0x4220e708
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/libmpg123.so 0x4220e708
W/linker (21177): libmpg123.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/dalvikvm(21177): Added shared lib /data/app-lib/com.sam.game-1/libmpg123.so 0x4220e708
D/dalvikvm(21177): No JNI_OnLoad found in /data/app-lib/com.sam.game-1/libmpg123.so 0x4220e708, skipping init
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/libvorbisidec.so 0x4220e708
D/dalvikvm(21177): Added shared lib /data/app-lib/com.sam.game-1/libvorbisidec.so 0x4220e708
D/dalvikvm(21177): No JNI_OnLoad found in /data/app-lib/com.sam.game-1/libvorbisidec.so 0x4220e708, skipping init
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/libalmixer.so 0x4220e708
W/linker (21177): libalmixer.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/dalvikvm(21177): Added shared lib /data/app-lib/com.sam.game-1/libalmixer.so 0x4220e708
D/dalvikvm(21177): No JNI_OnLoad found in /data/app-lib/com.sam.game-1/libalmixer.so 0x4220e708, skipping init
D/dalvikvm(21177): Trying to load lib /data/app-lib/com.sam.game-1/libcorona.so 0x4220e708
W/linker (21177): libcorona.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/dalvikvm(21177): Added shared lib /data/app-lib/com.sam.game-1/libcorona.so 0x4220e708
D/dalvikvm(21177): GC_CONCURRENT freed 130K, 2% free 9281K/9444K, paused 3ms+1ms, total 20ms
I/Adreno-EGL(21177): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
D/OpenGLRenderer(21177): Enabling debug mode 0
D/dalvikvm(21177): Note: class Landroid/opengl/GLWrapperBase; has 250 unimplemented (abstract) methods
W/IInputConnectionWrapper( 905): showStatusIcon on inactive InputConnection
I/ActivityManager( 601): Displayed com.sam.game/com.ansca.corona.CoronaActivity: +463ms
I/WindowManager( 601): Screen frozen for +432ms due to Window{42f92390 u0 Starting com.sam.game}
V/GLSurfaceView(21177): glGetString(7937) returns Adreno ™ 320;
V/Corona (21177): > Class.forName: network.LuaLoader
V/Corona (21177): < Class.forName: network.LuaLoader
V/Corona (21177): Loading via reflection: network.LuaLoader
D/dalvikvm(21177): GC_CONCURRENT freed 348K, 4% free 9337K/9716K, paused 4ms+2ms, total 18ms
W/linker (21177): liblicensing.so has text relocations. This is wasting memory and is a security risk. Please fix.
V/Corona (21177): > Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona (21177): < Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona (21177): Loading via reflection: CoronaProvider.licensing.google.LuaLoader
D/dalvikvm(21177): GC_FOR_ALLOC freed 264K, 4% free 9375K/9716K, paused 14ms, total 14ms
I/dalvikvm-heap(21177): Grow heap (frag case) to 12.184MB for 3145744-byte allocation
D/dalvikvm(21177): GC_FOR_ALLOC freed <1K, 3% free 12447K/12792K, paused 13ms, total 13ms
D/dalvikvm(21177): GC_CONCURRENT freed 2K, 3% free 12447K/12792K, paused 1ms+2ms, total 14ms
I/Corona (21177): this device is phone on Android
I/Corona (21177): 4.4.2
I/SoundDecoder(21177): ALL MPG123 DECODERS:
I/SoundDecoder(21177): generic
I/SoundDecoder(21177):
I/SoundDecoder(21177): SUPPORTED MPG123 DECODERS:
I/SoundDecoder(21177): generic
I/SoundDecoder(21177):
I/OpenAL_SLES(21177): opensles_open_playback pDevice=0x77656008, deviceName=(null)
I/OpenAL_SLES(21177): alc_opensles_probe DEVICE_PROBE
I/OpenAL_SLES(21177): opensles_reset_playback pDevice=0x77656008
I/OpenAL_SLES(21177): bits=16, channels=2, samples=1024, size=4096, freq=44100
I/OpenAL_SLES(21177): create audio player
W/libc (21177): pthread_create sched_setscheduler call failed: Operation not permitted
I/OpenAL_SLES(21177): playback_function started
I/OpenAL (21177): _SC_NPROCESSORS_ONLN=4
D/audio_hw_primary( 177): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
I/Corona (21177): 0
D/dalvikvm( 601): GC_EXPLICIT freed 569K, 33% free 27504K/40844K, paused 5ms+11ms, total 157ms
D/dalvikvm( 4639): GC_CONCURRENT freed 639K, 14% free 10946K/12604K, paused 3ms+2ms, total 57ms
V/BufferedAnalyticsState( 4639): Not ready for upload, 419 seconds left.
I/GCoreUlr( 4639): Successfully inserted location
I’d appreciate if anyone can provide some pointers as to what am I doing incorrectly or if I’m missing something here.
Thanks,
Asheesh