Unity3d Inmobi Unity SDK正在崩溃
我面临着一个关于GDPR 811的Inmobi统一包的问题 我使用上述软件包构建的应用程序在尝试打开时崩溃。因此,我尝试在Android profiler上运行堆栈跟踪,发现它无法找到某些UnityPlayerPro xyActivity类。我已经尝试从Android清单中删除这个类,但是它给出了构建错误 我使用Unity 2019.2.0f1版本,Android平台的播放器设置为:;构建版本等于0.1,最低API级别为16 我附上了一份详细的错误报告,可以给你更多的信息 在这方面请帮助我。我非常感谢你在这件事上的帮助Unity3d Inmobi Unity SDK正在崩溃,unity3d,inmobi,Unity3d,Inmobi,我面临着一个关于GDPR 811的Inmobi统一包的问题 我使用上述软件包构建的应用程序在尝试打开时崩溃。因此,我尝试在Android profiler上运行堆栈跟踪,发现它无法找到某些UnityPlayerPro xyActivity类。我已经尝试从Android清单中删除这个类,但是它给出了构建错误 我使用Unity 2019.2.0f1版本,Android平台的播放器设置为:;构建版本等于0.1,最低API级别为16 我附上了一份详细的错误报告,可以给你更多的信息 在这方面请帮助我。我非
10-30 16:24:52.769: E/AndroidRuntime(7118): java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{com.SleepyBoar.AdsDemoUnity/com.unity3d.player.UnityPlayerPro
xyActivity}: java.lang.ClassNotFoundException: Didn't find class
"com.unity3d.player.UnityPlayerProxyActivity" on path: DexPathList[[zip file
"/data/app/com.SleepyBoar.AdsDemoUnity-
USpZf9YlQynoJUyJE_N1Kg==/base.apk"],nativeLibraryDirectories=[/data/app/com.
SleepyBoar.AdsDemoUnity-USpZf9YlQynoJUyJE_N1Kg==/lib/arm,
/data/app/com.SleepyBoar.AdsDemoUnity-
USpZf9YlQynoJUyJE_N1Kg==/base.apk!/l`enter code here`ib/armeabi-v7a, /system/lib]]
您得到的例外情况是,最新版本的unity(从2018年起)中的主要unity player活动名称发生了更改 要解决此问题,您需要在Unity项目中找到AndroidManifest.xml文件,并将活动名称从
com.unity3d.player.unityPlayerProxy活动
替换为com.unity3d.player.unityPlayerPractivity
从
到
在此之后,您应该能够成功运行它。您遇到的异常是由于最新版本的unity(从2018年起)中的主要unity player活动名称发生了更改 要解决此问题,您需要在Unity项目中找到AndroidManifest.xml文件,并将活动名称从
com.unity3d.player.unityPlayerProxy活动
替换为com.unity3d.player.unityPlayerPractivity
从
到
在此之后,您应该能够成功运行它。您能够修复此错误吗?还没有,它仍在崩溃您能够修复此错误吗?还没有,它仍在崩溃
<activity
android:name="com.unity3d.player.UnityPlayerProxyActivity"
android:launchMode="singleTask"
android:label="@string/app_name">
<activity
android:name="com.unity3d.player.UnityPlayerActivity" // changes in this line
android:launchMode="singleTask"
android:label="@string/app_name">