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.
有没有办法通过使用 ruby 来获得 logcat?实际上,我使用 calabash-android 框架来编写一些 android 应用程序的验收测试。但是,我必须得到 logcat。有一个参数可用于在应用程序中进行身份验证。
通过以下方式解决:
log = `adb logcat -d | grep "tag_name"`