اذهب إلى المحتوى
  • 0

واجهتنئ هده المشكلة في Failed to resolve: androidx.navigation:navigation-ui:2.4.0-rc01 <a href="open.dependency.in.project.structure">

Marwa Ali4

السؤال

واجهتنئ هده المشكلة في

Failed to resolve: androidx.navigation:navigation-ui:2.4.0-rc01
<a href="open.dependency.in.project.structure">

الاعتماديات

dependencies {

implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'androidx.appcompat:appcompat:1.3.1'

implementation 'androidx.constraintlayout:constraintlayout:2.1.0'

 implementation 'androidx.legacy:legacy-support-v4:1.0.0'

implementation 'com.google.android.material:material:1.4.0'

implementation 'androidx.vectordrawable:vectordrawable:1.1.0'

implementation 'com.google.android.gms:play-services-maps:17.0.1'

implementation 'androidx.navigation:navigation-fragment:2.3.5'

implementation 'androidx.navigation:navigation-ui:2.3.5'

implementation 'androidx.recyclerview:recyclerview:1.2.1' test

Implementation 'junit:junit:4.12' androidTest

Implementation 'androidx.test:runner:1.4.0' androidTest

Implementation 'androidx.test.espresso:espresso-core:3.4.0'

//ui

implementation 'de.hdodenhof:circleimageview:2.2.0'

implementation 'me.relex:circleindicator:1.2.1

@aar'

implementation 'com.github.mukeshsolanki:android-otpview-pinview:2.0.3'

  implementation "roidx.navigation:navigation-fragment:2.4.0-rc01"

implementation 'com.github.joielechong:countrycodepicker:2.4.1'

implementation "androidx.navigation:navigation-ui:2.4.0-rc01"

//maps

implementation 'com.github.aarsy.googlemapsanimations:googlemapsanimations:1.0.5'

implementation 'com.google.android.gms:play-services-location:18.0.0'

implementation 'com.github.MrBin99:LaravelEchoAndroid:1.0.2'

implementation 'com.google.maps.android:android-maps-utils:0.5+'

//extensions

implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'

//room database

implementation 'androidx.room:room-runtime:2.3.0' annotationProcessor 'androidx.room:room-compiler:2.3.0'

//retrofit

implementation 'com.squareup.retrofit2:retrofit:2.3.0'

implementation 'com.squareup.retrofit2:converter-gson:2.3.0'

//gson

implementation 'com.google.code.gson:gson:2.8.5'

//SectionedRecyclerViewAdapter

implementation 'io.github.luizgrp.sectionedrecyclerviewadapter:sectionedrecyclerviewadapter:1.2.0'

implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"

implementation platform('com.google.firebase:firebase-bom:28.3.1')

}
رابط هذا التعليق
شارك على الشبكات الإجتماعية

Recommended Posts

  • 0

أولا أعتقد أن المكتبة تم استدعائها مرتين.. يمكن تعليق الثانية و التجريب

implementation 'androidx.navigation:navigation-ui:2.3.5'

//implementation "androidx.navigation:navigation-ui:2.4.0-rc01"

إن ظهر مشاكل..

من قائمة Refactor يمكن التأمد من تفعيل androidX

Refactor->Migrate to androidX

 

بتاريخ الآن قال Wael Aljamal:

من قائمة Refactor يمكن التأمد من تفعيل androidX

هذا يضيف:

android.enableJetifier=true
android.useAndroidX=true

لملف gradle.properties تأكدي منهم

رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 0

 

اقتباس

 


android.enableJetifier=true
android.useAndroidX=true

 

 مكتبة androidx مفعلة عندي . حاولت حدف امر واحد من التعريفات ولكن الخطاء ظاهر عندي لم يتغير 

تم التعديل في بواسطة Marwa Ali4
رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 0

حدت معي مشكلة لأ أعلم ماسببها ملف migrate to androidx غير موجود هدا تظهر رسالة (no usages found in the project) عند فتح الملف مع العلم ان الملف كان موجود عندي . عملت تنظيف المشروع ولكن يأتي بنتيجة 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 0
بتاريخ 6 ساعات قال Marwa Ali4:

حدت معي مشكلة لأ أعلم ماسببها ملف migrate to androidx غير موجود هدا تظهر رسالة (no usages found in the project) عند فتح الملف مع العلم ان الملف كان موجود عندي . عملت تنظيف المشروع ولكن يأتي بنتيجة 

حاولي تحديث أندرويد استديو، وكل لواحقه مثل gradle plugin.

لملف gradle.properties تأكدي منهم

android.enableJetifier=true
android.useAndroidX=true

وتوافق:

compileSdkVersion 28   /// هذه
    defaultConfig {
        ......
        minSdkVersion 21
        targetSdkVersion 28   // هذه
        ......
    }

كما تعديل إصدار المكتبات التالية أو تعديل اسمها لتصبح لوجود بديل أحدث:

** android/build.gradle and changed

	* com.android.tools.build:gradle to version 3.3.0

	* com.google.gms:google-services to version 4.2.0


**opened android/app/build.gradle and

	*changed compileSdkVersion to 28

*	replaced android.support.test.runner.AndroidJUnitRunner 
		to androidx.test.runner.AndroidJUnitRunner

*	replaced com.android.support.test:runner 
		to androidx.test:runner:1.1.0

*	replaced com.android.support.test.espresso:espresso-core 
		to androidx.test.espresso:espresso-core:3.1.0

للأسف هكذا مشاكل يوجد العديد من الخطوات التي من الممكن لها حلا المشكلة وهذا يتطلب منك نسخ رسالة الخطأ وتجريب كل الحلول، 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...