I\'m getting this error. It\'s saying ClassLoader referenced unknown path
And I don\'t know what to do? Can anyone solve my problem?
03-11 01:35
W/System: ClassLoader referenced unknown path: /data/app/com.pptsindia.feedapp-1/lib/x86
Is not an error. It is a warning from the system.
Your error is actually a little bit below:
FATAL EXCEPTION: main
Process: com.pptsindia.feedapp, PID: 3040
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pptsindia.feedapp/com.pptsindia.feedapp.MainActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class at.markushi.ui.CircleButton
Basically you have a problem on your XML file.
So you have to keep reading the stack to make sure you get to the root of your problem. As you can see logcat show a prefix on every line it logs
V
— Verbose (lowest priority)
D
— Debug
I
— Info
W
— Warning
E
— Error
F
— Fatal
S
— Silent (highest priority, on which nothing is ever printed)
More information on Android Developer - Debugging log.
EDIT
Without further information it is impossible to know what the actual problem was. You would have to provide your XML file, but in that case I would suggest you open another question for that.
For those who will find this thread in the future still looking for answer (just as I did).
W/System: ClassLoader referenced unknown path: /data/app/[...]/lib/x86
was the only error/warning I had in LogCat. After trying almost anything, cleaning app data in Android OS (Settings -> Applications -> MyApp -> Memory -> Clear data) was the only solution that worked.
I hope that it helps someone.
In my case it was Instant Run in Android Studio 3.0. I've disabled it and I finally could run app in debug mode!
Looks like Instant Run is still buggy...
To find it: File -> Settings -> Build, Execution, Deployment -> Instant Run