stacker_liew 5 Posted January 5, 2023 Using Android 12, Redmi Note 9S Delphi 11.2 Result: INSTALL_FAILED_USER_RESTRICTED: Invalid apk Share this post Link to post
Dave Nottage 557 Posted January 5, 2023 This may be of help: https://stackoverflow.com/a/48524656/3164070 Share this post Link to post
Dave Nottage 557 Posted January 6, 2023 If you haven't made any changes to the AndroidManifest.template.xml file in the project, just delete it, and rebuild. If you did make any changes, you'll need to reapply them Share this post Link to post
stacker_liew 5 Posted January 6, 2023 13 hours ago, Dave Nottage said: If you haven't made any changes to the AndroidManifest.template.xml file in the project, just delete it, and rebuild. If you did make any changes, you'll need to reapply them I deleted the AndroidManifest.template and rebuild the project, still the same result. Share this post Link to post
stacker_liew 5 Posted January 6, 2023 I added android:exported="true" to AndroidMainfest.template, and it return with this result. Share this post Link to post
stacker_liew 5 Posted January 6, 2023 Finally, I changed the package in Version Info to something else other than the original com.embarcadero., it managed to install the app, but layout just messed. Share this post Link to post
Dave Nottage 557 Posted January 7, 2023 7 hours ago, stacker_liew said: Finally, I changed the package in Version Info to something else other than the original com.embarcadero., it managed to install the app Uninstalling the original app would have had the same effect. 8 hours ago, stacker_liew said: I added android:exported="true" to AndroidMainfest.template If you find you need to add that attribute, please refer to: 1 Share this post Link to post
stacker_liew 5 Posted January 7, 2023 36 minutes ago, Dave Nottage said: Uninstalling the original app would have had the same effect. If you find you need to add that attribute, please refer to: It seems delete the original app doesn't work for me, I still feel it left something after delete the app. Share this post Link to post