Android adb- install: Failure [INSTALL_FAILED_OLDER_SDK]

  • #1, by htw8849Tuesday, 08. March 2016, 22:45 4 years ago
    Hi,

    I'm just trying to get my game running on a 4.4.2 android device (GPD G7 and Samsung Galaxy Tab 4 7'').

    So far I was successfull in creating a apk.file out of the editor.

    But when I try to install it on the device it is giving me a
    There was a problem parsing this package

    on startup.

    So I tried to install it via adb and there it is giving me the following output:


    xin_corelib,not load:/system/framework/pm.jar
    pkg: /data/local/tmp/visionaire_aligned.apk
    Failure [INSTALL_FAILED_OLDER_SDK]


    Further looks into that error let me assume that the visionaire.apk is compiled for a higher Android versions.

    Am I right ?

    In case yes, is there a way to get a visionaire.apk for a former version say Android 4.4.2 ?

    Newbie

    41 Posts


  • #2, by htw8849Tuesday, 08. March 2016, 23:49 4 years ago
    Ok, I got it running on a friends mobile phone - but he has Android 5.1 running.

    So it even more looks like that my 4.4.2 Version is too old.
    Unless you might have a visionaire.apk Version compiled for older Android version,
    it seems I am stucked with my Android devices roll

    Just another question there:
    Under windows I use the right click on the mouse to get more detailes description of an object.
    So how is the rightclick applied on the IOS/Android_Versionsion ?

    A two fingers klick (like in the mobile version of Broken Sword) doesn't seem to work ...

    Newbie

    41 Posts

  • #3, by htw8849Friday, 11. March 2016, 14:20 4 years ago
    Hmm, just read in the requirements: Android Version 2.3.4 ... this sure needs to be updated then. I couldn't get it running on any Android version before 4.4.4 !

    Newbie

    41 Posts

  • #4, by SimonSSunday, 13. March 2016, 10:30 4 years ago
    It definitly works on these version, you can try this visionaire app here: https://play.google.com/store/apps/details?id=com.visionaire...

    Thread Captain

    1368 Posts

  • #5, by htw8849Tuesday, 15. March 2016, 01:15 4 years ago
    Unfortunately the game also states it doesn't run - at least not on one of my android tablets roll
    Plus the Google-Store also tells "incompatible version" ...

    Furthermore on the games homepage they clealy state, that Android 5.0 is needed as minimum requirement.

    So the promised Android 2.3.4 support of the Visionaire homepage (technical minimum requirements) are not met with - and surely not by this game.

    This applies to my expierence in general so far ... if I build a game with the Visionaire Editor for Android (using Java 7 and Android build tools v20) it won't work on any Android version beneath Android 5.0.

    I even tried to build the empty example game in 640x480 (and nothing more) ... still the same result : [INSTALL_FAILED_OLDER_SDK] ... but on Android 5.0 works flawlessly.

    So either I do something horribly wrong or there seemed to be a compatibility issue with some of the older devices and the technical minimum specs on the Visinaire Homepage must be altered that Android 5.0 is needed to run games.

    Newbie

    41 Posts

  • #6, by SimonSTuesday, 15. March 2016, 12:14 4 years ago
    Okay, I see what's going on, I'll rebuild the Apk in the evening. I changed it for them but didn't change it back...

    Thread Captain

    1368 Posts

  • #7, by htw8849Tuesday, 15. March 2016, 14:25 4 years ago
    Thanks in advance ... would be great if I could my game running on my Samsung Galaxy Tab 4 7.0'' (the device is only runnning Android 4.4.2 - and no update so far from Samsung) smile

    Newbie

    41 Posts

  • #8, by SimonSWednesday, 16. March 2016, 12:38 4 years ago
    The Apk is updated, just download it again.

    Thread Captain

    1368 Posts

  • #9, by htw8849Wednesday, 16. March 2016, 17:50 4 years ago
    Thanks - I'll try my luck smile

    Newbie

    41 Posts

  • #10, by htw8849Wednesday, 16. March 2016, 22:53 4 years ago
    Well the good news first: It did install on all 4.4.2 and 5.0 devices smile

    But when I start it up it gives me an error:

    Android 4.4.2:

    SDL Error

    An error occurred while trying to start the application. Please try again and/or reinstall.

    Error: dlopen failed: could not load library "libavformat-56.so" needed by "libsdlmain.so"; caused by cannot locate symbol "atof" referenced by "libavformat-56.so" ...


    Android 5.0.1:


    Init failed

    Init failed, could not load game.
    There is no game file or the game file is corrupted.
    For more info view message.log.


    As a second test, I used the default "empty game" of the visionaire editor, but same result.

    I asume there went something wrong either during linking or the build function of the visionaire editor is not working fine with the new apk-files. roll

    I'm not sure if that may might help, but you can find the two minibuild-examples (one for 4.4 with the new files, the other made yesterday with the old one) here:
    http://134.76.74.122/visionaire_android_test/" target="_blank" title="http://134.76.74.122/visionaire_android_test/">http://134.76.74.122/visionaire_android_test/

    Newbie

    41 Posts

  • #11, by htw8849Tuesday, 22. March 2016, 16:01 4 years ago
    Hi Simon,

    sorry to bother you, juts curios to know if there is an update on this new but still broken Apk-file (which isn't working weather under Android 4.4 nor 5.0) using Visionaire Studio Editor 4.2 (Build 1182)

    Newbie

    41 Posts

Write post