Fixed
Status Update
Comments
tn...@google.com <tn...@google.com>
je...@google.com <je...@google.com>
je...@google.com <je...@google.com>
is...@google.com <is...@google.com>
hu...@google.com <hu...@google.com>
je...@google.com <je...@google.com>
hm...@google.com <hm...@google.com>
hm...@google.com <hm...@google.com> #2
This was broken by 3bca759a5ff08352de831bb1e9b61b1ec2b3362d.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
an...@google.com <an...@google.com> #3
Almost 2 months later and this is still broken
Description
supply all required information.
Build tools: 22.0.1
Gradle project has a marker named `tools:overrideLibrary`. This marker should support asterisk, for example:
tools:overrideLibrary="com.google.android.gms.*"
=== MY ISSUE ===
My app uses minimum SDK 7, and uses library Google Play Services, which requires API 9+:
compile 'com.google.android.gms:play-services:7.3.0'
For all components from the library Google Play Services, the app just wants to use AdMob only, and only if available (for API >= 9). If the user is running API < 9, the app simply doesn't show ads.
To do that, I have to use `tools:overrideLibrary` like this:
<uses-sdk tools:overrideLibrary="com.google.android.gms.all,com.google.android.gms.ads,com.google.android.gms,com.google.android.gms.analytics,com.google.android.gms.appindexing,com.google.android.gms.appinvite,com.google.android.gms.appstate,com.google.android.gms.cast,com.google.android.gms.drive,com.google.android.gms.fitness,com.google.android.gms.location,com.google.android.gms.maps,com.google.android.gms.games,com.google.android.gms.gcm,com.google.android.gms.identity,com.google.android.gms.nearby,com.google.android.gms.panorama,com.google.android.gms.plus,com.google.android.gms.safetynet,com.google.android.gms.wallet,com.google.android.gms.wearable" />
This is ridiculous.
Please add support for asterisk. So instead of above thing, it should be simpler like this:
tools:overrideLibrary="com.google.android.gms.*"
===
Another question: is it wrong that I have to include this library:
compile 'com.google.android.gms:play-services:7.3.0'
then I can't just use this?
tools:overrideLibrary="com.google.android.gms"
It doesn't work at this moment.
Thanks.