SAP Knowledge Base Article - Preview

2168539 - "Unable to execute DX" when compiling SAP Mobile SDK Project


When compiling and SAP Mobile Platform Android Project, the following errors are returned :

Error:Android Dex: [<project_name>] Unable to execute DX

Error:Android Dex: [<project_name>] java.lang.IllegalArgumentException: method ID not in [0, 0xffff]: 65536

Error:Android Dex: [<project_name>] at$6.updateIndex(



  • SAP Mobile Platform (SMP) 2.3.x SDK
  • Android 2.x/3.x/4.x/5.1.1
  • Android Studio 1.0 / Eclipse / IntelliJ IDEs


SAP Mobile Platform 2.3


Unable to execute DX SDK mobile platform Android , KBA , MOB-ONP-MBO , SAP Mobile On Premise MBO Synchronization , MOB-SUP-SDK , Mobile SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.