DE EN FR ES IT CZ
Back Back to top

Android 11: error occurred during package analysis

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  • #1, by tom-barnet 5 years ago Quote
    Hello, fellow game-makers,

    I am unable to install the created .apk package on my phone with Android 11 and I keep getting this error message "an error occurred during package analysis".
    The game can be installed and runs smoothly on Android 10. However, once you upgrade to Android 11, the installed game is purged from the phone and the .apk can no longer be installed

    To make the issue more puzzling; I had a previous built of my game before the latest update (or two) of Visionaire and that particular game can be with no problem installed on both Android 10 and 11. Is it perhaps a bug in the latest version of Visionaire?

    Also, the icons of the .apk differ between the two builds of my game. The working build is the upper icon, the one that gives the error message is the bottom one.

    Can anyone please help or explain what is/can be wrong?

    UPDATE SOLVED: I managed to solve the issue by generating Android project in Visionaire, opening it in Android Studio and setting up SDK compatibility in build.gradle to Android 11. 
  • New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  • #2, by tom-barnet 5 years ago Quote
    Is this issue going to be addressed in some of the upcoming updates of Visionaire?
  • #3, by darren-beckett 5 years ago Quote
    I'm having the same apk issues with Andoird 11.
    The previous version of the APK was working fine.
  • #4, by SimonS 5 years ago Quote
    It's fixed in the next version, for now you would need to use the android project or edit the apk with uncompressing the resources.arsc and signing it again.
  • #5, by darren-beckett 5 years ago Quote
    Great work, thanks Simon.
  • #6, by tom-barnet 5 years ago Quote
    Great, thank you!