Compiling with Android API level 23 yields this error:
platforms/android/src/com/triggertrap/ZeroConf.java:31: error: package org.apache.http.conn.util does not exist
import org.apache.http.conn.util.InetAddressUtils;
Adding this to my project's platforms/android/build.gradle seems to work around this:
android {
useLibrary 'org.apache.http.legacy'
}
Apparently, this was deprecated in API level 22, and removed in API level 23.
Compiling with Android API level 23 yields this error:
Adding this to my project's
platforms/android/build.gradle
seems to work around this:Apparently, this was deprecated in API level 22, and removed in API level 23.