Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经成功地为我的设备构建了最后一个 oreo 版本,但它在通过引导过程后重新启动,所以我需要查看 logcat 以找到问题的原因,但我不能允许 adb。可以在未经允许的情况下通过 adb 查看 logcat。
其他选项是默认在您的 FW 中启用 ADB。为此,您可以尝试一下。在 MK 文件中将它们设置为此值。
ro.secure=0 ro.adb.secure=0 ro.debuggable=1
编译一个 userdebug 类型的构建,刷新它(它默认启用 ADB)并记录输出。