我正在构建一个应用程序,当我尝试在模拟器上测试它时,它说不幸的是应用程序已停止,所以当我运行它时,我从 logcat 部分收到此错误,该应用程序是静态的并且包含没有 firebase 或 onesignal 的内容,我在 DroidX(Android 4.4.4,API 17) 上运行
这是我得到的错误:
07-29 05:28:00.753 2648-2648/com.tools.med E/Trace: error opening trace
file: No such file or directory (2)
07-29 05:28:01.709 2648-2648/com.tools.med E/dalvikvm: Could not find
class 'android.app.AppOpsManager', referenced from method
com.google.android.gms.common.wrappers.PackageManagerWrapper.zzb
07-29 05:28:01.809 2648-2648/com.tools.med E/AndroidRuntime: FATAL
EXCEPTION: main
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
******************************************************************************
* The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers *
* should follow the instructions here: *
* https://googlemobileadssdk.page.link/admob-android-update-manifest *
* to add a valid App ID inside the AndroidManifest. *
* Google Ad Manager publishers should follow instructions here: *
* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest. *
******************************************************************************
翻阅古今
相关分类