Comments (5)
Hi, which version of firebase-ads are you using in your app's build.gradle file? Which version of Android and which device?
Try using the latest version:
compile 'com.google.firebase:firebase-ads:9.8.0'
from googleads-mobile-android-examples.
Hi @temrich,
I was using latest version com.google.firebase:firebase-ads:10.0.0
when I opened the issue. Now, the latest version is 10.0.1
and I tested with that one, too. However, it still leaks.
My Android version is 6.0.1 and my device is LG G5.
Thanks for caring.
from googleads-mobile-android-examples.
Are you able to reproduce this leak with any of our sample apps?
What steps are you taking to reproduce the leak?
from googleads-mobile-android-examples.
- Cloned your BannerExample.
- Added LeakCanary as dependency:
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
- Added a CustomApp class to the sample to use LeakCanary:
public class CustomApp extends Application {
@Override
public void onCreate() {
super.onCreate();
LeakCanary.install(this);
}
}
- Changed app name in AndroidManifest:
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:name=".CustomApp">
- Run the sample app and then exit with back key. (If you can't see at first, please try to open and exit once more)
LeakCanary finds a memory leak like in the screen shot.
from googleads-mobile-android-examples.
Hi,
Thank you for the steps. Do you still see a leak if you add a banner ad to your own app?
If you do, then it could potentially be an SDK issue and I would recommend reporting it on our Mobile Ads Developer forum (https://groups.google.com/forum/#!categories/google-admob-ads-sdk/android).
from googleads-mobile-android-examples.
Related Issues (20)
- Ad unit doesn't match format in AppOpenExample HOT 4
- Add unity sample HOT 2
- Disruptive ads HOT 1
- App Open Ad stuck, no way to continue HOT 2
- User Messaging Platform UMP Disgraceful idea HOT 1
- pub-8858695525081255
- errorCode=3,errMsg=“No fill.” HOT 8
- Cash app
- AppOpenAds doesn't load for the first time on the splash screen. HOT 2
- [Urgent Error] BannerRecyclerView has Loading and Destroy Error! HOT 2
- Confused !!! There is two types of codes about initialize MobileAds and load ads in different example projects HOT 2
- BannerRecyclerViewExample low ad impression rate! HOT 4
- Native Advanced Example Fails To Load Ad HOT 1
- Maikus31
- Android TV doesn't show banner ads, error code 2, Network error HOT 1
- Getting Error code 3 'No Fill' even when I'm using test ad units HOT 1
- Compose multiplatform support HOT 2
- Can I initialize MobileAds in both main-processes and sub-processes? HOT 2
- after view Second Reward ads is complete i got this error "Invalid event ID: null" HOT 2
- Admob Crash: Parameter must be a descendant of this view HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googleads-mobile-android-examples.