Please share your different solution as a comment to help more people. I will update the blog.
Face [INSTALL_FAILED_TEST_ONLY] when I was trying to install debug build apk via adb install.
The solution: adb -s [device-series] install -t [path2APK]
Face "Waiting for Debugger" on device.
The solution: I don't have this problem when I rebuild my APK and install it on device.
Face wireless adb always disconnect.
The solution: First step, disable DHCP on your router, or build a subnet for wireless adb enviroment. The most important thing is set static IP address whatever you do. Second step, get your phone rooted and install wirelessADB(https://github.com/rtfeng/WirelessADB), remember to change the IP address to your own address. The last step, run the .\wirelessABD.sh in your terminal to keep your wireless ADB reconnecting automatically if it got any trouble. Enjoy!
没有评论:
发表评论