Getting error while installing apk via android studio.
Failure [INSTALL_FAILED_INTERNAL_ERROR] DELETE_FAILED_INTERNAL_ERROR Error while Installing APK
i tried build:clean also restart device.. error not resolves.
Another common reason for the App not installed error could be that there is not enough free memory on your device's internal storage. Most users think that the size of the apk file is the actual size of the app. But this is not the case. Actually the apk file is a packaged version of the application itself.
Disabling Instant run fixed it for me
Go to Preferences>Builld,Execution, Deployment> Instant Run
Then unmark Enable instant Run to hot swap code ...
Sorce from the comments in here
And also don't forget to report the issue to google to be fixed faster.
I have solved this problem by turning off MIUI optimization.
For this go to setting
-> developerOptions
-> MIUI Optiomization
.
Update: Apart from above solution. If you are using Android studio version 3.0 or 3+ then we can not directly use the apk after running on the device from the build->output->apk folder.
instead we need to build apk as stated below.(this is not a signed apk)
go to Build -> Build Bundle(s) / APK(s) -> Build APK(s) then copy the apk from build -> output -> apk -> debug
and then you are good to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With