I'm getting an error on initializing map, when I try to use map as a external library and tried to make secondary, the apk is created and when I tried to launch map it crashes. But when I tried the same thing without dex it works fine (stacktrace is below).
How can I resolve this issue? I'm facing 65536 limit exceed error. So, it's only way to create apk, and I'm using ant.
java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable
10-06 22:20:24.374: E/AndroidRuntime(17015): at com.google.android.gms.maps.GoogleMapOptions.createFromAttributes(Unknown Source)
10-06 22:20:24.374: E/AndroidRuntime(17015): at com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown Source)
10-06 22:20:24.374: E/AndroidRuntime(17015): at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:291)
10-06 22:20:24.374: E/AndroidRuntime(17015): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)