开发者

How to get the stack trace when installing an app with adb install?

开发者 https://www.devze.com 2023-03-11 00:32 出处:网络
Is it possible to view the stacktrace (as you get when you install via the marketplace) when you install an app via adb insta开发者_JS百科ll command?You have to set the environment variable ADB_TRACE

Is it possible to view the stacktrace (as you get when you install via the marketplace) when you install an app via adb insta开发者_JS百科ll command?


You have to set the environment variable ADB_TRACE to the value 'all'. For Linux it is this command:

export ADB_TRACE=all

The traces from the ADB front-end will be shown on the screen, and the traces from the server will be saved in /tmp/adb.log.

0

精彩评论

暂无评论...
验证码 换一张
取 消