Permalink
Browse files

fix error: insufficient permissions for device

  • Loading branch information...
1 parent 13a2264 commit b5ca27b6ad62d21754bf9aa6ad2615d5d551b9e8 @dpavlin committed Sep 25, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 adb-as-root.sh
View
@@ -0,0 +1,8 @@
+#!/bin/sh -x
+
+# restart adb as root to fix
+# error: insufficient permissions for device
+
+adb=`which adb`
+$adb kill-server
+sudo $adb devices

0 comments on commit b5ca27b

Please sign in to comment.