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 web55628

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 github
via GitHub by dejiapps
, 6 months ago
Unable to start activity ComponentInfo{com.dejiapps.a4do/com.dejiapps.a4do.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView

Solution icon of github
via GitHub by ecgreb
, 6 months ago
Unable to start activity ComponentInfo{com.mapzen.android.sdk.sample/com.mapzen.android.sdk.sample.BasicMapzenActivity}: android.view.InflateException: Binary XML file line #33: Binary XML file line #1: Binary XML file line #1: Error inflating class com.mapzen.android.graphics.MapView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #1: Error inflating class fragment

Solution icon of github
via GitHub by Revenge94
, 1 year ago
Unable to start activity ComponentInfo{main.SplashActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class pl.droidsonroids.gif.GifImageView

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
via Stack Overflow by Amit Sharma
, 7 months ago
Unable to start activity ComponentInfo{com.dub.app.bridgewaterstate/com.dub.app.bridgewaterstate.ui.CoursesMapScreen}: android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class fragment

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.enye.cuidam/com.enye.cme.activities.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{com.example.myanimation/com.example.myanimation.MainActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class Button

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.