Closed twang11 closed 5 years ago
Did you increase the SDK target version in response to an Android Studio warning? If so, set the SDK target back to 19. Future releases will target 26 without encountering this error.
reversed back to 19, worked. Wondering why target 26 worked for some E4 phones (2 out of 4).
@twang11 The answer is wrapped up in Google's permissions model.
More information than you probably really want here.
https://developer.android.com/guide/topics/permissions/overview
Next year's SDK and Driver Station, will by necessity, e.g. Google decree, ask for permissions when first run. In the meantime don't push the target sdk past 23 and run on an Android 6.0+ phone.
This happened on some of my E4 phones and all of my G4 phones. App crashed right after pushing the new robot controller app.
Phones are running Android 7.1.1 (version 25)