-
Notifications
You must be signed in to change notification settings - Fork 92
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
java.lang.NoClassDefFoundError: android.provider.Settings$Global #81
Comments
Might need to either access through reflection or bump minSdkVersion to 17. Line 25 in d770acf
|
please do not bump minSdkVersion to 17 - for me that would mean I need to stop using it. |
I can see that there are two lines that would need to be accessed using reflection or an API check: Line 62 in d770acf
Line 57 in d770acf
Can you see any others? I am surprised this didn't get flagged up in the lint check. Need to replace the call for |
@ligi would you be able to cook up a PR with an API check that calls the appropriate settings method: either |
Yes I am able - but I won't have time for this the next 2 months at minimum. My workaround now is to use test-butler 1.3.2 which works for me. This was just introduced with 1.4.0 via 9aa710c - cc @kurtzmarc @drewhannay |
Strange - this wasn't picked up in lint. I don't see a warning in AS. I'll whip up a fix. |
@kurtzmarc Ah, this is why! Line 27 in d770acf
|
Ah. That was C&P from another class. Really should be removed. |
test-butler 1.4.0 crashes on a emulator with SDK level 15 with:
The text was updated successfully, but these errors were encountered: