w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Google Play Services with Proguard in Android Studio
For the "Picasso" library, you just have to add this to your ProGuard configuration: -dontwarn com.squareup.okhttp.** This is because "Picasso" has an optional library that is called "OkHttp". This is not included, but not needed, either. For the Google Play Services, there seems to be some inconsistency with the library. You should update your library files and clean the project.

Categories : Android

Including Google Play Services to Android Studio project
I'm assuming you have encountered a ClassNotFound exception because of the question you have referenced. If you were working in Eclipse I would suggest making sure you have checked "is library" on the Google Play Services library project and then making sure this library project is referenced in your app project. However for Android Studio I suggest you look at this: Android Studio with Google Play Services The accepted answer looks relevant and presents a more complete procedure than the question you referenced.

Categories : Java

How do I compile the Google Play libraries under Android Studio preview edition?
Assuming that you are on MacOS, and that you have saved your project in the default location, you should have a ~/Android Studio Projects/MyAppProject directory. From a Terminal window, copy the Play Services project directory into your project: cp -R /Applications/Android Studio.app/sdk/extras/google/google_play_services/libproject/google-play-services_lib ~/Android Studio Projects/MyAppProject . You should now have a directory like MyAppProject/google-play-services_lib . Save this build script as MyAppProject/google-play-services_lib/build.gradle and edit the compileSdkVersion if needed: buildscript { repositories { maven { url 'http://repo1.maven.org/maven2' } } dependencies { classpath 'com.android.tools.build:gradle:0.4' } } apply plugin: 'a

Categories : Android

Android Studio : Project successfuly compiled but can't acces Google Play Services on device
May be your problem is Fragments are not supported below 3.0 versions.But you are used Use your minimumSDk version 3.0 are above 3.0 or Use SupportMapFragment instead of MapFragment If you want Tutorial see this http://venkoolit.blogspot.in/2013/05/tutorial-for-develop-google-maps-in-api.html

Categories : Java

Google Maps v2 : how import google-play-service.jar into Android Dependencies
Have you declared the Activity in your manifest? Edit: Once you import library into your workspace (In Eclipse), you right click on the project, open properties, click android and at the bottom you will see library import section. Add it to that.

Categories : Android

Google Cloud Messaging for Android library vs. Google Play Services
As far as I know, yes, the old one is deprecated (it says so here http://developer.android.com/reference/gcm-packages.html), but still works. I would recommend using the Play Services version, though, since it's MUCH easier to configure and use, and if you don't need G+ login or anything else you don't have to use it. Yes, your APK will be a little bit bigger, but I think it's worth it. Plus, any new features or improvements to the protocol will most likely be only for the Play Services library, and not for the old one.

Categories : Android

Android - Google Maps, Google Play Services library referencing
You can find the .jar file inside the libs folder of imported library(...android-sdkextrasgooglegoogle_play_serviceslibprojectgoogle-play-services_liblibs). But referencing only that jar file may be improper. I tried to do so for google maps, but didn't work. Suggested way is to import that library project to the workspace and refer the whole.

Categories : Android

SERVICE_VERSION_UPDATE_REQUIRED and Google play service out of date while integrating Google Plus in android
I got this error simply because Google Play Services actually were out of date when running on the emulator. Apparently Google hasn't updated Google Play Services on "old" emulators (such as Android 4.2.2). Using the Google API 19 (Android 4.4) emulator works for me. Should work with Android 4.2.2 and other when running on a physical device though (where Google Play Services on the device is actually updated). Here's the issue thread regarding this problem: https://code.google.com/p/android/issues/detail?id=57880. The old emulators will likely not be updated. Question by user: Will the older API Level 17 be updated with a new Google Play services? Project member answer: Sorry, we're only committing to keeping the latest API up-to-date.

Categories : Android

dependency=[com.google.android.gms:google-play-services:apklib:7:compile] not found in workspace
Finally the problem was about artifacts naming and apklib not being generated in the apk library project. This is what was wrong: The groupId and artifactId in the library pom were wrong: they must fit the name specified in the error message (I should have read it more carefully). The right values: <groupId>com.google.android.gms</groupId> <artifactId>google-play-services</artifactId> Instead of the ones generated by eclipse when converting the project to maven, which were based on the project name: <groupId>google-play-services_lib</groupId> <artifactId>google-play-services_lib</artifactId> The apklib is not generated with mvn compile, the right instruction for that is mvn package. This way the apklib file gets generated in targe

Categories : Android

authenticating into Google Play Game Services on android results in error when signing in with Google Apps account
This was driving me nuts for a while. This worked for me: Log into the Developer Console Click on Game Services, then Testing Delete the tester account that's not working. Re-add the tester account. Worked right away after I did this. Hope it helps.

Categories : Android

Google Maps for Android when installed from Google Play
If you are using proguard (looks like) add following to your proguard-project.txt -keep class com.google.ads.** -dontwarn com.google.ads.** -keep class com.google.android.gms.maps.** { *; } -keep interface com.google.android.gms.maps.** { *; } this is important

Categories : Android

Google Android Developer add Google Play Service
The link you posted is about how to install the Google Play services SDK, which you need to do if you are making an application that makes use of the service APIs. This is not the same as getting the Google Play store and all its content on your emulator. If you want to run Android apps on your PC you should look at something like this: http://www.bluestacks.com/

Categories : Android

Is google play services app required for GCM to work?
So my question is that for registering an android 2.2 device which has a Google Play app, is Google play services required as well? If you are going to use GoogleCloudMessaging, my understanding is yes, you need Play Services. The older GCM API that does not use the GoogleCloudMessaging class should work on devices without Play Services, as it worked on such devices before Google I|O 2013, when there was no GoogleCloudMessaging class.

Categories : Android

Google map v2 doesn't work in play store
Your Maps API key is tied to the SHA1 signature of the keystore that is used to sign the app .apk. When you run your app from eclipse, a debug keystore is used, when you export your app for release, you use a 'real' keystore (it's SHA1 fingerprint is shown at the end of eclipse's export wizard). So you have to create another Maps API key (to put in your manifest) corresponding with you release keystore for release. Check Google's documentation here.

Categories : Android

Getting message on AVD "This app won't work unless you update Google play services"
Google Android Map Api v2 doc says,you can't run google maps v2 on Android emulator. You must use a device for your tests. But some people suggest it can be done by installing the required services like Google Play Services in the emulator. See the various answers of the following post, you will get some clue. Running Google Maps v2 on Android Emulator

Categories : Android

Error google-play-services_libAndroidManifest.xml not found or not a file with Robolectric 2 and Google Play Services (maps V2)
I have recently encountered the same problem with ActionBarSherlock when running my Robolectric tests under my Maven build plan. The problem was not evident when I was completing builds on a Windows machine and only became apparent after I switched my laptop for a OSX power device. I found that the problem was that the library name "google-play-services_lib" doesn't (exactly) match that of the folder name in the directory structure. In my case, my Eclipse project was called "ActionBarSherlock-4.3.1" whereas the folder itself was called "actionbarsherlock" under the file system. I recommend that you synchronise the two names (Eclipse project and file system) and re-run your tests. Hope that helps.

Categories : Android

Android : Error to install Google play services in android emulator?
This is a hack from one of the posts on SO that I used and had setup on my machine. Dont have the link right now, if someone could post that please, this is just a dump from back then that I had copied. 1.) Create a new emulator 2.) For device choose "5.1'' WVGA (480 x 800: mdpi)", Target choose "Android 4.1.2 - API level 16", "CPU/ABI" choose "ARM" and The rest choose defaults 3.) Start the emulator install com.android.vending-1.apk and com.google.android.gms-1.apk via ADB install command Voila! It worked for me. Last I checked this was only possible otherwise officialy on devices. But that is 2012 December knowledge, I havent checked again

Categories : Android

Android app, tablet only on google play. How?
Change in manifest like this : <supports-screens android:largeScreens="true" android:normalScreens="false" android:requiresSmallestWidthDp="600" android:smallScreens="false" android:xlargeScreens="true" /> <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="14" /> This will prevent any small/mobile device to install your application. Only device with large screen will have the privilege to install your application. Play store will automatically select the devices cording to these settings.

Categories : Android

About Android Application in Google Play
Please read this article you got idea why license key is needed https://support.google.com/googleplay/android-developer/answer/186113?hl=ta please follow the steps to create a release private signing key: Select File -> Export In the pop-up, expand Android and select Export Android Application In the next pop-up, select the Browse button and select the Project you need to publish the APK of. Click the Next button. The next set of options, is for selecting an existing Keystore or creating a new one. Choose Create new keystore, set a location where you want to save the keystore file, choose your own password and confirm the same. Next page is the Key Creation set of options. In this, create an alias for the keystore. Again, choose a password and confirm the same. Set a validity in numbe

Categories : Android

Google Play Android Developer API
Have you looked at https://developers.google.com/android-publisher/authorization. This contains all the details you should need. Basically, you login via your Google Account to the google api console, create a new project from the menu on the left and then on the list of api's on the right find the name of the api for the google play developer api and turn it on. You will then need to follow the instruction on the web page about you create a new client. Hope this helps.

Categories : Android

requestFeature() before adding content error when trying to make AndEngine work with Google Play Game Service
Exception requestFeature() must be called before adding content telling everything call requestFullscreen() before setContenview() Edit try REQUEST FULLSCREEN after super.onCreate() @Override protected void onCreate(final Bundle pSavedInstanceState) { super.onCreate(pSavedInstanceState); this.applyEngineOptions(); //REQUEST FULLSCREEN

Categories : Java

Could not find com.google.android.gms:play-services:3.1.59 3.2.25 4.0.30 4.1.32 4.2.40 4.2.42 4.3.23 4.4.52 5.0.77 5.0.89 5.2.08 6.1.11 6.1.71 6.5.87
Check if you also installed the "Google Repository". If not, you also have to install the "Google Repository" in your SDK Manager. Also be aware that there might be 2 SDK installations - one coming from AndroidStudio and one you might have installed. Better consolidate this to one installation - this is a common pitfall - that you have it installed in one installation but it fails when you build with the other installation.

Categories : Android

Deploy Android app to Google Play that contains only service
From what I understand this is perfectly fine, an app doesn't need to have a main intent action, such as live wallpapers etc. I remember reading about the Account Sync system in android and that actually encourage you to create a separate APK for your service if it's going to be used by multiple apps rather than deploying the same service into multiple APKs

Categories : Android

Can't find Android App in Google play Store
The App compatibility depends on many factors, i.e. screen sizes, OS version, device hardware support, some features added in app, etc... All this information is provided on Android Developer website by Google. You can go through the topic Filters on Google Play and maybe revise the manifest.xml file of your app. You might get some idea why it is not compatible with several devices.

Categories : Android

Can't import Android google-play-services_lib
This means that somewhere the google play services JAR file is referenced more than once in your project. Most likely once due to a library project dependency, and possible a second time as an Android dependency (by having the JAR file in your libs folder, or by referencing it some other way using a build configuration). Remove all other references to Google Play Services and only keep the library project dependency. ADT will do the rest.

Categories : Android

How to sign a certificate for my App for Android Google Play?
Actually you are trying to upload the apk which is Signed by debug certificate. You need to create your own certificate and then sign your application with that. Signing Your Applications is the best tutorials for that. And How to sign an android apk file is also a very good resource. Image representation is at Build Android application package file (APK) using Eclipse IDE and Android Developer Tools (ADT) Plugin As you are using PhoneGap so Android Signing from PhoneGap is the official documentation.

Categories : Android

Android Google Play Service Lifetime
I was facing the same problem and I had to bring the Service to Foreground and Alhamdullilah the following worked for me. Add the following in your onStartCommand() method if your service is not bound. ....... Notification.Builder builder = new Builder(this); builder.setSmallIcon(R.drawable.ic_launcher); builder.setContentTitle("content title"); builder.setTicker("ticker"); builder.setContentText("content text").setWhen(System.currentTimeMillis()); Notification notification = builder.build(); notification.flags |= Notification.FLAG_NO_CLEAR; startForeground(42, notification); return START_STICKY;

Categories : Android

get location without google play services -android
Just use the location manager like you said http://developer.android.com/guide/topics/location/strategies.html

Categories : Android

Android NEW GCM PUSH (With Google Play Services)
The official documentation includes a tutorial for Implementing the GCM Client using the new GoogleCloundMessaging API.

Categories : Android

consumptionState from Google Play Android Developer API
Unable to add a comment, but I agree. The values I get back from the Purchase Status API do seem to be the opposite way to the API documentation. I have confirmed that my unmanaged item purchases are consumed by my app code where appropriate, and each shows a consumptionState code of 1 via the API call on my server. The one managed item I have, which is not consumed by the app shows a consumptionState code of 0. I've submitted a bug report on the API documentation page, and will update here if I get any response. https://developers.google.com/android-publisher/v1_1/inapppurchases#resource

Categories : Android

Google Cloud Endpoint work in Google APIs Explorer but not on Android (Bad Request)
It seems likely that the error is originating from Datastore, not Endpoints. Please double check that the URLs in both the Explorer and Android requests are identical, and also check any Datastore operations you're making in your test case. In particular, check to make sure if you create Datastore Key objects that they have names.

Categories : Java

Android : remote app id does not match stored id (Only on Google Play)
Here is an article explaining how to sign your Android app. http://developer.android.com/tools/publishing/app-signing.html There is information there on how to generate your keys as well as how to use them within Eclipse. Here is the example from that page on how to generate a private key: $ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 Make sure you read the whole page, there is lots of good information there.

Categories : Android

Android retrieve google play account with which the app was downloaded
All Google accounts are stored on the device; just read that, I've seen permissions to do it, but I haven't done the code myself. After that, send the data to your DB along with the UUID and store them. Word of warning though...this method is not very popular with customers as they find it too restrictive. You have to allow for multiple devices with the same account on it. Storing customer information must be encrypted(REQUIRED BY LAW).

Categories : Android

Curiosity with share app android link to google play
You can link to the Google Play website https://play.google.com/store/apps/details?id=your.package.name or you can use the maket schema: market://search?q=your.package.name. The last one will open the PlayStore in every case (unless you have installed some malicious apps).

Categories : Android

Android table specifications for google play store
Are you sure that only tablets are filtered out? Google Play filters applications based on explicit and implicit feature requirements. Implicit feature requirements are derived from requested permissions. For example, your manifest implies GPS requirement. If your app doesn't really need GPS, you need to disable the filter explicitly <uses-feature android:name="android.hardware.location.gps" android:required="false" /> There are also other implicit requirements, for example, if you force portrait orientation for any of yours activity, Play Store will filter devices by the implicit android.hardware.screen.portrait requirement, which can be also explicitly disabled <uses-feature android:name="android.hardware.screen.portrait" android:required="false" />

Categories : Android

Can I use a PayPal donation button in my Android app in Google Play?
yes you can use PayPal services in your app there are many apps currently using it example- check the link https://play.google.com/store/apps/details?id=biz.apporiginal.creditcall

Categories : Android

Error while uploading Android .apk file to Google Play
I'm guessing you're missing some string in ´values/strings.xml´ that you missed - app_name?. If you're using an IDE with android tools you could clean the project and rebuild it, that should clear the error or give you a pointer on what is wrong.

Categories : Android

Google Play Services Android won't sign in Adobe Air
Now I can answer my question officially: I fixed it. Apparently if you go to the API console and change the Oauth from there the game services doesn't detect it. I originally put in the wrong SHA1 and fixed it through the API and not the google services developer console. http://www.youtube.com/watch?v=nkJS_W-VC9I (it's problem #6 which is really n)

Categories : Android

How can I access the alpha version of my Android app on Google Play?
Have you published the app? Or just uploaded it? You have enter some information and confirm publish restrictions, set the price, etc. At the end you heve to press publish key on top right corner.

Categories : Android

I'm having trouble getting my beta ready android app out in Google play
Just upload your Beta into the Beta channel. You actually have to publish the app. This only publishes the Beta for your testers, not a production channel. So the steps usually are: upload apk into Beta paste the link to your community/Google group publish the app (top right corner) grab the opt-in link and send it to your testers send a Play Store link or the signed apk to your testers This takes like 2-24 hours for your testers to see the app in the Play Store. Some of my testers still don't see the app after 4 days.. Seems not completely reliable, yet. Hope this helps. Have fun :)

Categories : Android



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.