google-play-services

Google Maps do not work on emulator [duplicate]

放肆的年华 提交于 2019-12-12 08:39:39
问题 This question already has answers here : How to download Google Play Services in an Android emulator? (12 answers) Closed 3 years ago . Sorry my bad english. I have a problem with Google Maps. I did create a program from the Android Studio by selecting "Google Maps Activity" in the process of creating a new project, the program by connecting a real phone to the computer WORKS, using emulator me It appears written: "My Application 90 will not run without Google Play services, Which are missing

Referencing the google-play-services library

Deadly 提交于 2019-12-12 08:21:56
问题 I'm working on a project using the Google Maps Android API v2, and I have a problem when I start referencing google-play-services_lib. A red exclamation mark appears on my project icon, and I have an error message in the "Problems" tab (I'm using Eclipse) : The container 'Android Dependencies' references non existing library 'C:\Users\Labo FMS\Documents\Applications\04-adt-bundle-windows-x86_64\sdk\extras\google\google_play_services\libproject\google-play-services_lib\bin\google-play-services

Multiple API keys for Single Android Studio Project

房东的猫 提交于 2019-12-12 08:17:10
问题 I'm using Google Maps API v2 for android and Google Places API, both have different api-keys to be added to manifest, but when i add both the keys, i got multiple-key error. Is it possible to add two different keys for two different APIs, if not, then what is the possible work around? <!-- Goolge Maps API Key --> <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyD****************U6QybngOI" /> <meta-data android:name="com.google.android.geo.API_KEY" android

Use .GetMapAsync instead .getMap method with Google Play Services (Xamarin)

橙三吉。 提交于 2019-12-12 08:07:32
问题 An old code works perfectly in this way: LatLng location = new LatLng (myClass.myLocation.Latitude, myClass.myLocation.Longitude); CameraPosition.Builder builder = CameraPosition.InvokeBuilder (); builder.Target (location); builder.Zoom (18); CameraPosition cameraPosition = builder.Build (); MapsInitializer.Initialize (this); CameraUpdate cameraUpdate = CameraUpdateFactory.NewCameraPosition (cameraPosition); MapFragment googleMap = FragmentManager.FindFragmentById<MapFragment> (Resource.Id

Use external google-services.json file in library

℡╲_俬逩灬. 提交于 2019-12-12 08:06:10
问题 I'm sharing a single login module across my apps, with a LoginActivity that handles both Facebook and Google auth (logic + UI). Now, with Facebook it's easy to specify a different ID for each app, overriding the library's facebook_app_id string in the app module. I didn't find a way to do the same with Google Sign-In because it requires a google-services.json file. In fact, the build fails if I include the file in the app modules and not in the login library. Error:Execution failed for task '

java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable

ⅰ亾dé卋堺 提交于 2019-12-12 07:02:49
问题 in XML <fragment android:id="@+id/map" android:name="in.mpo.mpmobile.KioskListLocation" android:layout_width="match_parent" android:layout_height="wrap_content" class="com.google.android.gms.maps.SupportMapFragment" /> I am trying to load Google Map but unfortunately it show error java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable at com.google.android.gms.maps.GoogleMapOptions.createFromAttri‌​butes(Unknown Source) at com.google.android.gms.maps.MapFragment.onInflate(Unknown

How to give option for enable GPS

醉酒当歌 提交于 2019-12-12 06:49:25
问题 I want to show dialog box for turn on GPS when GPS is disable . See the image. When i click on YES then should be automatically turn on my GPS without going into setting. So , how can i enable GPS by select YES option ? 回答1: This is part of Google play service api since 7.0 called SettingsApi . Location settings - While the FusedLocationProviderApi combines multiple sensors to give you the optimal location, the accuracy of the location your app receives still depends greatly on the settings

Error message I got when I went to upload to the playstore

与世无争的帅哥 提交于 2019-12-12 06:37:56
问题 This is the message I get, when I try to upload signed-aligned APK to the play store. Can someone please help out to fix the bug!! Your APK cannot be analyzed using 'aapt dump badging'. Error output:Failed to run aapt dump badging:W/ResourceType( 8485):Bad resource table: header size 0xc263 or total size 0x38f9a63b is larger than data size 0x34818 W/zipro ( 8485): Zip inflate failed, zerr=-3 (nIn=0xf744efb6 aIn=2130 nOut=0xf82e73b8 aOut=8324) ERROR: AndroidManifest.xml is corrupt here is the

<Android App> is having trouble with google play services

心不动则不痛 提交于 2019-12-12 06:23:12
问题 My app has following gradle configurations Min Sdk version:15 Target Sdk version:23 compile 'com.google.android.gms:play-services-drive:9.6.1' classpath 'com.google.gms:google-services:3.0.0' Android version 6.0 Google Play Services version 10.2.98 Also i registered my app on https://console.developers.google.com/apis/credentials Using the following code for drive api private void connectToDrive(){ GoogleApiClient.ConnectionCallbacks ccb = new GoogleApiClient.ConnectionCallbacks() { @Override

the google play services resources were not found error using admob

跟風遠走 提交于 2019-12-12 06:00:10
问题 I am trying to get interestial ads from admob, but there is an error related to play services resources. Here is my error log cat. The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. 12-19 00:08:48.240: W/ResourceType(10113): getEntry failing because entryIndex 13 is beyond type entryCount 5 Failure getting entry for 0x7f0b000d (t=10 e=13) in package 0 (error -2147483647) 回答1: It's likely to do with how