Android 64k method limit error on 56k methods

前端 未结 5 1371
渐次进展
渐次进展 2021-01-06 23:42

I\'m receiving this error in my android project:

Unable to execute dex: method ID not in [0, 0xffff]: 65536
Conversion to Dalvik format failed: Unable to exe         


        
5条回答
  •  走了就别回头了
    2021-01-07 00:35

    You can now only import the pieces of Google Play Services that you use. This saves a lot of methods.

    If you only use GCM, then you only need com.google.android.gms:play-services-gcm:7.5.0

    Look here for the list: https://developers.google.com/android/guides/setup

提交回复
热议问题