How do I add Google Play Services to an AIDE project? - android

I develop solely in AIDE on my phone and tablet, and want to add Google Play Services.
Using this SDK Manager app (https://play.google.com/store/apps/details?id=com.rebellos.sdkmanager) I can see Google Play Services rev. 22. Is there any way I can see if that is the latest?
Also, what do I do with my AIDE project to start using Google Play Services? Ie how to associate it with the Project etc etc.
My project is a GDX Game Project so has gdx-game and gdx-game-android folders, and while I'm totally happy with how all that works for the game, I'm unsure which one / how I get the downloaded Google Play Services in the project build?

Here is your answer...
https://play.google.com/store/apps/details?id=com.rebellos.sdkmanager&hl=en&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dgoogle+play+services+in+aide&pcampaignid=APPU_1_rqOPVv3QGsKE-gH_iZ_oBA
It's an SDK manager for AIDE on Android! :)

Related

How to add google play services to eclipce

I used to use old version of Google Play Services in my projects. But now I keep getting warnings when I upload my apps to Google Play. These warnings says that I have to update my Google Play Services.
I have the latest version of Google Play Services in SDK manager with Rev.49
In the last versions of Google Play Services, I can find the Google Play library in the following directory:
SDK --> /extras/google/google_play_services/libproject/google-play-services_lib/
But now there is no libproject/google-play-services_lib/. Where can I get the library?
Check out this answer: https://stackoverflow.com/a/37311511/8294916
Or the answer directly below it: https://stackoverflow.com/a/37356709/8294916
Hopefully you can migrate over to Android Studio, but if you're stuck with Eclipse because you're working on a legacy project, I feel for you! :(

Oreo Emulator doesn't have Google Play Services for Maps API

I'm a newb to Android and Android Studio so I'm doing a Udemy course on it.
The course is now at the point where Android API's are being explored. The Android 8.0.0 Emulator however, does not have Google Play Services, and without Google Play I have no way of installing it... I have followed a couple of tutorials to get play services installed which involves downloading a zip and dragging it to the emulator.
After prompting me to install it just failed each time...
I have created a new Android Studio project with the Google Maps template and created API keys.
When building the app this is the screen I get:
Notably clicking update doesn't do anything...
Does anyone know how I can go about using Google Maps API's?
If your AVD supports updating Google Play Services, you should be able to update Play Services from the emulator settings screen:
If it does not, create a new AVD that indicates it does support updating Google Play Services, and try again. System images that support Google Play have a (Google Play) suffix in the chooser:

Google Play Services SDK (version 38) update

First of all: I am a Software Testing Engineer, so I don't create applications. I use Android Studio for AVD creation, than I install already developed apk file on Android Emulator and make tests. About a month ago I have noticed an annoying pop-up "Update Google Play services" and when I clicked "Update" button - nothing happened.
I don't want to describe all my struggles, but finally I decided that root cause is the outdated Google Play Services SDK (now I have version 38). Android Studio doesn't offers me to update it, and also I can't find any information about version 39. Maybe you know something about this and can help me?
You can always check here the latest version of Google Play service. This is the official documentation of Google Play service that shows you the update and the highlights of each version. This page also shows you how to use the Google Play services APIs in the Android studio.
Note that to test your app using the Google Play services SDK, you must use either:
A compatible Android device that runs Android 2.3 or higher and includes Google Play Store.
The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

replacing com.google.android.gms:play-services with google-play-services.jar

I am building a google maps app on android using android studio
When I released the first version of my app, no one was able to view the google maps as google play services must be installed on the devices by users ( I cant ask people to download that in each device) so I want to embed it into my app.
I have been searching for 4 days and no luck so far
I got that google-play-services.jar library can be added to the app and by that no need for the user to install play services
I am not sure if I should use google-play-services.jar or com.google.android.gms:play-services in my android studio app.
I read in other answers that I can use google-play-services.jar into my app so I can get Google Play Services ready without the need for user to install it.
in another said that com.google.android.gms:play-services is a must in the app!
Anyway has experience in this?
Please advice.
Thanks
google-play-services.jar will only interract with installed play services on the smartphone. You can't emmbed the play service application in your apk, there's nos sense.
For peoples who want to use your application, they need to download it by the play store or maybe they already have google music or google maps on their phone, so they have play services installed.
So just add google play services in your gradle file
compile 'com.google.android.gms:play-services:(version)'

Google Play Service library in Android

Hello I am trying to use google-play-services_lib in my android project. As you know in android phone there is Google Play Service APK which provide a some features to you such as location fetching etc.
So I have confusion that Suppose user have Google Play Service APK version is 4.3 and I am using Google Play Services library version is 4.0.30 in android project to build the app.
Do we require same version on both side like build with same latest Google play service library and Google Play Services installed APK to make as like Push Notification, Location fetching work in this case or there is no link between them ?
Thanks in advance
They don't have to match.
The development of the library and the application is not completely dependant, that's why thier version number is different. As far as I know, each release of the services apk defines a maximum version of the library that is supported. So the only conflict could happen when the services apk is outdated (on the target device), and your application's library is a newer one.
The best you can do is to update the library, and the services application on your device.
It should work that way.
I dont think so that there is link between APK and supported libraries in that because the APK silently gets updated about libraries

Categories

Resources