Click here to Skip to main content
15,895,656 members

Comments by R. Ganesh Kumar IT (Top 24 by date)

R. Ganesh Kumar IT 10-Jul-14 10:05am View    
I'm using the project posted in below link.

http://www.codeproject.com/Articles/614946/Android-google-map-api-v-setup
R. Ganesh Kumar IT 10-Jul-14 9:58am View    
LogCat:

07-10 09:52:28.566: W/dalvikvm(1685): threadid=1: thread exiting with uncaught exception (group=0xb1a3aba8)
07-10 09:52:28.596: E/AndroidRuntime(1685): FATAL EXCEPTION: main
07-10 09:52:28.596: E/AndroidRuntime(1685): Process: com.example.googlev2map, PID: 1685
07-10 09:52:28.596: E/AndroidRuntime(1685): java.lang.RuntimeException: Unable to start activity ComponentInfo

{com.example.googlev2map/com.example.googlev2map.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.ActivityThread.access$800(ActivityThread.java:135)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.os.Handler.dispatchMessage(Handler.java:102)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.os.Looper.loop(Looper.java:136)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.ActivityThread.main(ActivityThread.java:5017)
07-10 09:52:28.596: E/AndroidRuntime(1685): at java.lang.reflect.Method.invokeNative(Native Method)
07-10 09:52:28.596: E/AndroidRuntime(1685): at java.lang.reflect.Method.invoke(Method.java:515)
07-10 09:52:28.596: E/AndroidRuntime(1685): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
07-10 09:52:28.596: E/AndroidRuntime(1685): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
07-10 09:52:28.596: E/AndroidRuntime(1685): at dalvik.system.NativeStart.main(Native Method)
07-10 09:52:28.596: E/AndroidRuntime(1685): Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
07-10 09:52:28.596: E/AndroidRuntime(1685): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.Activity.setContentView(Activity.java:1929)
07-10 09:52:28.596: E/AndroidRuntime(1685): at com.example.googlev2map.MainActivity.onCreate(MainActivity.java:17)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.Activity.performCreate(Activity.java:5231)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
07-10 09:52:28.596: E/AndroidRuntime(1685): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
07-10 09:52:28.596: E/AndroidRuntime(1685): ... 11 more
07-10 09:52:28.596: E/AndroidRuntime(1685): Caused by: java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right

value. Expected 5077000 but found 0. You must have the following declaration within the <application> element: <meta-data

android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
07-10 09:52:28.596: E/AndroidRuntime(1685): at com.google.android.gms.common.GooglePlayServicesUtil.x(Unknown Source)
07-10 09:52:28.596: E/AndroidRuntime(1685): at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
07-10 09:52:28.596: E/AndroidRuntime(1685):
R. Ganesh Kumar IT 10-Jul-14 9:54am View    
Console log:

[2014-07-10 19:22:17 - googleV2Map] ------------------------------
[2014-07-10 19:22:17 - googleV2Map] Android Launch!
[2014-07-10 19:22:17 - googleV2Map] adb is running normally.
[2014-07-10 19:22:17 - googleV2Map] Performing com.example.googlev2map.MainActivity activity launch
[2014-07-10 19:22:17 - googleV2Map] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'AVD_for_Galaxy_Nexus'
[2014-07-10 19:22:20 - googleV2Map] Application already deployed. No need to reinstall.
[2014-07-10 19:22:20 - google-play-services_lib] Could not find google-play-services_lib.apk!
[2014-07-10 19:22:20 - googleV2Map] Starting activity com.example.googlev2map.MainActivity on device emulator-5554
[2014-07-10 19:22:22 - googleV2Map] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.googlev2map/.MainActivity }
R. Ganesh Kumar IT 10-Jul-14 1:42am View    
I get error in emulator
Unfortunately, google play service has stopped
Unfortunately, googleV2Map has stopped
R. Ganesh Kumar IT 10-Jul-14 1:29am View    
I've created new workspace with name "workspace1"
The folders in the work space are

.metadata
google-play-services_lib
appcompat_v7
googleV2Map

and other project samples

The jar files in the project's libs folder "googleV2Map" are

appcompat_v7.jar
google-play-services_lib.jar