Sensoro / SDK-Android

SBK Demo Android
44 stars 50 forks source link

Libraries in sensoro cloud #15

Open Max2817 opened 7 years ago

Max2817 commented 7 years ago

Hi,

Is that possible to remove the gson an greenrobot from your jar file for sensorocloud-4.1.1.jar as it create conflicts in android studio and I have to remove it manually. It's annoying because we can import it outside.

semenoh commented 7 years ago

I have the same issue BTW it would be much better to be able to include them from maven central or jcenter so it would be possible to exclude whatever you included

Max2817 commented 7 years ago

@semenoh if needed: sensorocloud-4.1.1..zip

Raullg98 commented 6 years ago

Due the new android studio (3.0), this should be the official version to avoid problems of "Unable to merge dex" with the new gradle version.

"Local JARs in libraries are now transitive Previously, library modules would handle dependencies on local JARs in a non- standard way and would package them inside their AAR. Even in a multi-project build, consumers of the AAR would see these JAR files through the packaged version.

Android plugin 3.0.0 and higher use new Gradle APIs to allow consuming projects to see local JARs as regular transitive dependencies, similar to maven coordinate based dependencies. To adapt to the new Gradle APIs, the plugin changes a few aspects of how it handles local JAR files." - Android Developers Site