I was looking for solution, but I have found nothing...
What is my problem?
I'm using App Inventor since 2019. I have made a few apps and they are working correctly. Now I had to make some really easy modifications on my app. I test the application on the web (Al Companion / Emulator) and works OK! (no warnings, no errors). Then (as usually) I build an APK file, download it to my phone and try to install it. Unfortunately I see only something like this:
“The Application wasn't installed, because the whole package looks unproperly”.
I'm using Samsung S21 with android 13
(I was trying to install this app on my wife's phone too, but I have got the same result = error)
Someone has written that I should uninstall the old application and delete old APK files. I have done it, but the problem still exist.
I have done one more test: I have built a new APK-file from my old applications (they are 100% OK, no modification), but it was the same result (both phones):
“The Application wasn't installed, because the whole package looks unproperly”.
old app? Pre Android 13 perhaps? You may be using procedures that now require permissions but did not when you wrote the original and for which Companion has the permissions but your code does not request them. Can you install the app on a phone younger than Android 13?
"successfully installed this app on my son's smartphone with Android 11" Congratulations you know now the problem.
What you do depends on what components you use. Sorry, we don't know anything about your code. You probably have to request the absent permissions using the tools of the Screen component.
Someone may correct me, but as far as I know, nothing much, if at all, has changed permissions - wise between Android 11 & 13.
Is you wife's phone also a Samsung, and your son's phone from another manufacturer or different model ?
You are welcome to share either the aia project or apk (this not directly on the community) so some one can test...or you could PM an interested Power User with these.
I have got an old application AIA-file (created on May 2021), that works OK since that time. I have got also an old APK-file (of this application), that was created AT THE SAME TIME (May 2021). I CAN install this file (APK) on my smartphone with Android 13 without any problems...
BUT
If I build a new APK-file TODAY (of the same application, without making any changes!), I can't install it on my smartphone.
Sorry, but it looks, that there is some problem (?) at MIT App Inventor...
I'm sending a link to my Google Drive directory with three files. You can find there also a screenshot with error-message from my smartphone (polish): DELETED
PS
My smartphone is Samsung S21 + Android 13.
My wife's smartphone: Samsung with Android 13.
My son's smartphone: Samsung with Android 11.
EDIT:
Probably the "PushNotification" extension caused my problem. I have deleted it and now I can install my APP on my smartphone.
Anyway, thank you for your advices and sorry for disturbing on your community!
SteveJG: The extension is compatible with Android 11 and not with Android 13 it appears. That is useful to know. Thanks for letting us know.
If you are right, why can I still install the old APP-file from May 2021 with the old "PushNotification" extension on my smartphone with Android 13 if the extension is no compatible with Android 13...?
Anke: You need to customize the Manifest; add this line: Btw, as far as I know also Material Design / icons require Android ≥ 5 / "Lollipop" (API 21).