## [0.10.2] AdMob support for Android!

yetneverdone
Party member
Posts: 301
Joined: Sat Sep 24, 2016 11:20 am
Contact:

### Re: [0.10.2] AdMob support for Android!

modiX wrote:
Sun Dec 17, 2017 7:49 pm
yetneverdone wrote:
Sun Dec 17, 2017 1:35 pm
IDK how to PR that, please have a look at it before i make any more updates

yetneverdone wrote:
Fri Dec 15, 2017 12:47 pm
Anyways, ive fixed it now. THERE SHOULD REALLY BE A PROPER GUIDE! I dont mind making one, but i think mobiX is already making one. Just ask me if you have any problem
I'm very busy lately. You are welcome to post a guide for it here on the forum, don't hold yourself back.
Oh. I just copied that link from the original repo's wiki
Ill update it

bio1712
Citizen
Posts: 50
Joined: Wed Aug 19, 2015 4:13 pm
Location: Italy

### Re: [0.10.2] AdMob support for Android!

yetneverdone wrote:
Sun Dec 17, 2017 1:35 pm

IDK how to PR that, please have a look at it before i make any more updates
yetneverdone wrote:
Sun Dec 17, 2017 1:35 pm

PS. Youve mentioned that changing AndroidManifest.xml is useless, so what about the game activity? Do i still need to create my own folder struction beside org.love2d.android ??
AndroidManifest.xml is useless if you want to change the version and the bundle identifier, however if you want to change your app's title, you need to edit that.

If you want to change the bundle identifier just edit the gradle file. Therefore you don't need to create a new folder anymore .

yetneverdone
Party member
Posts: 301
Joined: Sat Sep 24, 2016 11:20 am
Contact:

### Re: [0.10.2] AdMob support for Android!

bio1712 wrote:
Thu Dec 21, 2017 9:17 pm
yetneverdone wrote:
Sun Dec 17, 2017 1:35 pm

IDK how to PR that, please have a look at it before i make any more updates
yetneverdone wrote:
Sun Dec 17, 2017 1:35 pm

PS. Youve mentioned that changing AndroidManifest.xml is useless, so what about the game activity? Do i still need to create my own folder struction beside org.love2d.android ??
AndroidManifest.xml is useless if you want to change the version and the bundle identifier, however if you want to change your app's title, you need to edit that.

If you want to change the bundle identifier just edit the gradle file. Therefore you don't need to create a new folder anymore .
Oh. Okay. I'll update my guide to omit that part

modiX
Citizen
Posts: 86
Joined: Mon Dec 04, 2017 1:47 am
Location: Germany

### Re: [0.10.2] AdMob support for Android!

modiX wrote:
Fri Dec 15, 2017 9:29 am
First of all, I forgot to mention that I also had to change love\build.gradle:

Code: Select all

         ndk {
// Specifies the ABI configurations of your native
-            abiFilters 'armeabi-v7a', 'armeabi'
+            abiFilters 'x86'
}
Because I use an Intel.
So I have to facepalm on myself now. This change is not justified, since the given abiFilters define the target architecture and not the architecture of the system that builds the app. Android devices use ARM. The SDL error most likely came from this change.

───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░░░░░░░░█────
▄▄──█░░░▀█▀░░░█──▄▄
█░░█▀▄░░░░░░░▄▀█░░█

TC1061
Prole
Posts: 32
Joined: Sat Oct 14, 2017 3:50 pm

### Re: [0.10.2] AdMob support for Android!

It's a cool idea, I'll try it soon. I found binaries at GitHub (here), because I can't compile it.
P. S. There's no any game.love included in the source. Maybe it's there, but not here.

yetneverdone
Party member
Posts: 301
Joined: Sat Sep 24, 2016 11:20 am
Contact:

### Re: [0.10.2] AdMob support for Android!

The sample game.love, where is it?

modiX
Citizen
Posts: 86
Joined: Mon Dec 04, 2017 1:47 am
Location: Germany

### Re: [0.10.2] AdMob support for Android!

yetneverdone wrote:
Thu Jan 04, 2018 5:19 am
The sample game.love, where is it?
There is a sample game.love in the iOS admob fork by bio: https://love2d.org/forums/viewtopic.php?t=84159
Since both ports provide the same API it should work, haven't tested it, tho.

Location is platform/xcode/game.love

───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░░░░░░░░█────
▄▄──█░░░▀█▀░░░█──▄▄
█░░█▀▄░░░░░░░▄▀█░░█

yetneverdone
Party member
Posts: 301
Joined: Sat Sep 24, 2016 11:20 am
Contact:

### Re: [0.10.2] AdMob support for Android!

p0co
Prole
Posts: 3
Joined: Tue Mar 06, 2018 1:11 am

### Re: [0.10.2] AdMob support for Android!

Does this library have support for leadership, and other Google Services ? or is it just admob ?

bio1712
Citizen
Posts: 50
Joined: Wed Aug 19, 2015 4:13 pm
Location: Italy

### Re: [0.10.2] AdMob support for Android!

This repo is only for AdMob.

### Who is online

Users browsing this forum: Exabot [Bot] and 4 guests