Thursday, July 18, 2013

Setup ADB on TCP/IP Rooted Device

From Your Device, if it is Rooted

You can enable ADB over WiFi from the device with the commands

setprop service.adb.tcp.port 5555

stop adbd

start adbd

And you can disable it and return ADB to listening on USB with

setprop service.adb.tcp.port -1

stop adbd

start adbd

Tuesday, July 16, 2013

Android Studio Gradle doesnt work after update , Gradle 0.4.0

Project is using an old version of android gradle plug-in. The minimum supported version is 0.5.0

Step 1: Change line in build.gradle from:

dependencies {
    classpath 'com.android.tools.build:gradle:0.4'
}
to
dependencies {
    classpath 'com.android.tools.build:gradle:0.5.+'
} 

Step 2

: In the <YourProject>.iml file, delete the entire<component name="FacetManager">[...]</component> tag.