Problem whit Build Game Android

  • #1, by alex-bossiMonday, 11. February, 20:43 5 months ago
    I read and followed the guide but arrived at point 7 I do not understand anything more, is not absolutely clear, there is a video guide or at least someone can explain well step by step how to do?

    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

    (DONE jarsigner found do I have to copy it and paste it into the main directory of visionaire?)

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

    (DONE zipalign found do I have to copy it and paste it into the main directory of visionaire?)

    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

    (DONE copied both into the VS root folder)

    Visionaire Studio installation

    (DONE I do not understand what it is used for and where should the files be placed once extracted? in doubt I put everything in the root folder of visionaire)

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

    (at this point I do not understand how to do it)


     

    Newbie

    2 Posts


  • #2, by SimonSMonday, 11. February, 22:44 5 months ago
    That's guide for V4.

    V5 is just select Android, press export (it downloads the file on its own).
    It will then ask you for the path of jarsigner, should be something like C:\Program Files\Java\jdk1.8.0....\bin\jarsigner.exe, 
    and then zipalign, which is in android-sdk\build-tools\....\zipalign.exe. 
    Just simply select them from their path and don't copy paste any files into some other folder.

    Thread Captain

    1191 Posts

  • #3, by alex-bossiTuesday, 12. February, 00:41 5 months ago
    Thanks so much SimonS I did as you say and everything works perfectly

    Newbie

    2 Posts

  • #4, by sueckiThursday, 28. February, 09:55 5 months ago
    Hi, 
     
    what if the program doesn't ask for the path of jarsiner and zipalign? 
    it just exports and sais it's finished, but when i try to install it on my phone (android 8) or tablet (android 7) it just don't works. 
     
    thank's in advance!

    Newbie

    7 Posts

  • #5, by SimonSTuesday, 05. March, 09:36 5 months ago
    You can reset the paths in the viseditor.ini in C:\Users\<name>\AppData\Local\Visionaire Editor

    Thread Captain

    1191 Posts

  • #6, by sven-langeMonday, 11. March, 09:58 4 months ago
    Hi there,

    do you need a specific jdk version for older android versions or is the visionaire player not running on older android versions? I just ask because i followed the version V4 instruction and failed (package fault on android device), then i try to brew something together with visionaire.apk, winzip and APK Signer. This package can be installed on my device but i get failure notes about missing files when starting the app.
    Now i followed the V5 instruction and again get a apk which my android device recogniced as faulty.

    I have the current Android Studio and  Build-Tools and refer to the jarsiner of the Android Studio and the zipalign of the Build-Tools. Visionaire 5 (Indie) builds successfully an apk file.
    I have an older ASUS ME173X (Memo pad hd 7) with Android 4.2 and 1280 x 800. The device refuses to install the apk. I allow unsafe apps to be installed and already did this with MIT App Inventor apk files.
    Is the old android version a reason and/or do i have to match the screen resolution with my project settings? Any suggestions i can try out?

    I really appreciate any assistance, thanks in advance!

    Sven

    Newbie

    2 Posts

  • #7, by SimonSMonday, 11. March, 10:01 4 months ago
    I think you currently need at least Android 5 because of some native libs.

    Thread Captain

    1191 Posts

  • #8, by sven-langeMonday, 11. March, 11:38 4 months ago
    Ok, thank you for this information!
    I try to get some newer devices for testing, although it is a pity that we more and more have to throw away good hardware because of the operating system.

    Newbie

    2 Posts

Write post