Hi, I’ve problems building the android app from source.
I’m getting an exception: “com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536”.
Has anyone manage to build the master version of habdroid without problems?
I have a fix that will allow me to build, but I’m not sure if that is a correct fix: Step android gradle plugin version to 1.5.0 · hazzeh/openhab.android@9913fbe · GitHub
This commit also steps the android gradle plugin version to one that is accepted by newer android studio versions.
If it is a valid correction I can create a pull request.
I had the same error, adding multiDexEnabled true resolve compilation problem.
We also should change extends of org.openhab.habdroid.core.HABDroid to android.support.multidex.MultiDexApplication to support older version of Android.