eclipse - how to solve java.lang.NoClassDefFoundError in Android Studio? -


in order solve error in eclipse "conversion dalvik format failed:unable execute dex: method id not in [0, 0xffff]: 65536". trying execute same android project in android studio, unfortunately not have error in compile , build execute. after execution, while starting activity. gives java.lang.noclassdeffounderror. error occurs, please provide way find or solve problem?

you should make application multi-dex. more imformation:

  1. https://developer.android.com/tools/building/multidex.html

  2. https://developer.android.com/reference/android/support/multidex/multidexapplication.html

once you've done that, if still noclassdeffound, should run dexmainclasses script classes must in main classes.dex file:

  1. http://blog.osom.info/2014/10/multi-dex-to-rescue-from-infamous-65536.html
  2. http://blog.osom.info/2014/10/generating-main-dex-list-file.html

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -