Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
04-15 17:57:57.677: E/AndroidRuntime(29310): FATAL EXCEPTION: main
04-15 17:57:57.677: E/AndroidRuntime(29310): java.lang.RuntimeException: Unable to start activity ComponentInfo{in.wptrafficanalyzer.locationgooglemapv2demo/in.wptrafficanalyzer.locationgooglemapv2demo.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.access$600(ActivityThread.java:141)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.os.Handler.dispatchMessage(Handler.java:99)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.os.Looper.loop(Looper.java:137)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.main(ActivityThread.java:5041)
04-15 17:57:57.677: E/AndroidRuntime(29310): at java.lang.reflect.Method.invokeNative(Native Method)
04-15 17:57:57.677: E/AndroidRuntime(29310): at java.lang.reflect.Method.invoke(Method.java:511)
04-15 17:57:57.677: E/AndroidRuntime(29310): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
04-15 17:57:57.677: E/AndroidRuntime(29310): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
04-15 17:57:57.677: E/AndroidRuntime(29310): at dalvik.system.NativeStart.main(Native Method)
04-15 17:57:57.677: E/AndroidRuntime(29310): Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
04-15 17:57:57.677: E/AndroidRuntime(29310): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.Activity.setContentView(Activity.java:1881)
04-15 17:57:57.677: E/AndroidRuntime(29310): at in.wptrafficanalyzer.locationgooglemapv2demo.MainActivity.onCreate(MainActivity.java:12)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.Activity.performCreate(Activity.java:5104)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
04-15 17:57:57.677: E/AndroidRuntime(29310): ... 11 more
04-15 17:57:57.677: E/AndroidRuntime(29310): Caused by: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.google.android.gms.maps.SupportMapFragment: make sure class name exists, is public, and has an empty constructor that is public
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.support.v4.app.Fragment.instantiate(Fragment.java:401)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.support.v4.app.Fragment.instantiate(Fragment.java:369)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:272)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:676)
04-15 17:57:57.677: E/AndroidRuntime(29310): ... 21 more
04-15 17:57:57.677: E/AndroidRuntime(29310): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.maps.SupportMapFragment" on path: /data/app/in.wptrafficanalyzer.locationgooglemapv2demo-1.apk
04-15 17:57:57.677: E/AndroidRuntime(29310): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
04-15 17:57:57.677: E/AndroidRuntime(29310): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
04-15 17:57:57.677: E/AndroidRuntime(29310): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
04-15 17:57:57.677: E/AndroidRuntime(29310): at android.support.v4.app.Fragment.instantiate(Fragment.java:391)
04-15 17:57:57.677: E/AndroidRuntime(29310): ... 24 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment