java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alexvas.dvr/com.alexvas.dvr.activity.ManageCamerasActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #1: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView


Solutions on the web17678

Solution icon of github
Unable to start activity ComponentInfo{com.alexvas.dvr/com.alexvas.dvr.activity.ManageCamerasActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #1: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example/com.example.activity.ManageCamerasActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #1: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.j.a.p/com.j.a.p.MainActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class android.support.design.widget.NavigationView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{apps.radwin.wintouch/apps.radwin.wintouch.Aligment_Best_Position_Activity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #26: Error inflating class <unknown>

Solution icon of stackoverflow
via Stack Overflow by Satyam
, 3 months ago
Unable to start activity ComponentInfo{com.example.satyamchaturvedi.frag/com.example.satyamchaturvedi.frag.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>

Solution icon of github
Unable to start activity ComponentInfo{com.sophpark.upark/me.ele.amigo.release.ApkReleaseActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class x

Solution icon of github
via GitHub by wheat7
, 1 month ago
Unable to start activity ComponentInfo{tk.zielony.carbonsamples/tk.zielony.carbonsamples.widget.ToolbarActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class carbon.widget.EditText

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.frank.listview_test/com.example.frank.listview_test.MainActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class fragment

Solution icon of stackoverflow
via Stack Overflow by Majid ahmadi
, 10 months ago
Unable to start activity ComponentInfo{ir.itpaz.masooman/ir.itpaz.masooman.MainActivity}: android.view.InflateException: Binary XML file line #23: Binary XML file line #23: Error inflating class fragment

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.mugil_2.sampletab/com.example.mugil_2.sampletab.MainActivity}: android.view.InflateException: Binary XML file line #33: Binary XML file line #33: Error inflating class android.support.v7.widget.TabLayout

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alexvas.dvr/com.alexvas.dvr.activity.ManageCamerasActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #1: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3319)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3415)
	at android.app.ActivityThread.access$1100(ActivityThread.java:229)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:7325)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: android.view.InflateException: Binary XML file line #11: Binary XML file line #1: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView
	at android.view.LayoutInflater.inflate(LayoutInflater.java:551)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
	at android.support.v7.app.m.b(SourceFile:288)
	at android.support.v7.app.e.setContentView(SourceFile:140)
	at com.alexvas.dvr.activity.ManageCamerasActivity.onCreate(SourceFile:232)
	at android.app.Activity.performCreate(Activity.java:6904)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3266)
	... 9 more
Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView
	at android.view.LayoutInflater.createView(LayoutInflater.java:657)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776)
	at android.view.LayoutInflater.parseInclude(LayoutInflater.java:966)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:843)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:527)
	... 17 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at android.view.LayoutInflater.createView(LayoutInflater.java:631)
	... 22 more
Caused by: java.lang.IllegalStateException: You must call initSharedInstance before calling getSharedInstance.
	at com.github.stkent.amplify.b.a.b(SourceFile:101)
	at com.github.stkent.amplify.prompt.a.<init>(SourceFile:113)
	at com.github.stkent.amplify.prompt.DefaultLayoutPromptView.<init>(SourceFile:52)
	at com.github.stkent.amplify.prompt.DefaultLayoutPromptView.<init>(SourceFile:44)
	... 24 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.