1
votes

We are developing a Hybrid Application and have only added necessary libraries to the project. We have the ESRI ArcGIS jars (Native maps) and Pro-guarded version of Google Play Services (to include only Analytics) in the app. From MobileFirst features, we have JSONStore enabled.

This is resulting in dex issue in Android: Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536

ArcGIS recommends not to proguard their already optimized API, in which case we have limited options.

Does anyone know the steps to enable multi-dex in our hybrid app, spl. because we are limited to using Eclipse IDE for MobileFirst app development.

1

1 Answers

0
votes

The only option I can think of is to migrate the project to be Gradle-based, by importing the MobileFirst Studio-generated project into Android Studio and select the option to migrate.

Note: MobileFirst Platform Foundation does not support Gradle at this time. This means that after opening the project in Android Studio, if you require any additional changes in the project you will need to build it in MobileFirst Studio and again import and migrate to Gradle and so on on repeat...