android.view.InflateException: Binary XML file line #9: Error inflating class com.github.barteksc.pdfviewer.PDFView

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Solutions on the web

via GitHub by akshay-shah
, 1 year ago
Binary XML file line #9: Error inflating class com.github.barteksc.pdfviewer.PDFView
via GitHub by elizacamber
, 3 months ago
Binary XML file line #22: Error inflating class com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx
via GitHub by prasoons
, 1 year ago
Binary XML file line #10: Error inflating class com.viewpagerindicator.TitlePageIndicator
via Stack Overflow by Wull
, 1 year ago
Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
via Stack Overflow by Black
, 1 year ago
Binary XML file line #34: Error inflating class android.support.design.widget.FloatingActionButton
via Google Groups by Josue C.P., 2 years ago
Binary XML file line #1: Error inflating class FragmentTabHost
android.view.InflateException: Binary XML file line #9: Error inflating class com.github.barteksc.pdfviewer.PDFView
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:989)
at com.shockwave.pdfium.PdfiumCore.(PdfiumCore.java:19)
at com.github.barteksc.pdfviewer.PDFView.(PDFView.java:316)
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
at com.justswipe.document.MainActivity.onCreate(MainActivity.java:33)
at android.app.Activity.performCreate(Activity.java:5979)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2262)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.access$800(ActivityThread.java:149)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1289)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5258)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
276 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.