This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Button | |
style="@style/Widget.AppCompat.Button.Borderless.Colored" | |
... | |
/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Open a shell to the connected device. | |
adb shell | |
#Grant the READ_LOGS permission (replace package name with the app you want to have the permission). | |
pm grant org.jtb.alogcat android.permission.READ_LOGS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TextView | |
... | |
android:background="?attr/selectableItemBackground" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Get the IP address of the attached device. | |
adb shell ip -f inet addr show wlan0 | |
#Restart ADB in correct mode. | |
adb tcpip 5555 | |
#Connect to device remotely without needing USB. Replace Xs with IP address. | |
adb connect xxx.xxx.xxx.xx:5555 |