Latheesh Virupakshi • almost 5 years ago
Unable to load the sdk in Android
I added dependency implementation 'com.iqvia.healthcare-locator:healthcare-locator-sdk:1.0.0'
Showing error could not found the location of sdk
Comments are closed.
Latheesh Virupakshi • almost 5 years ago
I added dependency implementation 'com.iqvia.healthcare-locator:healthcare-locator-sdk:1.0.0'
Showing error could not found the location of sdk
Comments are closed.
5 comments
emmanuel valentin Manager • almost 5 years ago
Hello,
We have just published the precompiled version of the SDK on maven central. you should be able to use it with
dependencies {
implementation 'com.healthcarelocator:client-stack-sdk:1.0.1'
}
Emmanuel
Latheesh Virupakshi • almost 5 years ago
Thank you for the update. But after adding the dependency i am getting this issue while running the app
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tbruyelle/rxpermissions2/RxPermissions;
Getting this issue when Added the dependency and also rx permissions
Initating from at com.healthcarelocator.viewmodel.home.HCLHomeMainViewModel.requestPermissions(HCLHomeMainViewModel.kt:26)
emmanuel valentin Manager • almost 5 years ago
hello,
Your project is missing a repo specs to download the missing dependency. We are updating the documentation currently but here is the important part:
1. Add apollo-runtime, apollo-gradle-plugin, kotlin-gradle-plugin and google-services dependencies into build.gradle
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://jitpack.io'
}
}
}
2. Add the following dependency into your /build.gradle
dependencies {
implementation 'com.healthcarelocator:client-stack-sdk:1.0.1'
}
Latheesh Virupakshi • almost 5 years ago
I added all those As mentioned, The main issue comes When i want to start
HealthCareLocatorSDK.getInstance().startSDKActivity(this)
My app is throwing error with above issue
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tbruyelle/rxpermissions2/RxPermissions;
Getting this issue when Added the dependency and also rx permissions
emmanuel valentin Manager • almost 5 years ago
Please give a look at our github repo, we've release a sample app to demonstrate Android SDK integration. I hope this will help.
https://github.com/hcl-sdk/HealthcareAndroidSample
emmanuel