java.lang.RuntimeException

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

Samebug tips1

You need to setup a GlideModule before use Glide.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2751

  • via GitHub by achinverma
    ,
  • Stack trace

    • java.lang.RuntimeException: 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3150) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3260) at android.app.ActivityThread.access$1000(ActivityThread.java:218) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1734) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6934) 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) Caused by: android.view.InflateException: Binary XML file line Error inflating class fragment at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:770) 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 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:450) at android.app.Activity.setContentView(Activity.java:2400) at br.com.lemarq.sas.ExibeMapaStreetView.onCreate(ExibeMapaStreetView.java:33) at android.app.Activity.performCreate(Activity.java:6609) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3103) ... 10 more Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment com.google.android.gms.maps.StreetViewPanoramaFragment: make sure class name exists, is public, and has an empty constructor that is public at android.app.Fragment.instantiate(Fragment.java:632) at android.app.Fragment.instantiate(Fragment.java:596) at android.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2126) at android.app.Activity.onCreateView(Activity.java:5850) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:740) ... 20 more Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.maps.StreetViewPanoramaFragment" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/br.com.lemarq.sas-1/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.app.Fragment.instantiate(Fragment.java:618) ... 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

    syntech16syntech16
    Once,
    Unknown visitor
    Unknown visitorOnce,
    tone5992tone5992
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    158 more bugmates