Comments (2)
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" [email protected] 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
.
from android-testdpc.
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.
from android-testdpc.
Related Issues (20)
- testDPC app crashing on Android 14 (multiuser, user 10) HOT 1
- Couldn't launch 'test dpc' app built myself HOT 1
- How I can run this in My Android Studio HOT 2
- Action APPLICATION_RESTRICTIONS_CHANGED
- add android.permission.POST_NOTIFICATIONS HOT 1
- No toolchains found HOT 1
- DeviceAdminReceiver.onProfileProvisioningComplete() not getting called on when managed profile is created HOT 1
- ADB provisioning command in README is not very noticable HOT 1
- Bazel build is failing HOT 1
- WifiEapTlsCreateDialogFragment's save feature not capable of saving any WiFi Configurations
- Android tester HOT 1
- Cross profile calendar not working properly HOT 1
- cannot import this project to my android studio even after loading bazel plugins HOT 1
- Getting error in "bazel build testdpc" command HOT 3
- Review testing setup HOT 2
- TesDPC keeps stopping after Reboot in Android 14 HOT 1
- Can not revoke admin to uninstall testdpc HOT 2
- Screen text not visible properly HOT 1
- Issue while running bazel //:testdpc HOT 1
- Unable to setup managed profile HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-testdpc.