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

Crash when setting up profile on Nexus 5X running Marshmallow #9

Closed
bjvetter opened this issue Jul 5, 2016 · 2 comments
Closed

Crash when setting up profile on Nexus 5X running Marshmallow #9

bjvetter opened this issue Jul 5, 2016 · 2 comments

Comments

@bjvetter
Copy link

bjvetter commented Jul 5, 2016

I downloaded and built the Test DPC with no changes (using the N SDK on Android Studio). After it starts creating the profile, I see it switch back to the home page and it puts up an error stating that Test DPC has stopped. In the logcat output, I see a fatal exception being thrown - it can't find the android.support.v4.content.FileProvider class.

Installing and running Test DPC from the Play Store on the same device seems to work just fine. Is there a specific version of Android Studio and the SDK required besides Android N alpha2?

@tony-mak
Copy link
Contributor

tony-mak commented Jul 6, 2016

The class is in support library, please make sure you have downloaded
the Android
Support
library using the SDK Manager
https://developer.android.com/topic/libraries/support-library/setup.html#download
.
Also worth try a clean build.

Thanks

On 6 Jul 2016 7:43 am, "bjvetter" notifications@github.com wrote:

I downloaded and built the Test DPC with no changes (using the N SDK on
Android Studio). After it starts creating the profile, I see it switch back
to the home page and it puts up an error stating that Test DPC has stopped.
In the logcat output, I see a fatal exception being thrown - it can't find
the android.support.v4.content.FileProvider class.

Installing and running Test DPC from the Play Store on the same device
seems to work just fine. Is there a specific version of Android Studio and
the SDK required besides Android N alpha2?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#9, or mute the
thread
https://github.com/notifications/unsubscribe/ACL1q6kTZaWxLavxsDRxSXyZmDSWIo7Oks5qSuwEgaJpZM4JFodG
.

@bjvetter
Copy link
Author

bjvetter commented Jul 6, 2016

I have the support library, did a clean build, updated the SDK and the SDK tools, and still get the error when running the built app. The problem is not at compile time - the problem doesn't show up until run time.

That said, I removed everything from my device, reset my gradle version from 2.1.2 to 2.1.0 and then did another clean build, and it worked. Not sure if gradle 2.1.2 produced the issue or if something else is going on.

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