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

مشكلة ظهور خطأ بعد تحديث أندرويد استوديو

Marwa Ali4

السؤال

السلام عليكم ورحمة الله وبركاته  ممكن حل تظهر عندي هدي المشكلة بعد تحديت الاندرويد

Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. Using insecure protocols with repositories, without explicit opt-in, is unsupp
apply plugin: 'com.android.application'

android { compileSdkVersion 31

defaultConfig { applicationId "com.icanstudioz.taxicustomer"

minSdkVersion 16

targetSdkVersion 31

versionCode 11

versionName "2.1"

multiDexEnabled true

"testInstrumentationRunner "android.support.home_fragment.runner.AndroidJUnitRunner

compileOptions{ sourceCompatibility JavaVersion.VERSION_1_8

targetCompatibility JavaVersion.VERSION_1_8 }

javaCompileOptions

{ annotationProcessorOptions { includeCompileClasspath true } }

dependencies

{ implementation ('com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.16.0')

{ transitive = true } implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.16.0'

implementation 'com.google.firebase:firebase-auth:21.0.1'

implementation 'com.google.firebase:firebase-messaging:23.0.0'

implementation 'com.paypal.sdk:paypal-android-sdk:2.15.3'

implementation 'com.github.TheBrownArrow:PermissionManager:1.0.0'

implementation 'de.hdodenhof:circleimageview:3.0.0'

implementation 'gun0912.ted:tedbottompicker:1.2.6'

implementation 'com.akexorcist:googledirectionlibrary:1.0.5'



implementation 'com.loopj.android:android-async-http:1.4.9'

implementation 'com.github.bumptech.glide:glide:4.7.1'

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

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

//implementation 'com.google.android.gms:play-services-places:16.0.0'

implementation 'com.google.android.libraries.places:places:2.5.0'

implementation 'com.google.firebase:firebase-database:20.0.3'

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

implementation 'com.android.support:appcompat-v7:+'

implementation 'androidx.multidex:multidex:2.0.1'

implementation 'androidx.cardview:cardview:1.0.0'

implementation 'androidx.appcompat:appcompat:1.4.0'

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

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

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

androidTestImplementation "androidx.navigation:navigation-testing:2.4.0-rc01"

apply plugin: 'com.google.gms.google-services'

 

تم التعديل في بواسطة Hassan Hedr
تنسيق السؤال
رابط هذا التعليق
شارك على الشبكات الإجتماعية

Recommended Posts

  • 0

يمكنك إضافة الخاصية allowInsecureProtocol ضمن ملف gradle.build للمستودعات الموجودة ليتم تجاوز المشكلة، كالتالي

allRepositories {
  repositories{
    ...
    maven {
      url "http://dl.bintray.com/maven/"
      allowInsecureProtocol = true
    }
  }
}

 أو بتبديل بروتوكول http ب htttps ضمن جميع المستودعات المعرفة 

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

  • 0

@Hassan Hedrجربت اضافه خاصية allowInsecureProtocol دون جدوى ..كيفاقوم بتبديل البرتوكولات اليhttps

systemProp.http.proxyHost= 

systemProp.https.proxyHost= 

systemProp.https.proxyPort=80 

systemProp.http.proxyPort=80 

org.gradle.jvmargs=-Xmx1024m 

android.useAndroidX=true

هدي اوامر وحدة الخصائص الموجدة لدي

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

  • 0
بتاريخ 20 دقائق مضت قال Marwa Ali4:

كيف اقوم بتبديل البرتوكولات الى https

إذا كان هناك أي ذكر صريح لرابط مستودع يبدأ ب //:http نقوم بتبديله إلى//:https

بتاريخ 22 دقائق مضت قال Marwa Ali4:

جربت اضافه خاصية allowInsecureProtocol دون جدوى

حاولي إضافتها إلى جميع المستودعات المذكورة ضمن الملف

 

أيضًا حاولي إضافتها ضمن repositories مباشرة كالتالي

allprojects {
    repositories {
        ...
        allowInsecureProtocol = true
    }
}

 

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

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

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

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

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   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.

  • إعلانات

  • تابعنا على



×
×
  • أضف...