- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am following along to the 'Using the ReconOS SDK Map Component' document to start building an application for the Recon Jet (Enterprise) headset. As described in the document, I've added the maven repository to the build.gradle(Project:ReconApp) file, added the recon SDK packages to the build.gradle(Module:app) file, and updated the manifest. However, when compiling I get the following errors:
“Failed to resolve: com.reconinstruments.app:recon-application:4.4.0”
“Failed to resolve: com.reconinstruments.os:recon-platform:4.4.0”
“Failed to resolve: com.reconinstruments.ui:recon-ui:4.4.0”
Please let me know how I can troubleshoot this problem, any help would be greatly appreciated!
Below are my build.gradle files:
build.gradle(Project):
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() maven { url "http://repo.reconinstruments.com/artifactory/libs-release" } } } task clean(type: Delete) { delete rootProject.buildDir }
build.gradle(Module):
apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "24.0.2" defaultConfig { applicationId "blackberry.reconapp" minSdkVersion 16 targetSdkVersion 16 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.0.1' testCompile 'junit:junit:4.12' compile 'com.reconinstruments.app:recon-application:4.4.0' compile 'com.reconinstruments.ui:recon-ui:4.4.0' provided 'com.reconinstruments.os:recon-platform:4.4.0' }
- Tags:
- Internet of Things
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page