google-play-services

Gradle error: Unexpected inputs: android.gms:play-services

不打扰是莪最后的温柔 提交于 2020-01-12 04:19:08
问题 In RunTime show error in Gradle the error: Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'. Unexpected inputs: ImmutableJarInput{name=com.google.android.gms:play-services-basement:9.0.0, file=/home/nawaf/AndroidStudioProjects/YugiohDeckBuilder/app/build/intermediates/transforms/profilers-transform/debug/43.jar, contentTypes=CLASSES, scopes=EXTERNAL_LIBRARIES, status=REMOVED}, ImmutableJarInput{name=com.google.firebase:firebase-analytics:9.0.0, file=/home/nawaf

Gradle build tool cannot find play-services-tasks.aar? Why?

我是研究僧i 提交于 2020-01-11 17:40:12
问题 Today suddenly, I got an error when I tried to run my app in Android studio. It is: Error: Could not find play-services-tasks.aar (com.google.android.gms:play-services-tasks:15.0.1). Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/play-services-tasks/15.0.1/play-services-tasks-15.0.1.aar I didn't change anything in the gradle file but it appeared suddenly. My previous build executed successfully some minutes ago. Why it can't find play-services-tasks

package name and certificate fingerprint combination already exists [closed]

半腔热情 提交于 2020-01-11 10:04:29
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I'm getting an error while trying to add google play services like below: Package name and certificate fingerprint combination already exists How can I handle this? 回答1: I also had the same, i followed these steps it's working fine now. Click on Remove this app from Enter THE APP DETAILS section.

Google sign in failed after frequent signing in and out

岁酱吖の 提交于 2020-01-11 09:43:04
问题 I can sign in my app with Google account at first several times. Everything is fine. But if I sign in and out about 20 times in a one or two minutes. Google sign in failed and in onActivityResult function, it returns error code 12501, resultCode = 0; I'm using the phone: Nexus 6, Android 5.1.1 Here is my code: private GoogleSignInOptions mGso; private GoogleApiClient mGac; public void init(@NonNull final BaseActivity activity) { mGso = new GoogleSignInOptions.Builder(GoogleSignInOptions

Google Play Services Leak

♀尐吖头ヾ 提交于 2020-01-10 22:02:09
问题 I started using Google Play Game Services a while ago, and yesterday while checking the logcat I couldnt help to notice this error: E/DataBuffer(3183): Internal data leak within a DataBuffer object detected! Be sure to explicitly call close() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@40555410) It occurs several times in a row. Im not exactly sure why it arises. It doesnt make my app crash nor makes the

Should I use GoogleAuthUtil.getToken(…) or not?

情到浓时终转凉″ 提交于 2020-01-10 03:17:04
问题 Background: I need to authenticate on my server back-end so I know the client is genuine. In my Android game I connect to Games.API via GoogleApiClient . I only want to have to sign in once, which I want to do via Games.API , as this gives me many advantages (Google Play Games leaderboards, achievements, etc.) I have been able to get an authorisation token using GoogleAuthUtil.getToken(...) which I can do after I sign into Games.API , which seems to give me a token. Good so far. But Google

Utilize both Play Services and AdMob SDK

橙三吉。 提交于 2020-01-09 09:02:24
问题 As MH. pointed out in this question, one no longer needs to include GoogleAdMobAdsSdk-x.x.x.jar in their Android project if they include Google Play Services (see the migration guide). However, I want to, and I'm having trouble. The problem: the google-play-services_lib project includes a definition for com.google.ads.AdRequest that is deprecated, and has a private constructor. It ends up in the classpath in front of the AdMob jar (within the "Android Private Libraries" entry), so when I try

Importing google-play-services lib into Intellij IDEA 12 (and 13)

随声附和 提交于 2020-01-08 15:29:52
问题 I'd like to import (and use) the Google Play Services library into an existing Android project, but I am struggling with what must be a dependency problem. All documentation written by google is based upon Eclipse. We use IntelliJ IDEA. Things I know: I know how to import Modules, Libraries, add Dependencies, etc. in IntelliJ. I also know that according to the getting started guide at Google, you have to add the google-play-services-lib into (Eclipse) as a project (by importing existing code

Importing google-play-services lib into Intellij IDEA 12 (and 13)

♀尐吖头ヾ 提交于 2020-01-08 15:29:07
问题 I'd like to import (and use) the Google Play Services library into an existing Android project, but I am struggling with what must be a dependency problem. All documentation written by google is based upon Eclipse. We use IntelliJ IDEA. Things I know: I know how to import Modules, Libraries, add Dependencies, etc. in IntelliJ. I also know that according to the getting started guide at Google, you have to add the google-play-services-lib into (Eclipse) as a project (by importing existing code

Version conflict updating to play-services 9.4.0 Android studio 2.2

邮差的信 提交于 2020-01-08 12:26:26
问题 I get an error saying Error:Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0. I tried looking at https://bintray.com/android/android-tools/com.google.gms.google-services/ and com.google.gms:google