- Home /
Installation failed with the following output: pkg: /data/local/tmp/Package.apk Failure [INSTALL_CANCELED_BY_USER]
When I build an Apk file, it generates properly but having trouble when I try to run directly to my phone using 'Build And Run'.
I've installed all required drivers, and also Unity Remote works correctly on the phone.
Answer by Z3uS · Aug 18, 2017 at 05:11 AM
@Nikunj-Kareliya I know this is an older post but if you are using a Xiaomi phone, go to developer options and turn on 'Install via USB'. You may need to turn off 'MIUI optimizations' and restart the phone.
Your answer
Follow this Question
Related Questions
How to fix build errors when building as APK 1 Answer
I get an error when I try to build and run with an android device connected. How do I fix this? 1 Answer
Android build failing on 2017.2.0f3 2 Answers
Android APK Build Failing "Execution failed for task ':launcher:checkReleaseDuplicateClasses'." 5 Answers
What is this error in build adroid and build app bundle in unity 2019.1.5? 1 Answer