diff --git a/sensorhub-android-app/build.gradle b/sensorhub-android-app/build.gradle index 63afa809..6deeaaaa 100644 --- a/sensorhub-android-app/build.gradle +++ b/sensorhub-android-app/build.gradle @@ -5,7 +5,7 @@ ext.details = 'OSH demo app for Android' dependencies { api project(':sensorhub-android-lib') - compileOnly 'javax.xml.stream:stax-api:1.0-2' + api 'javax.xml.stream:stax-api:1.0-2' } android { diff --git a/sensorhub-android-app/src/org/sensorhub/android/SensorHubService.java b/sensorhub-android-app/src/org/sensorhub/android/SensorHubService.java index 8bfb5fcd..146e27a1 100644 --- a/sensorhub-android-app/src/org/sensorhub/android/SensorHubService.java +++ b/sensorhub-android-app/src/org/sensorhub/android/SensorHubService.java @@ -68,7 +68,7 @@ public void onCreate() { try { // load external dex file containing stax API - Dexter.loadFromAssets(this.getApplicationContext(), "stax-api-1.0-2.dex"); + //Dexter.loadFromAssets(this.getApplicationContext(), "stax-api-1.0-2.dex"); // set default StAX implementation XMLImplFinder.setStaxInputFactory(com.ctc.wstx.stax.WstxInputFactory.class.newInstance()); diff --git a/sensorhub-android-lib/build.gradle b/sensorhub-android-lib/build.gradle index 9d861881..e68a7bea 100644 --- a/sensorhub-android-lib/build.gradle +++ b/sensorhub-android-lib/build.gradle @@ -18,7 +18,7 @@ dependencies { api project(':sensorhub-android-flirone') //api project(':sensorhub-android-dji') implementation 'org.slf4j:slf4j-android:1.6.1-RC1' - compileOnly 'javax.xml.stream:stax-api:1.0-2' + api 'javax.xml.stream:stax-api:1.0-2' } configurations {