Android device debug by Charge Only mode Method 1 Connect devices to computer and execute lsusb Find current device's info: Bus 001 Device 006: ID 2717:ff08 2717 is VendorID and ff08 is ProductID Then create /etc/udev/rules.d/51-android.rules (sudo n
最近又频繁遇到 NDK 的错误,记录一下debug调试的一些经验,以备后续查看 一般来说,在Android Studio中的Monitor中将过滤器的 LOG TAG 设置为 "DEBUG" 就可以将所有的JNI的错误显示出来了.如果看不明白报错信息,就要用到下面的工具. ndk-stack Usage: ndk-stack -sym [-dump ] -sym Contains full path to the root directory for symbols. -dump Co