Just use this command to set a server address to automatically sync your device time. ( ͡° ͜ʖ ͡°)✧
1 | $ adb shell settings put global ntp_server <new-ntp-server> |
Just use this command to set a server address to automatically sync your device time. ( ͡° ͜ʖ ͡°)✧
1 | $ adb shell settings put global ntp_server <new-ntp-server> |
Android Studio 3.0 sets android:testOnly="true"
automatically on APKs that are ran from the IDE.
However, for some devices (such as OPPO R11), the test-only APKs can never be installed …
If you face the same problem, try add this line to your ‘/gradle.properties’:
# gradle.properties
android.injected.testOnly=false
Then the boring android:testOnly
attribute disappears. ( ͡° ͜ʖ ͡°)✧