I am using eclipse. When i am adding facebook library give error "Unable to execute dex: method ID not in [0, 0xffff]: 65536 Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536"
How to fix this issue.
I am using eclipse. When i am adding facebook library give error "Unable to execute dex: method ID not in [0, 0xffff]: 65536 Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536"
How to fix this issue.
you are passing maximum limit of functions count , one way might be using multidex
, another might be excluding some libraries from Google play services
if you are using that.
except importing whole google play service library features, import what you need separately like :
compile 'com.google.android.gms:play-services-maps:7.5.0'
compile 'com.google.android.gms:play-services-location:7.5.0'