Comments (4)
A bugreport right after the issue would be very helpful.
adb bugreport > bugreport.txt
from android-testdpc.
@ming030890 Hi here is the bugreport file.
bugreport.zip
from android-testdpc.
TestDPC crashes, it seems that you have missing support v4 library, try adding com.android.support:support-v4 to build.gradle file to see if it resolves your issue?
Bad process com.afwsamples.testdpc uid 1010124: crashed at time 171245
Short msg: java.lang.ClassNotFoundException
Long msg: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.afwsamples.testdpc-2/base.apk"],nativeLibraryDirectories=[/data/app/com.afwsamples.testdpc-2/lib/arm64, /vendor/lib64, /system/lib64]]
Stack:
java.lang.RuntimeException: Unable to get provider android.support.v4.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.afwsamples.testdpc-2/base.apk"],nativeLibraryDirectories=[/data/app/com.afwsamples.testdpc-2/lib/arm64, /vendor/lib64, /system/lib64]]
at android.app.ActivityThread.installProvider(ActivityThread.java:5162)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4754)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4694)
at android.app.ActivityThread.access$1600(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5423)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:764)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.afwsamples.testdpc-2/base.apk"],nativeLibraryDirectories=[/data/app/com.afwsamples.testdpc-2/lib/arm64, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.app.ActivityThread.installProvider(ActivityThread.java:5147)
... 10 more
Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.FileProvider
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 12 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
from android-testdpc.
@ming030890 I just get the github version of testdpc working by doing a factory reset and re-sideload the testdpc into my device, now it worked.
Thanks for your help @ming030890 :)
from android-testdpc.
Related Issues (20)
- 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
- After successfully import, bazel sync has some error HOT 1
- add zh_cn language
- Exception while testing generateKeyPair
- How to allow access to work data from personal apps? HOT 5
- how to auto allow advanced permissiom?
- How to enable cross profile open my app in regular profile from work profile.
- Test DPC UI app crashes immediately as soon as it is launched HOT 3
- App is not able to Send SMS from work profile for verification.
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.