Thursday, April 21, 2016

Bleeding on the edge, Android development with DELETE_FAILED_INTERNAL_ERROR

I've been spending some time in Android Studio learning to develop android apps the last few weeks. And it is so extremely frustrating to consider how much time the development environment is stealing from me!

  • At home the emulator is really fast, but at work, with similar hardware and same OS it refuses to use acceleration.
  • The projects "break" every now and then. The "app" module is lost and nothing can be done but recreating the project again.
  • I forget to uncheck all those useless image updates when installing modules in the SDK. And have to wait for ever for them to download. Why are they checked by default every time?
And the last one. The one where the app refuses to install and you get the message
DEVICE SHELL COMMAND: pm uninstall your.package.name
DELETE_FAILED_INTERNAL_ERROR
Google has so many answers to this issue. Cleaning, restarting, reinstalling, deleting directories in Android and what not. Nobody seems to know why or what to do and yet it happens to me twice a week.

In the end there is only one solution that works, works fast and works every time. Go into the virtual device manager, click the drop down on your device and hit "Wipe Data"!


Stop spending time and try to fix this and just bite the bitter android until your lips start bleeding on the rough edges of the robot!

No comments:

Post a Comment