-2

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.

1 Answers1

0

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' 
Arash GM
  • 10,316
  • 6
  • 58
  • 76