I am moving all my source codes to AS as suggested by Android official website. However, the experience is not very good. It is very sluggish as described here. But this is not my ultimate problem for now.
I have resolved many problems such as updating the compileSdkVersion
to 23 so that 99 errors of this kind:
Error:(13) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
could be rectified. But the problems keep on shooting up as I go. Now I have this 64k Dex issue.
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
I never had this Dex
issue while using Eclipse. The source code I have in AS is exactly the same as when it was in Eclipse
. The only differences are those gradle changes needed only to work on AS. Any idea why this sudden Dex
issue? if I set multiDexEnabled
to true
, what are the implications?