java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shivadeeps.webservice/com.example.shivadeeps.webservice.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class uses-permission

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

,

A required library class, SdkReceiver, is not loaded. Make sure your SDK classpath is configured correctly in the environment variable or use the -cp or -classpath option if running on the command line, to point to your SDK jar files.

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via Stack Overflow by phoenixshiv
, 11 months ago
Unable to start activity ComponentInfo{com.example.shivadeeps.webservice/com.example.shivadeeps.webservice.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class uses-permission
via com.br by Unknown author, 1 year ago
Unable to start activity ComponentInfo{br.com.lemarq.sas/br.com.lemarq.sas.ExibeMapaStreetView}: android.view.InflateException: Binary XML file line Error inflating class fragment
via GitHub by Jayroo5245
, 1 year ago
Unable to start activity ComponentInfo{com.pik.kangoo.debug/com.pik.kangoo.activities.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.mapbox.mapboxsdk.views.MapView
via GitHub by jayronlou
, 6 months ago
Unable to start activity ComponentInfo{com.superstar.fantuan/com.asiainno.starfan.main.ui.MainActivity}: android.view.InflateException: Binary XML file line #119: Error inflating class com.asiainno.starfan.widget.FloatingActionButton
via Stack Overflow by Fondesa
, 2 years ago
Unable to start activity ComponentInfo{com.mypackage/com.mypackage.myactivity}: android.view.InflateException: Binary XML file line #21: Error inflating class android.webkit.WebView
via Stack Overflow by Miguel Angel Martinez
, 1 year ago
Unable to start activity ComponentInfo{com.riogrande.mrg/com.riogrande.mrg.FarmaciasActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
java.lang.ClassNotFoundException: Didn't find class "android.view.uses-permission" on path: DexPathList[[zip file "/data/app/com.example.shivadeeps.webservice-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
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.view.LayoutInflater.createView(LayoutInflater.java:578)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:672)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:689)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:748)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
at android.view.LayoutInflater.inflate(LayoutInflater.java:511)
at android.view.LayoutInflater.inflate(LayoutInflater.java:415)
at android.view.LayoutInflater.inflate(LayoutInflater.java:366)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
at com.example.shivadeeps.webservice.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:6575)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3143)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3300)
at android.app.ActivityThread.access$1000(ActivityThread.java:211)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1705)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6946)
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:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

Users with the same issue

39 times, 4 days ago
Once, 1 month ago
17699 times, 2 months ago
9 times, 2 months ago
2 times, 3 months ago

Write tip

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