Android 64k method limit error on 56k methods

前端 未结 5 882
攒了一身酷
攒了一身酷 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:21

    The problem will rise when you update you google play services so instead of add the whole play service android studio provide a way to add particular api to the project Reference it will reduce your methods

提交回复
热议问题