cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue when exporting/importing an Android Studio project

jserrano
1-Newbie

Issue when exporting/importing an Android Studio project

Hi guys,

We have been studying the Android Edge SDK, more exactly the Steam Sensor example, and we have been adding some functionality to the project.

Now we are trying to export that project and import it into a test instance/enviroment. When trying to import the SDK files (the .aar and the two .jar files), the class imports in the project classes wont be recognized.

Does anyone know the way to import the .aar and .jar files into the projecto in order to get this thing working?

These is my Gradle "build.gradle" dependencies section:

dependencies {

  compile fileTree(include: ['*.jar'], dir: 'libs')

  testCompile 'junit:junit:4.12'
   compile 'com.android.support:appcompat-v7:24.2.0'
   compile 'com.fasterxml.jackson.core:jackson-core:2.2.4'
   compile 'com.fasterxml.jackson.core:jackson-annotations:2.2.4'
   compile 'com.fasterxml.jackson.core:jackson-databind:2.2.4'
   compile 'org.slf4j:slf4j-api:1.7.6'
   compile 'com.github.tony19:logback-android-core:1.1.1-4'
   compile 'com.github.tony19:logback-android-classic:1.1.1-4'
   compile 'joda-time:joda-time:2.3'
   compile 'com.jakewharton:butterknife:5.1.1'
   compile files('thingworx-common-7.1.0-b13.jar')

  compile files('thingworx-communications-client-7.1.0-b13.jar')

}

Thanks on advance.

0 REPLIES 0
Announcements