@egorchikJava

Проблема с подключением библиотеки android studio как решить?

Возникла проблема с подключеннием библиотек facebookshimmer и lottieAnimaation Библиотека синхронизируется но использовать ее функционал не получается Facebookshimmer
http://facebook.github.io/shimmer-android/ lottieAnimation https://lottiefiles.com/blog/working-with-lottie/getting-started-with-lottie-animations-in-android-app


gradle module

plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}

android {
namespace 'mychati.app'
compileSdk 32

defaultConfig {
applicationId "mychati.app"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildFeatures{
viewBinding true;
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets {
debug {
res {
srcDirs 'src\\debug\\res', 'src\\debug\\res\\raw'
}
}
}
}

dependencies {

def lottieVersion = "5.2.0"
implementation "com.airbnb.android:lottie:$lottieVersion"
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.firebase:firebase-auth:21.1.0'
implementation 'com.google.firebase:firebase-database:20.1.0'
implementation 'com.google.firebase:firebase-auth'
implementation 'com.squareup.picasso:picasso:2.8'
implementation 'de.hdodenhof:circleimageview:3.1.0'

implementation'com.firebaseui:firebase-ui-database:7.0.0'
implementation 'com.facebook.shimmer:shimmer:0.5.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.makeramen:roundedimageview:2.3.0'
implementation 'com.google.firebase:firebase-storage:20.1.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.google.android.gms:play-services-auth:20.3.0'
implementation platform('com.google.firebase:firebase-bom:31.0.1')
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
}

gradle projectt

buildscript {
dependencies {
classpath 'com.google.gms:google-services:4.3.14'
}

}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.3.0' apply false
id 'com.android.library' version '7.3.0' apply false

Setting gradle

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter()

}
}
rootProject.name = "My chat i"
include ':app'
пытался очистить и сделать rebuild проекта,но не помогло. В чем может быть причина?
  • Вопрос задан
  • 81 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
Bell Integrator Ульяновск
До 400 000 ₽
Bell Integrator Хабаровск
До 400 000 ₽
Bell Integrator Ижевск
До 400 000 ₽
10 мая 2024, в 20:24
1 руб./за проект
10 мая 2024, в 20:06
1500 руб./за проект
10 мая 2024, в 20:06
30000 руб./за проект