Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Android 11: error occurred during package analysis

  • #1, by tom-barnet 4 years ago Zitieren
    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. 
  • #2, by tom-barnet 4 years ago Zitieren
    Is this issue going to be addressed in some of the upcoming updates of Visionaire?
  • #3, by darren-beckett 4 years ago Zitieren
    I'm having the same apk issues with Andoird 11.
    The previous version of the APK was working fine.
  • #4, by SimonS 4 years ago Zitieren
    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 4 years ago Zitieren
    Great work, thanks Simon.
  • #6, by tom-barnet 4 years ago Zitieren
    Great, thank you!