Forums

OverviewV-Play 1 Support › chicken outbreak 2 is force closing on android

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #7376

    Adam

    hey all, thanks for having me here…I seen this app on the android market and clicked on the source code thing and downloaded all the stuff and I created my version of this game, I didn’t change the code just the picture and it works on the desktop but when I build it and I download it to android as a test build its showing the splash screen with music then its force closing. cant figure out why. do I need to change something in the code to make it work? thanks

    #7377

    Adam

    update**

     

    I spoted this on my phone before the app shut down

     

    get data from file (assets/:/qml/img/) failed

     

     

    #7395

    Jeff

    I’m having a similar problem. Mine won’t load the game, it just sits on the loading screen… They prob know about this but though

    #7402

    Adam

    Has anyone got this to work on android?? Is there even support on this forum???

    #7405

    Alex
    V-Play Team
    #7409

    Adam

    Thank you for your reply…I also build the game stock without modifying anything and it still does the same thing.

    #7410

    Adam

    Dont I just zip the contents of the qml and upload it? Or do I have to zip the contents of the desktop build qml and upload that instead.

    #7411

    Christian
    V-Play Team

    Your qml folder needs to contain a VPlay folder with the gamenetwork plugin in it, as described in Alex’ link above.

    Cheers, Chris

    #7412

    John

    hey again, so I did it to the dev version untouched and it worked. but the version I made still crashes even with the vplay folder..is there any files that I should not touch or remove for it to work? thanks again

    #7413

    David

    Hi johnsupplies,

    First thing when you want to develop for Android is that you setup a working logcat, so you can see the logoutput! You find a lot of tutorials about how to enable logging on Android in the Internet. When you see the logout everything is much more easier. On mobiles it is very important that you keep an eye on the paths’s and names of your files! Mobile devices are case sensitive, so it matters if your images is called “img/data/MyImage.png” or “img/data/myimage.png”. Desktops will ignore this.

    Hope it helps you out, and if you have any log you do not understand, let us know about it!

    Cheers,

    David

Viewing 10 posts - 1 through 10 (of 10 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support