(SEMI-SOLVED) Help with building game to android?

  • #1, by timrocketMonday, 26. March 2018, 01:53 7 years ago
    Hello all, I have visionaire studio 5 indie license.

    I'm trying to get my visionaire studio game running on an android device, so i have followed the steps listed on:

    but i dont know where i can get the visionaire.apk file from, nor can I find jarsigner and zipalign after installing JDK and Android SDK and my the apk file wont install on my android device, maybe due to this issue? 


    These are the steps listed on the Player_FAQ website linked above:

    Android  ogg and opus recommended, videos are working now.   Download JDK http://www.oracle.com/technetwork/java/javase/downloads/jdk7... You need jarsigner from that  

    Download Android SDK http://developer.android.com/sdk/index.html#download You need zipalign from that  

    Download the Visionaire Player for Android  

    Download the Signing Keystore  

    Copy the file visionaire.apk and visionaire.apk.keystore to the platform directory in your Visionaire Studio installation  

    Export your game for Android, you need to select jarsigner and zip align  

    Connect your Android device per usb  

    Copy the _android.apk to your device using the explorer   Install the Apk per file manager on your device (you may have to enable untrusted sources)  

    Run & good luck  

    The Application will continue running in the background if you home-out of it, to reload the file you need to close the application. It will drain your battery if you don't close it, just so you know. See here for more information. 

    Newbie

    9 Posts


  • #2, by timrocketMonday, 26. March 2018, 02:15 7 years ago
    progress note(might help others):

    i managed to find zipalign in

    C:\Users\<user>\AppData\Local\Android\Sdk\build-tools\27.0.3

    and jarsigner in 

    C:\Program Files\Java\jdk-10\bin


    Newbie

    9 Posts

  • #3, by timrocketMonday, 26. March 2018, 02:39 7 years ago
    I finally got the apk file to run on my android device, turns out i didnt need to copy the file visionaire.apk to the platform directory in my Visionaire Studio installation?


    Newbie

    9 Posts

  • #4, by stothewMonday, 26. March 2018, 02:51 7 years ago
    isn´t visionaire.apk the nummber 4 on the link you posted?

    Also if you try to install the apk you should watch the logcat on Andriod Studio to see if there are any errors. And be sure to tick the "allow from unknown sources" in Android.

    Forum Fan

    127 Posts

  • #5, by stothewMonday, 26. March 2018, 02:54 7 years ago
    I finally got the apk file to run on my android device, turns out i didnt need to copy the file visionaire.apk to the platform directory in my Visionaire Studio installation?


    nice to hear. did you implement special event listener for touch or will this work out of the box? Can you detect the platform and use other interfaces on mobile easily?

     would be great to share your experience so far.

    Forum Fan

    127 Posts

  • #6, by timrocketMonday, 26. March 2018, 03:06 7 years ago
    isn´t visionaire.apk the nummber 4 on the link you posted?

    Also if you try to install the apk you should watch the logcat on Andriod Studio to see if there are any errors. And be sure to tick the "allow from unknown sources" in Android.
    thanks for the reply.

    i got a visionaire.apk.keystore file, not visionaire.apk , from downloading from that link.

    I've tried to use android studio  on my computer and i dont understand how to use it as it wouldnt like me run the game apk file because i didnt select a SDK or something, ive only used it to take that zipalign file from its installation directory. What kind of errors do you mean?

    I have ticked "allow from unknown sources" prior to transferring the apk on my android device. The game is pretty much a bare minimum game with an intro video(which i dont know how to skip on android since it doesnt have an Esc key, any help appreaciated) but it works all as intended.

    I'm new to visionaire and i'd really like to understand how to use the Actions and Conditions etc. stuff. All i really know how to do is make a character and a scene. 

    For android, some kind of semi-permanent GUI buttons to escape/save/inventory etc. (not hover mouse at bottom of screen) would be great if i could figure out how to make it. 

    Newbie

    9 Posts

  • #7, by timrocketMonday, 26. March 2018, 03:08 7 years ago
    I finally got the apk file to run on my android device, turns out i didnt need to copy the file visionaire.apk to the platform directory in my Visionaire Studio installation?


    nice to hear. did you implement special event listener for touch or will this work out of the box? Can you detect the platform and use other interfaces on mobile easily?

     would be great to share your experience so far.

    i did not implement anything, its pretty much a bare minimum game. The start button starts the game and i can move my character around by touching a spot on the scene

    Newbie

    9 Posts

  • #8, by petertermanhansenTuesday, 02. October 2018, 23:04 6 years ago
    Hi

    My Visionaire Studio chrashes when I try to export to Android.

    Here is text from dump:
    Dump Summary
    ------------
    Dump File: visedit4.dmp : C:\Users\Peter Terman Hansen\AppData\Local\Visionaire Editor\visedit4.dmp
    Last Write Time: 02-10-2018 22:13:05
    Process Name: viseditor.exe : C:\Program Files (x86)\Visionaire Studio 5\viseditor.exe
    Process Architecture: x86
    Exception Code: 0xC0000005
    Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
    Heap Information: Not Present

    Any hints?

    Newbie

    82 Posts

  • #9, by SimonSTuesday, 02. October 2018, 23:10 6 years ago
    Currently a bug, I want to do a bugfix update tomorrow.

    Thread Captain

    1593 Posts

  • #10, by petertermanhansenThursday, 04. October 2018, 12:16 6 years ago
    Thanks, I appreciate. Can You telle when the update is released?

    Regards Peter

    Newbie

    82 Posts

  • #11, by SimonSThursday, 04. October 2018, 12:52 6 years ago
    Will do it today in the evening, didn't get to finish everything yesterday.

    Thread Captain

    1593 Posts