Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk版本号判断有误 #9

Open
waldenana opened this issue Aug 23, 2017 · 1 comment
Open

sdk版本号判断有误 #9

waldenana opened this issue Aug 23, 2017 · 1 comment

Comments

@waldenana
Copy link

AdbDevice中的以下判断写错了版本号,4.3的SDK_INI应该是18,所以这里应该是17而不是16
209 // android 4.3 以下没有 displays
210 int sdkv = Integer.parseInt(sdk);
211 String shellCmd = sdkv > 16 ? "dumpsys window displays | sed -n '3p'" : "dumpsys window";

@imharryzhu
Copy link
Owner

谢谢提出,已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants