I'm implementing ads with Unity LevelPlay.
I followed everything in the documentation and installed these adapters:
ironSource 7.2.6
UnityAds 4.3.29.1
When I test on device, I have two different errors in these situations:
If I make a local build and install it immediately using "Build & Run", the game starts, but the call to IronSource.Agent.init(appKey) ends up with INIT_FAILED. Everything else in the game keeps working except for ads.
If I upload the build on Google Play Console for internal testing and install from there, the game doesn't even start and crashes immediately complaining about Google AdMob not being initialized correctly. I don't understand why as I'm not even using AdMob adapter.
You can see both errors in the attached screenshot, unfortunately not being very explicative.
Why could I be getting these errors and what can I try in order to solve them?
Unity Version: 2020.3.42f1;
LevelPlay Version: 7.2.6;
Unity LevelPlay compatible with Unity version 2021.3
Related
I have transferred my flutter app project from my old computer over to a new one. Since then I have not been able to load AdMob ads in my app.
This is the error I'm getting:
LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: , adapterResponses: []))
I have seen similar questions with answers pointing at problems with signing the app. I have the key.properties file, and build.gradle set up as per Google's manual. I'm using my old key file I had previously generated on the old computer (is this the right way to do it??? or do I need a new file?). Still, only test ads are working. When I try using the real AdIDs, I'm getting the above message.
Before the transition to the new computer, everything worked just fine. Has anyone had this problem? Have I missed anything while moving the project?
In case it matters, I moved from a Windows laptop to a MacBook. I'm using the latest Flutter and Android Studio, as well as the latest version of the google_mobile_ads package.
It seems Google has updated the SDK so that read ads are served only to apps signed with the Play Store key. This means they will only appear after the app is published and installed from the Play Store.
I have started using Google Play Game Services plugin for unity lately in my game Dodgy for android and the plugin doesn't seem to work!
I have tried following what they say on GitHub installed all the necessary tools and plugins and it still doesn't work, What exactly happens is when I start my app and try to sign in nothing happens.
Any help would be greatly appreciated...
The Tools I Use...
Latest Android Studio as of today with all plugins and tools installed
Unity 2018.3b7
The latest version of Visual Studio 2017*
The latest GPGS plugin on GitHub*
Steps to check.
Make sure you are using signed APK
Make sure you have published your game on Google Play Services.(The place where you created leaderboards & achievements)
Check SHA1 for your KeyStore file & compare it with Google Developer Console's SHA1 for that project.
I have the same problem and I found what I did wrong. If you have confirmed that your package has been properly signed but still not working. Look back in your code.
If you use the plugin(most likely), you need to use PlayGamesPlatform namespace functions other than the Social ones.
Or the Play Games login won't even pop, yet it does pop if you check Development Build which would be confusing. Hope this would save time for those who come after me
Hello I am using appcelerator studio version 7.1.1.GA and am porting an iphone app to android for a client. I tried a bunch of things but am unable to get admob ads to show up in the app and the error message I get is ==>
[WARN] : Ads: Invoke Firebase method getInstance error.
[WARN] : Ads: The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
I am using version 2.2.0 of the 'firebase.core' module, version 4.0.0 of the 'ti.admob' module, version 11.0.40 of ti.playservices (whatever is included with Appcelerator Studio I believe) and version 4.2.0 of the 'ti.map' module. I am also using version 2.0.0 of the ti.googlesignin module. Everything else the map and google signin work fine. I tried a bunch of different things including ti.playservices, not including it and also when I had version 4.1.0 of the 'ti.admob' module installed I was getting dexer linking errors which did not seem right and when I reverted to the 4.0.0 version of 'ti.admob' the linker errors went away.
This is the last thing I need to do to release this app to the Google Play Store I have managed to get everything else is working but it would be a bummer not to have ads in the app. I really don't want to disappoint my client.
I figured out what the issue is. It is real simple I just had to pass the ad unit id in as the publisher id in Admob.createView({ publisherId: 'ad unit id', ... }); Talk about confusing!
I have a project that I attempted to install Google Player Services through NuGet. Since trying to install the google package, my android support libraries as well as the google play service libraries are all showing up in my references as broken, no matter how I try to add, reinstall or change the references. They always break, throwing The "ResolveLibraryProjectImports" task failed unexpectedly. as an error in response.
I have looked around and tried everything that sounded remotely like my issue, to no avail. Any help would be appreciated.
I am running Xamarin v4.3.0.789 (4d2ed3d) with Xamarin.Android v7.1.0.43 (4a52f1e)
Not entirely sure why this fixed the issue. However after looking through, I realised that version of my packages had been updated, I assume that Google Player Services forced that, which then caused my whole project to go haywire.
Installed the version of packages I was using beforehand and it works again.
Currently I am upgrading MoPub in Android from 4.8.0 to 4.11.0. When I am debugging the app, ads are shown fine. When I generate a signed apk and deploy to a device, no ads are shown. All I did is change the dependency version. What can be the reason for this? Even upgrading it to 4.9.0 doesn't work
(note debugging the apk, ads are shown perfectly fine. When signing it, no ad events are being triggered like onBAnnerLoaded or onBannerFailed).
you can debug in two ways
1) In ADB logcat or console in Android studio , do you see the Ad call being made ? you can use a proxy Fiddler/Charles to see if your app is actually making the Ad call Or you can simply use the console in Android studio to look at the logs.
2) In the logcat look for the debugging information. In my App it looks like this, if there is an issue with loading it tells me Ad failed to load.
23:25:28.738 MoPub D Loading url:
http://ads.mopub.com
23:25:29.453 I Ad failed to load.
OR
23:25:29.453 I Ad loaded successfully.
Note: If you are unable to see the Ad call in the proxy or console then this points to a problem in your implementation.