Closed mikigraf closed 10 months ago
Hi, I already found a solution and it seems like it was not an issue with the SDK
Platform your question concerns:
Device:
Description: After adding
implementation 'com.github.polarofficial:polar-ble-sdk:5.1.0' implementation 'io.reactivex.rxjava3:rxjava:3.1.6' implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
to app/build.gradle I receive the following error when trying to build: `FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:processDebugResources'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not resolve androidx.core:core-ktx:1.9.0. Required by: project :app > com.github.polarofficial:polar-ble-sdk:5.1.0 project :app > androidx.swiperefreshlayout:swiperefreshlayout:1.0.0 > androidx.core:core:1.9.0 Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Could not resolve androidx.core:core-ktx:1.6.0. Required by: project :app > project :react-native-gesture-handler project :app > project :expo > project :expo-modules-core project :app > project :expo > project :expo-localization Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Could not resolve androidx.core:core-ktx:{strictly 1.6.0}. Required by: project :app > project :react-native-polar-ble Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Could not resolve androidx.core:core-ktx:1.5.0. Required by: project :app > project :react-native-screens Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Could not resolve androidx.core:core-ktx:1.1.0. Required by: project :app > project :expo > project :expo-modules-core > androidx.activity:activity-ktx:1.4.0 Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Could not resolve androidx.core:core-ktx:1.2.0. Required by: project :app > project :expo > project :expo-modules-core > androidx.fragment:fragment-ktx:1.4.1 project :app > project :react-native-screens > androidx.fragment:fragment:1.4.1 Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not resolve androidx.core:core-ktx:1.9.0. Required by: project :app > com.github.polarofficial:polar-ble-sdk:5.1.0 project :app > androidx.swiperefreshlayout:swiperefreshlayout:1.0.0 > androidx.core:core:1.9.0 Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts
Could not resolve androidx.core:core-ktx:1.6.0. Required by: project :app > project :react-native-gesture-handler project :app > project :expo > project :expo-modules-core project :app > project :expo > project :expo-localization Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts
Could not resolve androidx.core:core-ktx:{strictly 1.6.0}. Required by: project :app > project :react-native-polar-ble Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts
Could not resolve androidx.core:core-ktx:1.5.0. Required by: project :app > project :react-native-screens Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts
Could not resolve androidx.core:core-ktx:1.1.0. Required by: project :app > project :expo > project :expo-modules-core > androidx.activity:activity-ktx:1.4.0 Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts
Could not resolve androidx.core:core-ktx:1.2.0. Required by: project :app > project :expo > project :expo-modules-core > androidx.fragment:fragment-ktx:1.4.1 project :app > project :react-native-screens > androidx.fragment:fragment:1.4.1 Cannot find a version of 'androidx.core:core-ktx' that satisfies the version constraints: Dependency path 'testproject:app:unspecified' --> 'com.github.polarofficial:polar-ble-sdk:5.1.0' (sdkReleaseVariantSdkReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-gesture-handler:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-polar-ble:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:{strictly 1.6.0}' Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.5.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-localization:14.1.1' (debugRuntimeElements) --> 'androidx.core:core-ktx:1.6.0' Dependency path 'testproject:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (runtime) --> 'androidx.core:core:1.9.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.9.0' Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.activity:activity-ktx:1.4.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.1.0' because of the following reason: Mirror activity dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'host.exp.exponent:expo:48.0.20' (debugRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.2.7' (debugRuntimeElements) --> 'androidx.fragment:fragment-ktx:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts Dependency path 'testproject:app:unspecified' --> 'testproject:react-native-screens:unspecified' (debugRuntimeElements) --> 'androidx.fragment:fragment:1.4.1' (releaseVariantReleaseRuntimePublication) --> 'androidx.core:core-ktx:1.2.0' because of the following reason: Mirror fragment dependency graph for -ktx artifacts
removingimplementation 'com.github.polarofficial:polar-ble-sdk:5.1.0'` resolves the issue. On iOS everything works fine.
removing
Hi, I already found a solution and it seems like it was not an issue with the SDK
Platform your question concerns:
Device:
Description: After adding
implementation 'com.github.polarofficial:polar-ble-sdk:5.1.0' implementation 'io.reactivex.rxjava3:rxjava:3.1.6' implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
to app/build.gradle I receive the following error when trying to build: `FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:processDebugResources'.
removing
implementation 'com.github.polarofficial:polar-ble-sdk:5.1.0'` resolves the issue. On iOS everything works fine.