[11.3] AdMob support for Android + EU Consent
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: [0.10.2] AdMob support for Android!
Awesome. although i really recommend to make a separate wiki for guideline on how to set it up. Original repo is outdated, especially the game packaging/deploying wiki
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Re: [0.10.2] AdMob support for Android!
First of all, I forgot to mention that I also had to change love\build.gradle:
Because I use an Intel.
Whatsoever, lately a lot busy, but I repeated my steps on the official Android port, and it persists. So I'm wrong here. I will repost my issue on other places with my exact steps, later. The problem is not caused by your fork.
Interesting is, that I cannot install the APK on my main mobile that runs CM, only the stock SGS3 is able to install the APK, but then I get the SDL error, all the time.
Code: Select all
ndk {
// Specifies the ABI configurations of your native
// libraries Gradle should build and package with your APK.
- abiFilters 'armeabi-v7a', 'armeabi'
+ abiFilters 'x86'
}
Whatsoever, lately a lot busy, but I repeated my steps on the official Android port, and it persists. So I'm wrong here. I will repost my issue on other places with my exact steps, later. The problem is not caused by your fork.
Interesting is, that I cannot install the APK on my main mobile that runs CM, only the stock SGS3 is able to install the APK, but then I get the SDL error, all the time.
I second that, maybe I will create some tutorials on this forum.yetneverdone wrote: ↑Fri Dec 15, 2017 9:13 am Awesome. although i really recommend to make a separate wiki for guideline on how to set it up. Original repo is outdated, especially the game packaging/deploying wiki
Visual Studio Code Template • RichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter) • Add me on Discord
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: [0.10.2] AdMob support for Android!
Hey, i need guide. Ive managed to build the apk, signed and aligned it, although when installing it on my phone, it always says "apk is not installed". What are the changes youve made? ive only changed the AndroidManifest.xml, and added my APP-ID Unit.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:
Because I use an Intel.Code: Select all
ndk { // Specifies the ABI configurations of your native // libraries Gradle should build and package with your APK. - abiFilters 'armeabi-v7a', 'armeabi' + abiFilters 'x86' }
Whatsoever, lately a lot busy, but I repeated my steps on the official Android port, and it persists. So I'm wrong here. I will repost my issue on other places with my exact steps, later. The problem is not caused by your fork.
Interesting is, that I cannot install the APK on my main mobile that runs CM, only the stock SGS3 is able to install the APK, but then I get the SDL error, all the time.
I second that, maybe I will create some tutorials on this forum.yetneverdone wrote: ↑Fri Dec 15, 2017 9:13 am Awesome. although i really recommend to make a separate wiki for guideline on how to set it up. Original repo is outdated, especially the game packaging/deploying wiki
UPDATE:
Ive managed to install the apk by uninstalling the love2d app (from playstore). Im pretty sure that shouldnt be like that, any solution?
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: [0.10.2] AdMob support for Android!
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
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Re: [0.10.2] AdMob support for Android!
Hi guys, I agree that should be a proper guide, but I think that it should be made for the original port, because the deploying process is the same.
In addition, I think that if it works on my machine without any issues it should works on your machine too.
Anyway if you need to change your app’s name or version, you can take a look at the .txt in the root folder.
In addition, I think that if it works on my machine without any issues it should works on your machine too.
Anyway if you need to change your app’s name or version, you can take a look at the .txt in the root folder.
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: [0.10.2] AdMob support for Android!
Yes, also guide update for the original repo. But yours also since there are additional config as to using admob. I'll try make a pull request at the original repo.bio1712 wrote: ↑Sun Dec 17, 2017 9:17 am Hi guys, I agree that should be a proper guide, but I think that it should be made for the original port, because the deploying process is the same.
In addition, I think that if it works on my machine without any issues it should works on your machine too.
Anyway if you need to change your app’s name or version, you can take a look at the .txt in the root folder.
Ps. What . txt file? I dont seen any
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Re: [0.10.2] AdMob support for Android!
You're right. I was sure I put that.yetneverdone wrote: ↑Sun Dec 17, 2017 10:14 am
Yes, also guide update for the original repo. But yours also since there are additional config as to using admob. I'll try make a pull request at the original repo.
Ps. What . txt file? I dont seen any
That means that it is useless to edit the bundle identifier in the manifest.To edit the title of the app edit ./app/src/main/AndroidMainfest.xml
To edit the version and the bundle identifier edit ./app/build.gradle
If you have any suggestion for the admob guide let me know.
Thank you
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: [0.10.2] AdMob support for Android!
Yeah, changing the package name in manifest does not do anything, learned that the long way haha.bio1712 wrote: ↑Sun Dec 17, 2017 10:49 amYou're right. I was sure I put that.yetneverdone wrote: ↑Sun Dec 17, 2017 10:14 am
Yes, also guide update for the original repo. But yours also since there are additional config as to using admob. I'll try make a pull request at the original repo.
Ps. What . txt file? I dont seen anyThat means that it is useless to edit the bundle identifier in the manifest.To edit the title of the app edit ./app/src/main/AndroidMainfest.xml
To edit the version and the bundle identifier edit ./app/build.gradle
If you have any suggestion for the admob guide let me know.
Thank you
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: [0.10.2] AdMob support for Android!
Hey, ive forked your repo and added my instruction/guide in the wiki here: https://bitbucket.org/brbl/love2d-admob ... nstructionbio1712 wrote: ↑Sun Dec 17, 2017 10:49 amYou're right. I was sure I put that.yetneverdone wrote: ↑Sun Dec 17, 2017 10:14 am
Yes, also guide update for the original repo. But yours also since there are additional config as to using admob. I'll try make a pull request at the original repo.
Ps. What . txt file? I dont seen anyThat means that it is useless to edit the bundle identifier in the manifest.To edit the title of the app edit ./app/src/main/AndroidMainfest.xml
To edit the version and the bundle identifier edit ./app/build.gradle
If you have any suggestion for the admob guide let me know.
Thank you
IDK how to PR that, please have a look at it before i make any more updates
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 ??
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Re: [0.10.2] AdMob support for Android!
Great, but your NDK links are broken tho.yetneverdone wrote: ↑Sun Dec 17, 2017 1:35 pmHey, ive forked your repo and added my instruction/guide in the wiki here: https://bitbucket.org/brbl/love2d-admob ... nstruction
IDK how to PR that, please have a look at it before i make any more updates
I'm very busy lately. You are welcome to post a guide for it here on the forum, don't hold yourself back.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
Visual Studio Code Template • RichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter) • Add me on Discord
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░█░░░░░█░░█────
─▄▄──█░░░▀█▀░░░█──▄▄─
█░░█─▀▄░░░░░░░▄▀─█░░█
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot] and 8 guests