[0.65.0, Android] Could not find com.henninghall.android:NumberPickerView:1.1.5.
See original GitHub issueDescribe the bug After upgrading to react-native 0.65.0 (followed react-native-upgrade-helper, updated from 0.64.2) it throws:
Could not find com.henninghall.android:NumberPickerView:1.1.5.
detailed:
> Could not find com.henninghall.android:NumberPickerView:1.1.5.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/henninghall/android/NumberPickerView/1.1.5/NumberPickerView-1.1.5.pom
- file:/Users/stathis/.m2/repository/com/henninghall/android/NumberPickerView/1.1.5/NumberPickerView-1.1.5.pom
- file:/Users/stathis/WebstormProjects/xxxxxxxx/app/node_modules/react-native/android/com/henninghall/android/NumberPickerView/1.1.5/NumberPickerView-1.1.5.pom
- file:/Users/stathis/WebstormProjects/xxxxxxxx/app/node_modules/jsc-android/dist/com/henninghall/android/NumberPickerView/1.1.5/NumberPickerView-1.1.5.pom
- https://dl.google.com/dl/android/maven2/com/henninghall/android/NumberPickerView/1.1.5/NumberPickerView-1.1.5.pom
- file:/Users/stathis/WebstormProjects/xxxxxxx/app/node_modules/@bugsnag/react-native/android/com/henninghall/android/NumberPickerView/1.1.5/NumberPickerView-1.1.5.pom
Required by:
project :app > project :react-native-date-picker
Expected behavior build on Android
Smartphone (please complete the following information):
- OS: Android
- React Native version [0.65.0]
- react-native-date-picker version [3.3.2]
build.gradle:
buildscript {
ext {
buildToolsVersion = "30.0.2"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
supportLibVersion = "29.0.0"
kotlinVersion = "1.5.0"
ndkVersion = "20.1.5948944"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.google.gms:google-services:4.3.8'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.bugsnag:bugsnag-android-gradle-plugin:5.+"
}
}
allprojects {
repositories {
mavenCentral()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
google()
}
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "29.0.0"
}
}
}
afterEvaluate {
project -> if (project.hasProperty("android") || project.plugins.hasPlugin('android-library')) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Android dependency NumberPickerView 1.1.5 only ... - GitHub
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not find com.henninghall.android:NumberPickerView:1.1.5.
Read more >React-native 0.65 (targetSdk=30) android build is failing ...
I have just upgraded to RN 0.65 stable and have the same error on Android. I think it is because it is a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can you try to add
jcenter()
to repositories part inandroid/build.gradle
, did it solve it?or maybe:
Having the same issue 😢