ClassLoader referenced unknown path: /data/app/

前端 未结 3 853
渐次进展
渐次进展 2020-11-27 20:03

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         


        
相关标签:
3条回答
  • 2020-11-27 20: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.

    0 讨论(0)
  • 2020-11-27 20:37

    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.

    0 讨论(0)
  • 2020-11-27 20:39

    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

    0 讨论(0)
提交回复
热议问题