0

i know this question has been asked before, I did try disable instant run. That is not working.

Let me explain in detail. I did this project on desktop, it is running fine. Now i need to migrate the code into my laptop, the code able to compile and generate an apk. When installing into my device xiaomi mi4 , it failed with DELETE_FAILED_INTERNAL_ERROR even if i manually transfer the apk file into the device and install it (that only tell me fail to install, i do not know how to know the reason of failure. I am sure this is not the device problem since i am able to install the same source apk file (if i compile it on my desktop)

Any suggestion?

kggoh
  • 702
  • 1
  • 10
  • 23

3 Answers3

0

Try to delete the old version of the application on your device manually. Go to Settings -> Apps find your application there and delete it. I think it may help. If not check free memory on the device.

Alexey Denysenko
  • 3,768
  • 1
  • 19
  • 28
-1

Go into your directory project and delete all the 'build' directories and the '.gradle' directory.

The TRIX
  • 36
  • 4
-1

if you use your android phone,

Developer options > Install via USB #Enable