java.lang.RuntimeException: Unable to resume activity {com.example/com.example.LaunchActivity}: android.view.InflateException: Binary XML file line #32: Binary XML file line #32: Error inflating class <unknown>

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

,
via Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via GitHub by luiges90
, 1 year ago
Unable to resume activity {com.example/com.example.LaunchActivity}: android.view.InflateException: Binary XML file line #32: Binary XML file line #32: Error inflating class <unknown>
via Stack Overflow by Neha
, 8 months ago
Unable to resume activity {com.campaign/com.ui.MainActivity}: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was NUMBER at line 1 column 34 path $.aEl
via GitHub by mhwu1103
, 5 months ago
Unable to resume activity {com.flurgle.camerakit.demo/com.flurgle.camerakit.demo.MainActivity}: java.lang.RuntimeException: setParameters failed
via GitHub by victorv
, 8 months ago
Unable to resume activity {com.example.bwasti.aicamera/com.example.bwasti.aicamera.MainActivity}: java.lang.RuntimeException: Fail to connect to camera service
via Stack Overflow by TheQ
, 1 year ago
Unable to resume activity {com.androidfu.example.geofences/com.androidfu.example.geofences.GeofenceExampleLauncher}: java.lang.SecurityException: com.androidfu.example.geofences from uid 10170 not allowed to perform MOCK_LOCATION
via Stack Overflow by Gus
, 10 months ago
Unable to resume activity {com.example.a8460p.locationotes/com.example.a8460p.locationotes.MapsActivity}: java.lang.IllegalStateException: System services not available to Activities before onCreate()
java.lang.RuntimeException: Unable to resume activity {com.example/com.example.LaunchActivity}: android.view.InflateException: Binary XML file line #32: Binary XML file line #32: Error inflating class <unknown>
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3110)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3141)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2488)
at android.app.ActivityThread.access$900(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5442)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)

Users with the same issue

3 times, 4 months ago
Once, 1 year ago
16 times, 1 year ago
1047 times, 1 year ago
4 times, 1 year ago

Write tip

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