Showing posts with label adb. Show all posts
Showing posts with label adb. Show all posts

Saturday, 26 March 2016

Connect Android Wear device via adb over Bluetooth


  • Enable bluetooth debugging on watch (tap build number 5 times to enter developer mode)
  • Enable bluetooth debugging in Android Wear app on phone
  • cd ~/Library/Android/sdk/platform-tools
  • ./adb forward tcp:4444 localabstract:/adb-hub
  • ./adb connect 127.0.0.1:4444

Sunday, 17 August 2014

Solution to INSTALL_FAILED_INSUFFICIENT_STORAGE on Android

Since upgrading to KitKat I often face the problem which prevents me of installing or updating my apps:
INSTALL_FAILED_INSUFFICIENT_STORAGE
This error may occur even when there is more than 400 MB free on internal memory of my phone.

Here is how I cope with it. I clear the cache of media via ADB:
adb shell pm clear com.android.providers.media
Notice: negative effect will be loss of thumbnails, ringtone, etc..