我已经解决了许多问题,例如将
compileSdkVersion
更新为23,以便可以纠正99个此类错误:
但随着我的前进,问题也不断增加。现在我有了这个64k Dex问题。Error:(13) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
在使用Eclipse时,我从未遇到过这个Error:The number of method references in a .dex file cannot exceed 64K. Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
Dex
问题。我在AS中拥有的源代码与在Eclipse
中的源代码完全相同。唯一的区别是那些仅需要在AS上工作的gradle更改。你知道为什么会突然出现这个Dex
问题吗?如果我将multiDexEnabled
设置为true
,会有什么影响吗?