Android : Could not find class 'com.google.android.gms.maps.SupportMapFragment' android.view.InflateException

on Friday, September 26, 2014


I am new to android just trying implement Google maps in my application.I refer this tutorial https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw


I followed all the steps very carefully, I got exception and error "Could not find class 'com.google.android.gms.maps.SupportMapFragment' android.view.InflateException".


I searched for solution, found this link Could Not Find Class com.google.android.gms.maps.SupportMapFragment


It seems he is also having same problem, I tried all the solutions given under above link. Can anyone please help me to solve this problem.


Below is my required LogCat output,


10-27 16:52:48.906: E/Trace(13150): error opening trace file: No such file or directory (2) 10-27 16:52:48.951: E/dalvikvm(13150): Could not find class 'com.google.android.gms.maps.SupportMapFragment', referenced from method com.triodoxic.googlemaptest.MainActivity.onCreate 10-27 16:52:49.046: E/AndroidRuntime(13150): FATAL EXCEPTION: main 10-27 16:52:49.046: E/AndroidRuntime(13150): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.triodoxic.googlemaptest/com.triodoxic.googlemaptest.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class fragment 10-27 16:52:49.046: E/AndroidRuntime(13150): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2196) 10-27 16:52:49.046: E/AndroidRuntime(13150): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2223) 10-27 16:52:49.046: E/AndroidRuntime(13150): at android.app.ActivityThread.access$600(ActivityThread.java:149) 10-27 16:52:49.046: E/AndroidRuntime(13150): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309) 10-27 16:52:49.046: E/AndroidRuntime(13150): at android.os.Handler.dispatchMessage(Handler.java:99)


''


0 comments:

Post a Comment