首先,我首先在广告编写之后导入了admob的sdk。我想要分析用户点击广告的数量,所以我导入了google分析,然而,由于jar包冲突,在包APK期间发生了以下错误?但我不知道如何找到冲突的包。我使用的是unity5.5.3版本。
问题描述可能有点奇怪,因为我是一名中国学生,隔着墙去寻找答案。如果你知道解决方案,请回复。而且不要写得那么难懂,毕竟谷歌翻译不懂我们的行话,谢谢。
发布于 2017-12-15 16:02:08
CommandInvokationFailure: Unable to convert classes into dex format.
C:/Program Files/Java/jdk1.8.0_151\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/zj/AppData/Local/Android/android-sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
stderr[
trouble writing output: Too many field references to fit in one dex file: 69213; max is 65536.
You may try using multi-dex. If multi-dex is enabled then the list of classes for the main dex list is too large.
References by package:
2 android.accounts
26 android.app
1 android.content
38 android.content.pm
9 android.content.res
3 android.database
41 android.graphics
2 android.media
1 android.media.browse
2 android.net
21 android.os
3 android.print`enter code here`https://stackoverflow.com/questions/47828011
复制相似问题