java - Unable to execute dex: method ID not in [0, 0xffff]: 65536 with more jar file android -
this question has answer here:
hello friends want integrate map in application add google play service jar in application when add jar give me error
unable execute dex: method id not in [0, 0xffff]: 65536
i attach screnshots of applicaiotn

my jar list n lib folder

my build path status 
my project.properties file code
target=android-18 android.library.reference.1=..\\appcompat_v7 android.library.reference.2=..\\google-play-services_lib dex.force.jumbo=true if remove google-play-service.jar works fine if add error message comes unable execute dex: method id not in [0, 0xffff]: 65536
any idea how can solve ? suggestions appreciable.
this 65k issue. jar files contains more 65k methods compiler can't handle resolving this. moving android studio best option here.google added multidex support in v0.14.0 of android gradle plugin, things straight-forward.find solution here.
now, if don't want move studio @ moment, can 1 workaround. have identify unused methods in jar file say,google play service jar file(in fact, may unused) , remove that. after removing methods, create new jar file , replace old one. recommend move android studio possible, since android developers' website recommending that.
Comments
Post a Comment