google-play-services

Error in getting Google Maps in android

。_饼干妹妹 提交于 2019-12-20 02:58:17
问题 I am Developing an Andorid Applicaiton which require Google Maps to The application. For That I am Using the same Example in Following Link. Link For Google Maps. in That I had Applied API KEY to andorid Manifist file. <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="API KEY" /> And I am Getting Following Errors. FATAL EXCEPTION: main android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details

Safety environment check in android using SafetyNet Attestation API is not working as it not getting callback on success or failure callback

牧云@^-^@ 提交于 2019-12-20 02:32:40
问题 For saftey environment check in android I was using https://developer.android.com/training/safetynet/attestation.html SafetyNet.getClient(this).attest(nonce, API_KEY) .addOnSuccessListener(this,successListner) .addOnFailureListener(this,failureListener) for which I am getting failure callback with network error null . Can anybody please throw some light on this ? but https://medium.com/@hargoyal/secure-android-app-with-safetynet-8e367a1c8ad0 SafetyNet.SafetyNetApi.attest(mGoogleApiClient,

DriveFolder.listChildren() not showing all its children

我是研究僧i 提交于 2019-12-19 21:19:45
问题 I am making an app which works with google drive. I need to get a list of ALL files inside a folder, but it seems that it isnt possible: when I call listFiles method() i cant get all files inside a DriveFolder. But not only that, in the list of files I get, there are some files which I deleted previously. I have read that it may be caused by a sync delay because of google play services, but I had selected 'Sync now' option in my account settings so I think that the problem is not caused by

Status code 12501 authenticating with google sign-in

五迷三道 提交于 2019-12-19 21:17:33
问题 I am using these below lines of code for G+ sign-in android integration. In app build.gradle : compile 'com.google.android.gms:play-services-auth:8.4.0' compile 'com.google.android.gms:play-services-plus:8.4.0' In MainActivity : GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestEmail() .requestIdToken("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.com") .requestProfile() .build(); AppCompatActivity appCompatActivity = (AppCompatActivity)

File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it

旧时模样 提交于 2019-12-19 18:57:26
问题 I have a project with 1 module and 2 applications. The module is used for code parts that both applications uses. Of course I have separate google-services.json files in the app's root folders. The build was working very well last Friday. Now I try to compile and got this error: File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it. :DoToDoSenderApp:compileDebugSources :DoToDoSenderApp:transformClassesWithDexForDebug UNEXPECTED TOP

File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it

℡╲_俬逩灬. 提交于 2019-12-19 18:57:10
问题 I have a project with 1 module and 2 applications. The module is used for code parts that both applications uses. Of course I have separate google-services.json files in the app's root folders. The build was working very well last Friday. Now I try to compile and got this error: File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it. :DoToDoSenderApp:compileDebugSources :DoToDoSenderApp:transformClassesWithDexForDebug UNEXPECTED TOP

Google Play Game Service failing to sign in

我的梦境 提交于 2019-12-19 12:51:06
问题 I have been banging my head against the wall over this for a number of days now. Despite reading many posts describing numerous problems/solutions to GPS sign-in failure I have been unable to find a solution to my problem. In short, I am developing a game in Android Studio using the LibGDX framework and have added BaseGameUtils as a library and added all the necessary dependencies etc. Problem Statement: When the game starts, it attempts to connect to GPGS but always responds with a 'Failed

Is READ_GSERVICES permission still required for Google Maps?

对着背影说爱祢 提交于 2019-12-19 12:23:22
问题 To add Google Maps to your android application, you need to include a few permissions: <!-- Required --> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <!-- Optional --> <uses-permission android:name="android.permission.ACCESS_COARSE

Google-services.json : What goes in the 'api_key' section to enable Firebase push notifications?

断了今生、忘了曾经 提交于 2019-12-19 11:57:13
问题 I want to enable Firebase Cloud Messaging for push notifications for my Android app. In the google-services.json file needed for push notifications there's a field called "api_key". Right now I have "api_key": [{ "current_key": "" }] Should I put the Web API Key I see on my Firebase Console? 回答1: The api_key value in google-services.json is not used by FCM. (it is used by other Firebase libraries) Generally speaking do not touch the google-services.json that is provided by the Firebase

Permission exception even though permission is set in manifest [duplicate]

江枫思渺然 提交于 2019-12-19 11:39:31
问题 This question already has answers here : Android permission doesn't work even if I have declared it (13 answers) Closed 4 years ago . In my manifest I have: <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> However, when I run my app and press the button that needs this permission I get the following exception: Geofence usage requires ACCESS_FINE_LOCATION permission How can I fix this? I have the permission right under <manifest> I am using Android 6. This is my code: