parse-community / ParseUI-Android

ParseUI contains user interface libraries for building apps with the Parse Android SDK.
Other
592 stars 324 forks source link

ERROR: Failed to resolve: com.github.parse-community.ParseUI-Android:widget:0.0.5 #163

Open bluetoothfx opened 4 years ago

bluetoothfx commented 4 years ago

Gradle build fails if we implement version: 0.0.5 (ParseUI-Android) It builds successfully on : 0.0.4

N.B: I didn't use any facebook related libs Only Following Parse libs:

implementation 'com.github.parse-community.Parse-SDK-Android:parse:1.21.0'
implementation 'com.github.parse-community:ParseLiveQuery-Android:1.1.0'
implementation 'com.github.parse-community.ParseUI-Android:widget:0.0.4'
implementation 'com.facebook.stetho:stetho:1.5.1'
implementation 'com.parse.bolts:bolts-android:1.4.0'

It gives following error.

ERROR: Failed to resolve: com.github.parse-community.ParseUI-Android:widget:0.0.5
Show in Project Structure dialog
Affected Modules: app

Failed to resolve: com.github.parse-community.ParseUI-Android:widget:0.0.5
<a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Affected Modules: <a href="openFile:D:/Projects/Experiment/FleooNav-ParseEdition/app/build.gradle">app</a>  
4Fola commented 2 years ago

Double check your settings.gradle file and ensure it's setup as follows:

BEGIN

dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { gradlePluginPortal() google() mavenCentral() maven { url 'https://jitpack.io' } } } rootProject.name = "IG-I" (YOUR_PROJECT_NAME) include ':app'

END

NB: This is for Kotlin as I assume your project is been designed in Kotlin as well.