ProGuard: can’t find referenced class com.google.android.gms.R

Although adding this to proguard-project.txt file works, it keeps all classes. -keep class com.google.android.gms.** { *; } -dontwarn com.google.android.gms.** I prefer this, which makes apk file size much smaller: -keep public class com.google.android.gms.* { public *; } -dontwarn com.google.android.gms.** Also note up to date Google Play Proguard notification here: http://developer.android.com/google/play-services/setup.html#Proguard -keep class * extends java.util.ListResourceBundle … Read more

Get referrer after installing app from Android Market

I would try to help who, like me, fails to make install_referrer work and who don’t find ANY useful information about these features. Notes: The intent com.android.vending.INSTALL_REFERRER will be caught during the install process, not when the application starts for the first time. The referrer …extras.getString(“referrer”).. is fixed but the contents can be any string … Read more

GoogleApiClient is throwing “GoogleApiClient is not connected yet” AFTER onConnected function getting called

I just noticed that you are creating the googleApiClient in onStartCommand(). This seems like a bad idea. Let’s say that your service gets triggered twice. Two googleApiClient objects will get created, but you’ll only have reference to one. If the one whose reference you don’t have executes its callback to onConnected(), you will be connected … Read more

Missing “/extras/google/google_play_services/libproject” folder after update to revision 30

Looks like Google just broke down Google Play Services into multiple libraries. You’ll find them in <sdk>/extras/google/m2repository/com/google/android/gms, if you also updated Google Repository through the SDK Manager. The individual libraries are in aar format, so you’ll have to extract the jar yourself, if that’s what you’re after.

New Google sign in Android

I had exactly the same problem and i have found the solution. If you follow the documentation found here: https://developers.google.com/identity/sign-in/android/start-integrating The first step tells you to create the configuration file (which creates an OAuth 2.0 client ID for you and inserts it into the google-services.json) Then later, it says again about creating a OAuth 2.0 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)