A blog about Mobile App Development.
-
How to Solve Dex 65K Method Exception
While you gradually develop your application, you most probably would be encountered by the famous unable to execute dex exception. Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536 or Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536 You get this…
-
SparseArray vs HashMap
Main purpose of SparseArray in Android development is to have a memory efficient integer to object mapping. It is not solely about to gain a performance tweak, however, you will save much more memory by using SparseArray. Benefits of SparseArray Saves you memory (Less memory usage thanks to the primitive keys and no Entry objects)…