gpt4 book ai didi

android - Android 9 (API 28) 中 ad.loadClass 中的 ClassNotFoundException

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:56:49 25 4
gpt4 key购买 nike

我有一个正在制作中的应用程序,Android 9 中的一些用户收到此错误:

 ClassNotFoundException in ad.loadClass in Android 9 (API 28)

这里有更详细的报告,好像是广告出了问题。我正在使用这个版本的谷歌广告:

implementation 'com.google.android.gms:play-services-ads:17.1.1'

有什么解决办法吗?

enter image description here

最佳答案

我在Manifest中添加了这一行,似乎这个错误消失了:

 <uses-library android:name="org.apache.http.legacy" android:required="false" />

关于android - Android 9 (API 28) 中 ad.loadClass 中的 ClassNotFoundException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54098197/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com