Set date and time from adb

adb shell date -s YYYYMMDD.HHmmss adb shell date -s 20141020.165800 adb shell date -s 20120423.130000 adb shell 'su 0 date -s YYYYMMDD.HHmmss'

April 18, 2016 · 1 min · Eswar Malla

Android Studio stuck on 'Gradle: resolve dependancies'

Check all the dependencies, whether they are valid or not. Or for a temporary fix, try offline mode. To enable this setting go to:Preferences -> GradleIn the right side options go down to “Global Gradle Settings” and check the “Offline work” box. Build from the command line to know the exact source of the problem In windows gradlew.bat assembleDebug In linux chmod +x gradlew./gradlew assembleDebug If nothing works, You can also try to delete all contents of folder C:\Users....

April 8, 2016 · 1 min · Eswar Malla