50٪ تخفیف روی تمام دوره‌ها!
پایان تخفیف تا:
مشاهده دوره‌ها
0

مشکل اندروید استودیو

درود
من نصب و...اندروید استودیو رو همه رو با وی پی ان انجام دادم
ولی هنوز مشکل داره
برای مثال
ساده ترین برنامه Hello World برای معلم درست اجرا میشه توی شبیه ساز ولی برای من توی شبیه ساز هیچ اتفاقی نمیفته
واقعا نمیدونم چکار کنم
اگر تونستین کمک کنید ممنون و اگر اطلاعات بیشتری خواستین هم میفرستم
یکسری ارور ها هم داره :

A problem occurred configuring root project 'First Application or'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find builder-7.0.0.jar (com.android.tools.build:builder:7.0.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/7.0.0/builder-7.0.0.jar
   > Could not find gradle-api-7.0.0.jar (com.android.tools.build:gradle-api:7.0.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-api/7.0.0/gradle-api-7.0.0.jar
   > Could not find signflinger-7.0.0.jar (com.android:signflinger:7.0.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/signflinger/7.0.0/signflinger-7.0.0.jar
   > Could not find zipflinger-7.0.0.jar (com.android:zipflinger:7.0.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/zipflinger/7.0.0/zipflinger-7.0.0.jar
   > Could not find annotations-30.0.0.jar (com.android.tools:annotations:30.0.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/annotations/30.0.0/annotations-30.0.0.jar
   > Could not find apksig-7.0.0.jar (com.android.tools.build:apksig:7.0.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/7.0.0/apksig-7.0.0.jar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html


پرسیده شده در 1400/05/25 توسط

1 پاسخ

0

سلام اندروید استودیو نمیتونه کامل فایل های موردنیاز رو دانلود بکنه بهتره با برنامه های تغییر ای پی مختلف تست کنید یا پیشنهاد میکنم از سایت شکن استفاده کنید.

داخل فایل build.gradle هم بخش repositories این سه تا مخزن و چک کنید وجود داره.

repositories {
        google()
        jcenter()
        maven {
            url 'http://storage.googleapis.com/r8-releases/raw'
        }
    }
پاسخ در 1400/05/25 توسط

پاسخ شما