I know that since Google Play Services r30 the lib folder used to add the services to Eclipse is gone. I also know that Eclipse is no longer supported by google and they support Android Studio. But can I still use the latest Google Play Services (Admob) in Eclipse and how?
Thanks!
I don't see any documentations or tutorials now about Admob in Eclipse. You need to use Android Studio now. Here is a sample tutorial. You can also check this AdMob with Firebase documentation.
The best way to use AdMob is with Firebase, but for those publishers who aren't ready to make the switch just yet, Google Mobile Ads will remain available as a standalone SDK. Android publishers can continue to import the play-services-ads Gradle artifact without using the Firebase plugin, and iOS developers can use the existing Google-Mobile-Ads-SDK CocoaPod. In both cases, the app will get the Google Mobile Ads SDK (including AdMob's ad formats and features) without Firebase.
Related
I am developing for a device that uses AOSP (https://source.android.com/). This device is a Garmin 780 (https://buy.garmin.com/en-US/US/p/569748). The custom build does not include any Google Apps.
I'm new to Android dev, so I'm a bit lacking in the ecosystem knowledge.
I was hoping that someone could explain to me how the OS would handle having an application installed which uses some of the Google Play Services API's (e.g. https://developers.google.com/android/reference/packages).
I've installed an APK that uses:
com.google.android.gms:play-services-analytics
com.google.android.gms:play-services-auth
The application runs. I would have thought that it would fail to run if the libraries were not present. Or are they bundled with the apps APK?
When using the Device File Explorer in Android Studio and checking out the folder /data/data I can confirm that no com.google.android packages are installed.
So I'm really after some confirmation, the way Google Play Services is described here: https://developers.google.com/android/guides/overview seems that Google Play Services must be installed on the device at an OS level in order to make use of them. These services cannot be installed alongside a custom application like normal dependencies right?
That is correct Google Play Services cannot simply be installed for use along with an application.
Google Play Services is a suite of APIs installed by default on most Android devices to allow for apps to easily utilize common features as well as keep the services and Google apps up to date.
Something that might interest you is Open Gapps. It is a way for devices with custom Android ROMs to utilize the Google Play Services package.
I'm an iOS developer, but I recently developed an Android app for a customer, because they were unable to find a developer. So I made it and it works. But, I'm a complete newbie.
My customer says that their users complain than the app is not available for the newest versions of Android. I build the app against the latest version of the SDK. How do I make it compatible with new versions of Android?
The Play console lets you see thousands of devices in the app ecosystem, whether they are compatible with your app, and why. The help article gives more details.
I develop apps for Android using libGDX and I want to add Google services such as Google Games or Goodle Ads but I can't do it. I downloaded Google services with SDK Manager and read many guides but none of them have helped. When I try to add compile 'com.google.android.gms:play-services:7.3+' to build.gradle it pops up errors. Hence my question is how to simply add google service to applications. I program in Android Studio.
Your question is very broad so I can't give you an exact answer.
This is the official place to go if you want to incorporate google play services.
This is the place to go if you want to include google play ads service
Note that Intellij Idea is pretty much the same as Android Studio. Whatever works for Idea works for Android Studio in this case.
I'm trying to Integrate the Admob SDK into my Android app. This is so Admob will work with Mopub. Mopub's instructions link to Google's integration instructions. I'm confused by Google's instructions since I'm not using Android Studio or Gradle.
What is the Eclipse equivalent to the section starting with "Once Google Play services is installed"? I think this is making the build process aware of a Google Play Services jar file. I don't know enough about Eclipse, the Java Build Path, etc to determine the Eclipse equivalent.
http://www.androidbegin.com/tutorial/integrating-new-google-admob-banner-interstitial-ads/
This link will help you integrate google play services into your eclipse project for the purpose of displaying AdMob ads. But as far as I see in google search, there is no official tutorial related to eclipse integration of AdMob now.(It has been replaced by Android Studio tutorial) I guess they might be focusing more towards asking developers to use Android Studio. So I think, we might have to make transition soon.
I'm currently only using the Honeycomb emulator to test a new Fragment-based release, which requires the LVL licensing service. However, every time I start my app on the emulator, it fails the licensing test and my emulator cannot add Google accounts, so I can't try that way either.
How can I get it to work?
I believe that nobody has been able to get the LVL libraries working on any emulator except 2.2. See this posting and this issue report.
I am having the same issues with LVL... however to create the google account on your emulator make sure you create it with the google libraries.. IF you create the emulator with the google libraries you will get the google account set up when you create accounts.