google-play-services

Google SIgn-In for android

[亡魂溺海] 提交于 2019-12-19 10:56:22
问题 I tried the google developer documentation and tried sign-in for my app. The code is copied from the git with added codes from the documentation. and defined in LoginActivity as Public class LoginActivity extends AppCompatActivity implements GoogleApiClient.OnConnectionFailedListener, View.OnClickListener { private static final String TAG = "* * SignIn * *"; private static final int RC_SIGN_IN = 9001; private GoogleApiClient mGoogleApiClient; private ProgressDialog mProgressDialog; Bundle

Admob Interstitial matched requests is too low (~10%)

喜你入骨 提交于 2019-12-19 10:46:23
问题 Last 15 days until now, My admob interstitial unit id always get too low of matched requests. With 15000 Interstitial requests, i just got ~1500 matched (~10%). I can't find what is the root cause. Whether low matched is coming from admob server side or client side (it's mean i implement as wrong way). Someone can help me, and this is some the code that i have implemented: Firstly, i create interstitial. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

Android crash on GooglePlayServices (Games) connect

岁酱吖の 提交于 2019-12-19 10:06:07
问题 I'm messing around with this problem about 10h and i cann't figure out what i've done wrong.... The Fatal Exception : E/AndroidRuntime: FATAL EXCEPTION: main Process: onl.deepspace.zoorallye, PID: 13256 java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information. at com.google.android.gms.common.internal.zzj$zza.zzc(Unknown Source) at com.google.android.gms.common.internal.zzj$zza.zzw(Unknown Source) at com.google.android.gms.common.internal

How can i use older version of google play services?

坚强是说给别人听的谎言 提交于 2019-12-19 09:53:34
问题 I'm using Google Cloud messaging through google play services. The things is it only works on the devices with last version of play services installed, in remaining devices i need to show a dialog to send user to google play to install new version witch i really don't want to do! So how can i avoid this?! I'm trying to use an older version of play services (lets say from 2 years ago) to insure majority of my users don't need to update but it seems impossible with grade and android sdk since

How can i use older version of google play services?

混江龙づ霸主 提交于 2019-12-19 09:52:49
问题 I'm using Google Cloud messaging through google play services. The things is it only works on the devices with last version of play services installed, in remaining devices i need to show a dialog to send user to google play to install new version witch i really don't want to do! So how can i avoid this?! I'm trying to use an older version of play services (lets say from 2 years ago) to insure majority of my users don't need to update but it seems impossible with grade and android sdk since

There is no linked app associated with this client ID

家住魔仙堡 提交于 2019-12-19 07:38:46
问题 I'm becoming crazy with this one. I just published a game on Google Play Store and the game uses the Google Play Games services. Sign-in and leaderboards / achievements worked fined with the application signed with the debug key, but since I built and published my app using my release key, Google+ sign-on is impossible. I always get the infamous error "E/SignInIntentService(25004): There is no linked app associated with this client ID." I double- and triple-checked everything : my app is

Compilation error in Android Studio When making a simple Google Android Maps API v2 project

寵の児 提交于 2019-12-19 07:22:51
问题 Recently I migrated to the New Android Studio IDE based on IntelliJ The Guides i followed were: https://developers.google.com/maps/documentation/android/start ( for basics ) How can I create an Android application in Android Studio that uses the Google Maps Api v2? ( for importing the required Google Play services and support libraries into android studio ) All the libraries were properly detected by Android Studio and i didn't get any 'library not found errors'. The project was shown error

java.lang.NullPointerException: CameraUpdateFactory is not initialized logcat exception

最后都变了- 提交于 2019-12-19 05:35:17
问题 I'm working with Google Maps. I am able to successfully create and can show a Google Map. Now I want to add CameraUpdate(latitude, longitude) . I googled and I found some source code but I'm getting a NullPointerException . The LogCat error message is: java.lang.NullPointerException: CameraUpdateFactory is not initialized This is my source. What am I doing wrong? public class StradaContact extends Fragment { public final static String TAG = StradaContact.class.getSimpleName(); private MapView

java.lang.NullPointerException: CameraUpdateFactory is not initialized logcat exception

自闭症网瘾萝莉.ら 提交于 2019-12-19 05:34:10
问题 I'm working with Google Maps. I am able to successfully create and can show a Google Map. Now I want to add CameraUpdate(latitude, longitude) . I googled and I found some source code but I'm getting a NullPointerException . The LogCat error message is: java.lang.NullPointerException: CameraUpdateFactory is not initialized This is my source. What am I doing wrong? public class StradaContact extends Fragment { public final static String TAG = StradaContact.class.getSimpleName(); private MapView

Could not find com.google.android.gms:play-services-analytics:8.1.0

南楼画角 提交于 2019-12-19 05:19:44
问题 Attempting to compile and debug the Android application I am working on resulted in the following errors: * What went wrong: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_prodDebugStagingCompile'. > Could not find com.google.android.gms:play-services-analytics:8.1.0. Searched in the following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-analytics/8.1.0/play-services-analytics-8.1.0.pom https:/