This because ProGuard. To safely use ProGuard with Google Mobile Ads, add the following to your ProGuard config:
-keep public class com.google.android.gms.ads.** {
public *;
}
-keep public class com.google.ads.** {
public *;
}
Related Contents:
- Google Maps Api v2 Android Error
- com.android.build.transform.api.TransformException
- After Google Play Service update to version 13 I got an error
- Failed to resolve com.google.android.gms play-services-auth:11.4.0
- Import Google Play Services library in Android Studio
- Error inflating class com.google.ads.AdView
- java.lang.NoClassDefFoundError: com.google.ads.AdView
- Adding Admob to libgdx
- Action requested: Declare your Ad ID permission
- How to allow all Network connection types HTTP and HTTPS in Android (9) Pie?
- How can I pass a Bitmap object from one activity to another
- decompiling DEX into Java sourcecode
- Unable to list target platforms. Please make sure the android sdk path is correct
- Android Studio Gradle project “Unable to start the daemon process /initialization of VM”
- android – save image into gallery
- Android java.lang.VerifyError?
- What is the difference between List and ArrayList? [duplicate]
- How to WhiteList app in Doze mode Android 6.0
- Android: how to get the current day of the week (Monday, etc…) in the user’s language?
- Android download binary file problems
- Android getting value from selected radiobutton
- Understand the R class in Android [duplicate]
- Programmatically getting the MAC of an Android device
- MathML and Java [closed]
- How to change color of the back arrow in the new material theme?
- Firestore query – checking if username already exists
- Rxjava Android how to use the Zip operator
- Map.clear() vs new Map : Which one will be better? [duplicate]
- Using client/server certificates for two way authentication SSL socket on Android
- OnClickListener not responding
- Android Room Database: How to handle Arraylist in an Entity?
- Google firebase check if child exists
- RecyclerView – Get view at particular position
- How do I parse JSON from a Java HTTPResponse?
- Android : How to read file in bytes?
- Base64 encoder and decoder
- Which JDK version (Language Level) is required for Android Studio?
- Android Get Current timestamp?
- GetView Vs. BindView in a custom CursorAdapter?
- How to structure a feed and follow system?
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified
- How do you implement a FileObserver from an Android Service
- Driver JDBC PostgreSQL with Android [duplicate]
- Android Intent for sending email with attachment [duplicate]
- Theme Error – how to fix?
- How to fix INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in my android application
- How can I install “Android Support Library” to deploy a Gluon Mobile application to Android?
- Retrofit 2 – URL Query Parameter
- reading android jpeg EXIF metadata from picture callback
- Android: How to pause and resume a Count Down Timer?