Hi,
My game builds and runs fine but when I build the .apk and run it on my tablet it just crashes. A black screen and then it just exits.
Not sure how to start debugging this, any clues?
Hi,
My game builds and runs fine but when I build the .apk and run it on my tablet it just crashes. A black screen and then it just exits.
Not sure how to start debugging this, any clues?
Hi pi.piyush,
I assume that you build a development version of your app via the buildserver which gets installed via the QR-Code and not a publish build which would result in an unsigned .apk? The first step for analysing an Android .apk is to install the Android SDK and connect the device via the adb and retrieve the system log by console or via the monitor tool. Then you should be able to identify your crash reason! If you can not find any reason by your own just post the crashlog!
Cheers,
David
Hi David,
Yes it is test/development build. Here is the logcat output when I run the app (samsung tab2), I can’t spot the problem here
11-09 19:57:38.050: W/ActivityThread(18750): Application net.vplay.builds.MultiSceneMultiLevel can be debugged on port 8100…
11-09 19:57:38.066: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtCore.so 0x41cd5890
11-09 19:57:38.074: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtCore.so 0x41cd5890
11-09 19:57:38.074: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtCore.so 0x41cd5890, skipping init
11-09 19:57:38.074: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtScript.so 0x41cd5890
11-09 19:57:38.082: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtScript.so 0x41cd5890
11-09 19:57:38.082: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtScript.so 0x41cd5890, skipping init
11-09 19:57:38.082: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtNetwork.so 0x41cd5890
11-09 19:57:38.089: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtNetwork.so 0x41cd5890
11-09 19:57:38.089: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtNetwork.so 0x41cd5890, skipping init
11-09 19:57:38.089: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtSql.so 0x41cd5890
11-09 19:57:38.097: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtSql.so 0x41cd5890
11-09 19:57:38.097: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtSql.so 0x41cd5890, skipping init
11-09 19:57:38.097: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXml.so 0x41cd5890
11-09 19:57:38.097: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXml.so 0x41cd5890
11-09 19:57:38.097: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXml.so 0x41cd5890, skipping init
11-09 19:57:38.097: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXmlPatterns.so 0x41cd5890
11-09 19:57:38.113: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXmlPatterns.so 0x41cd5890
11-09 19:57:38.113: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXmlPatterns.so 0x41cd5890, skipping init
11-09 19:57:38.113: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtGui.so 0x41cd5890
11-09 19:57:38.136: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtGui.so 0x41cd5890
11-09 19:57:38.136: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtGui.so 0x41cd5890, skipping init
11-09 19:57:38.136: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtDeclarative.so 0x41cd5890
11-09 19:57:38.175: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtDeclarative.so 0x41cd5890
11-09 19:57:38.175: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtDeclarative.so 0x41cd5890, skipping init
11-09 19:57:38.175: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtOpenGL.so 0x41cd5890
11-09 19:57:38.183: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtOpenGL.so 0x41cd5890
11-09 19:57:38.183: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtOpenGL.so 0x41cd5890, skipping init
11-09 19:57:38.183: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so 0x41cd5890
11-09 19:57:38.183: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so 0x41cd5890
11-09 19:57:38.183: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so 0x41cd5890, skipping init
11-09 19:57:38.183: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libandroid-9.so 0x41cd5890
11-09 19:57:38.191: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libandroid-9.so 0x41cd5890
11-09 19:57:38.191: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libVPlay.so 0x41cd5890
11-09 19:57:38.222: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libVPlay.so 0x41cd5890
11-09 19:57:38.222: D/dalvikvm(18750): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libgame.so 0x41cd5890
11-09 19:57:38.222: D/dalvikvm(18750): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libgame.so 0x41cd5890
11-09 19:57:38.222: D/dalvikvm(18750): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libgame.so 0x41cd5890, skipping init
11-09 19:57:38.246: W/apk path(18750): /data/app/net.vplay.builds.MultiSceneMultiLevel-1.apk
11-09 19:57:38.472: E/libEGL(18750): error opening cache file /data/data/net.vplay.builds.MultiSceneMultiLevel/cache/com.android.opengl.shaders_cache: Permission denied (13)
11-09 19:57:40.128: I/DEBUG(105): pid: 18750, tid: 18766, name: Thread-1021 >>> net.vplay.builds.MultiSceneMultiLevel <<<
11-09 19:57:40.285: I/DEBUG(105): #03 pc 000a6fd9 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so (cocos2d::CCTextureAtlas::initWithTexture(cocos2d::CCTexture2D*, unsigned int)+28)
11-09 19:57:40.285: I/DEBUG(105): 5eea0258 5e9b1d50 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 19:57:40.285: I/DEBUG(105): #00 5eea0298 5e988add /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 19:57:40.285: I/DEBUG(105): 5eea02b4 5e988add /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 19:57:40.285: I/DEBUG(105): 5eea02cc 5e98db68 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 19:57:40.285: I/DEBUG(105): 5eea02d0 5e98db68 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 19:57:40.285: I/DEBUG(105): 5eea02d4 5e900fdd /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so (cocos2d::CCTextureAtlas::initWithTexture(cocos2d::CCTexture2D*, unsigned int)+32)
11-09 19:57:47.503: I/ActivityManager(354): Process net.vplay.builds.MultiSceneMultiLevel (pid 18750) has died.
11-09 20:04:01.769: W/ActivityThread(19080): Application net.vplay.builds.MultiSceneMultiLevel can be debugged on port 8100…
11-09 20:04:01.785: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtCore.so 0x41cd66d8
11-09 20:04:01.785: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtCore.so 0x41cd66d8
11-09 20:04:01.785: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtCore.so 0x41cd66d8, skipping init
11-09 20:04:01.785: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtScript.so 0x41cd66d8
11-09 20:04:01.793: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtScript.so 0x41cd66d8
11-09 20:04:01.793: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtScript.so 0x41cd66d8, skipping init
11-09 20:04:01.793: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtNetwork.so 0x41cd66d8
11-09 20:04:01.800: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtNetwork.so 0x41cd66d8
11-09 20:04:01.800: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtNetwork.so 0x41cd66d8, skipping init
11-09 20:04:01.800: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtSql.so 0x41cd66d8
11-09 20:04:01.808: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtSql.so 0x41cd66d8
11-09 20:04:01.808: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtSql.so 0x41cd66d8, skipping init
11-09 20:04:01.808: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXml.so 0x41cd66d8
11-09 20:04:01.808: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXml.so 0x41cd66d8
11-09 20:04:01.808: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXml.so 0x41cd66d8, skipping init
11-09 20:04:01.808: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXmlPatterns.so 0x41cd66d8
11-09 20:04:01.824: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXmlPatterns.so 0x41cd66d8
11-09 20:04:01.824: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtXmlPatterns.so 0x41cd66d8, skipping init
11-09 20:04:01.824: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtGui.so 0x41cd66d8
11-09 20:04:01.839: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtGui.so 0x41cd66d8
11-09 20:04:01.839: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtGui.so 0x41cd66d8, skipping init
11-09 20:04:01.839: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtDeclarative.so 0x41cd66d8
11-09 20:04:01.878: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtDeclarative.so 0x41cd66d8
11-09 20:04:01.878: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtDeclarative.so 0x41cd66d8, skipping init
11-09 20:04:01.878: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtOpenGL.so 0x41cd66d8
11-09 20:04:01.886: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtOpenGL.so 0x41cd66d8
11-09 20:04:01.886: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libQtOpenGL.so 0x41cd66d8, skipping init
11-09 20:04:01.886: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so 0x41cd66d8
11-09 20:04:01.894: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so 0x41cd66d8
11-09 20:04:01.894: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so 0x41cd66d8, skipping init
11-09 20:04:01.894: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libandroid-9.so 0x41cd66d8
11-09 20:04:01.902: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libandroid-9.so 0x41cd66d8
11-09 20:04:01.902: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libVPlay.so 0x41cd66d8
11-09 20:04:01.925: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libVPlay.so 0x41cd66d8
11-09 20:04:01.925: D/dalvikvm(19080): Trying to load lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libgame.so 0x41cd66d8
11-09 20:04:01.925: D/dalvikvm(19080): Added shared lib /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libgame.so 0x41cd66d8
11-09 20:04:01.925: D/dalvikvm(19080): No JNI_OnLoad found in /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libgame.so 0x41cd66d8, skipping init
11-09 20:04:01.941: W/apk path(19080): /data/app/net.vplay.builds.MultiSceneMultiLevel-1.apk
11-09 20:04:03.800: I/DEBUG(105): pid: 19080, tid: 19096, name: Thread-1057 >>> net.vplay.builds.MultiSceneMultiLevel <<<
11-09 20:04:03.964: I/DEBUG(105): #03 pc 000a6fd9 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so (cocos2d::CCTextureAtlas::initWithTexture(cocos2d::CCTexture2D*, unsigned int)+28)
11-09 20:04:03.964: I/DEBUG(105): 5eea0258 5e9b1d50 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 20:04:03.964: I/DEBUG(105): #00 5eea0298 5e988add /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 20:04:03.964: I/DEBUG(105): 5eea02b4 5e988add /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 20:04:03.964: I/DEBUG(105): 5eea02cc 5e98db68 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 20:04:03.964: I/DEBUG(105): 5eea02d0 5e98db68 /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so
11-09 20:04:03.964: I/DEBUG(105): 5eea02d4 5e900fdd /data/data/net.vplay.builds.MultiSceneMultiLevel/lib/libCocos2dx.so (cocos2d::CCTextureAtlas::initWithTexture(cocos2d::CCTexture2D*, unsigned int)+32)
11-09 20:04:11.214: I/ActivityManager(354): Process net.vplay.builds.MultiSceneMultiLevel (pid 19080) has died.
Thank you for the log output, this might indicate some problems with provided sprite sheets. You were writing “My game builds and runs fine”: So the same source code runs fine on your desktop without any QML warnings or errors in the log output within Qt Creator?
Thanks,
Alex
Hi,
Here is the Qt output.
Starting /Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/MacOS/LastMan…
Qml debugging is enabled. Only use this in a safe environment!
m_platform in System set to: 3 , m_isDesktopPlatform: true
m_isDebugBuild in System set to: true
System: loading config file from: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/MacOS/../Resources/qml/config.json”
Setting default orientation to 1 (0=portrait, 1=landscape, 2=auto, 3=sensorPortrait, 4=sensorLandscape)
VPlayApplication: Add user directory import path: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/MacOS/../Resources/qml”
VPlayApplication: Add platform plugin directory import path: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/MacOS/../Resources/plugins/macx”
VPlayApplication: Add generic plugin directory import path: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/MacOS/../Resources/plugins/generic”
VPlayApplication: Add resource Felgo QML import path: “:/qml”
VPlayApplication: importPathList: (“/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml”, “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/plugins/macx”, “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/plugins/generic”, “:/qml”, “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/MacOS”, “/Users/Pi/FelgoSDK/Desktop/Qt/4.8.1/gcc/imports”)
VPlayApplication: pluginPathList: (“.”)
VPlayApplication: setMainQmlFileName called for qmlFileName “qml/main.qml” , used file: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/MacOS/../Resources/qml/main.qml”
VPlayApplication:startApplication()
VPlayApplication: rootContext of qmlViewer: QDeclarativeContext(0x103c88c50)
VPlayApplication: using CocosDenshion for audio
[Translator] System Name (Language) “en_IN”
[Translator] Using Stored Language “en_EN”
[Translator] Load Language “en_EN”
WARNING: VPlayFileUtils: did not find the file or directory: “qml/translations”
[Translator] Translation Directory: “qml/translations”
[Translator] Translation “en_EN” was not loaded successfully loading English
[Translator] Translation “en_EN” was not loaded successfully using default strings
…before cocosApplication.run()
VPlayAppDelegate::applicationDidFinishLaunching()
create EngineScene from delegate
call of EngineScene::scene()
call of Scene:init()
Cocos2DWrapper::setTargetScene() called
Cocos2DWrapper: applicationDidFinishLaunching()
Soundeffect: set source to “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/snd/mardTheme.wav” , preloading sound effect now
Soundeffect: set source to “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/snd/openingscene.wav” , preloading sound effect now
Soundeffect: set source to “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/snd/ad1.wav” , preloading sound effect now
Soundeffect: set source to “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/snd/ad3.wav” , preloading sound effect now
Soundeffect: set source to “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/snd/ad2.wav” , preloading sound effect now
Box2DWorld: set gravity to QPointF(0, 0)
Box2DWorld: set gravity to QPointF(0, -5.81)
Soundeffect: set source to “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/snd/yeh kha.wav” , preloading sound effect now
QDeclarativeWorkerScript: Attempt to send message before WorkerScript establishment
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: MenuScene_QMLTYPE_12(0x102e208a0)
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: MainMenu_QMLTYPE_33(0x10d032fe0)
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: OpeningScene_QMLTYPE_38(0x107a27810)
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: SelectLevelScene_QMLTYPE_43(0x10d0692f0)
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: Ad2Scene_QMLTYPE_48(0x10d07d4d0)
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: Ad3Scene_QMLTYPE_53(0x10d091680)
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: SceneBase_QMLTYPE_9(0x10d0a5180)
Scene: returning 1 for the xScaleForScene, but sceneGameWindow was invalid! this is the scene: GameScene_QMLTYPE_70(0x10d0b09f0)
GameWindowItem: found GameWindowItem – register it as contextProperty for rootContext
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 0 )
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 2 )
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 2 )
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 2 )
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 2 )
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 2 )
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 2 )
Scene: onScaleModeChanged: xScaleForScene( 1 ) is different than from GameWindow ( 2 )
Box2DWorld::componentComplete()
Box2DWorld: set contextProperty physicsWorld to this: PhysicsWorld_QMLTYPE_62 (this = 0x10d0cd330 , parent = 0x10d0b09f0 , geometry = QRectF(0,0 480×320) , z = 10 )
ScriptComponentEntry.initialize()
including source file ‘ file::/qml/VPlay/input/TwoAxisControllerComponent.js ‘ from ScriptComponent
typeof(onInitialize) function
onInitialize function found!
WARNING: EntityBase: you did not set an entityType for the entity EntityBase_QMLTYPE_17_QML_39(0x107a566d0) with entityId – to be able to distinguish your entities set the entityType!
WARNING: EntityBase: you did not set an entityType for the entity EntityBase_QMLTYPE_17(0x107a1efb0) with entityId – to be able to distinguish your entities set the entityType!
WARNING: EntityBase: you did not set an entityType for the entity EntityBase_QMLTYPE_17_QML_34(0x10d03b100) with entityId – to be able to distinguish your entities set the entityType!
EntityManager: onCompleted()
EntityManager: initialize(), creating entities from dynamicCreationEntityList if there are some in it
Settings: onCompleted()
Settings: soundEnabled locally (not read from the database): true
Settings: musicEnabled locally (not read from the database): true
Settings: loadUserSetting for propertyname soundEnabled returned true
Settings: loadUserSetting for propertyname musicEnabled returned true
Settings: loadUserSetting for propertyname particlesEnabled returned true
Settings: loadUserSetting for propertyname customData returned [object Object]
Settings: loadUserSetting for propertyname maximumHighscore returned 0
Settings: loadUserSetting for propertyname username returned
[Translator] Save language: “en_EN”
Update cocosRenderer size to qmlViewer size: QSize(960, 640)
VPlayApplication: now set contentScaleFactor valid for all items…
VPlayApplication: contentScaleFactor was set valid for all items
VPlayApplication: displayFpsEnabled in root element GameWindow is set to: true
______________VPlayApplication: cocosWrapper initialized, load QML tree______________
CCAnimatedSpriteManager: create new CCSpriteBatchNode for image file “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/menu-hd.png”
CCAnimatedSpriteManager: read alphaPixelFormat: “RGBA4444” for image: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/menu-hd.png”
CCAnimatedSpriteManager: created new SpriteBatchNode: 0x103ca79d0
CCAnimatedSpriteManager: create new CCSpriteBatchNode for image file “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/opening-hd.png”
CCAnimatedSpriteManager: read alphaPixelFormat: “RGBA8888” for image: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/opening-hd.png”
CCAnimatedSpriteManager: created new SpriteBatchNode: 0x1176850e0
CCAnimatedSpriteManager: found SpriteImage element, create animated sprite with pointer SpriteBatchContainer_QMLTYPE_60(0x10d0cc990)
CCAnimatedSpriteManager: scenePosOfTopLeft: QPointF(0, 0)
CCAnimatedSpriteManager: sceneScale: 2
CCAnimatedSpriteManager: create new CCSpriteBatchNode for image file “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/tv-hd.png”
CCAnimatedSpriteManager: read alphaPixelFormat: “RGBA8888” for image: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/tv-hd.png”
CCAnimatedSpriteManager: created new SpriteBatchNode: 0x1176c3370
CCAnimatedSpriteManager: create new CCSpriteBatchNode for image file “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/mard..png”
CCAnimatedSpriteManager: read alphaPixelFormat: “RGBA4444” for image: “/Users/Pi/Documents/V-play/LastMan-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/LastMan.app/Contents/Resources/qml/img/mard..png”
CCAnimatedSpriteManager: created new SpriteBatchNode: 0x1176edeb0
VPlayApplication: loadQmlfile() is finished
Cocos2DWrapper: updateItemPositionAndRotationImmediately: parentPosOfTopLeft: QPointF(300, 220) Mard_QMLTYPE_66 (this = 0x10d0eb950 , parent = 0x10d0dc680 , geometry = QRectF(300,220 0x0) , z = 1 )
Cocos2DWrapper: updateItemPositionAndRotationImmediately: parentPosOfTopLeft: QPointF(300, 220) Mard_QMLTYPE_66 (this = 0x10d0eb950 , parent = 0x10d0dc680 , geometry = QRectF(300,220 0x0) , z = 1 )
Cocos2DWrapper: updateItemPositionAndRotationImmediately: parentPosOfTopLeft: QPointF(300, 220) Mard_QMLTYPE_66 (this = 0x10d0eb950 , parent = 0x10d0dc680 , geometry = QRectF(300,220 0x0) , z = 1 )
Cocos2DWrapper: updateItemPositionAndRotationImmediately: parentPosOfTopLeft: QPointF(300, 220) Mard_QMLTYPE_66 (this = 0x10d0eb950 , parent = 0x10d0dc680 , geometry = QRectF(300,220 0x0) , z = 1 )
Cocos2DWrapper: updateItemPositionAndRotationImmediately: parentPosOfTopLeft: QPointF(300, 220) Mard_QMLTYPE_66 (this = 0x10d0eb950 , parent = 0x10d0dc680 , geometry = QRectF(300,220 0x0) , z = 1 )
SpriteSequence: onGoalSpriteChanged called for standing
SpriteSequence: jumpTo() called for standing
CCAnimatedSpriteManager: this sprite changed its running property: Sprite_QMLTYPE_19(0x107a65320)
CCAnimatedSpriteManager: this sprite changed its running property: Sprite_QMLTYPE_19(0x107a65320)
CCAnimatedSpriteManager: for this sprite no action exists – this happens when frameCount is 1
Cocos2DWrapper: updateItemPositionAndRotationImmediately: parentPosOfTopLeft: QPointF(300, 220) Mard_QMLTYPE_66 (this = 0x10d0eb950 , parent = 0x10d0dc680 , geometry = QRectF(300,220 0x0) , z = 1 )
This problem can be re-created with the code and sprites I sent for
Hi,
thanks for the info. As we can’t reproduce the problem right now on our Android devices with your provided sprites, could you please send us the demo archive you uploaded to Build Server in order to debug on the same code version?
One assumption from my side regarding your main project with a Samsung Tab: Could you please check that all needed versions of your sprite sheets are included in your project (sd/hd/hd2 png and json files)?
Thanks,
Alex
You must be logged in to reply to this topic.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: