[Unity] Gradle build failed , see the console for details
Closed this issue · 11 comments
بعد از اضافه کردن بکیج تپسل پلاس در یونیتی هنگام Build کردن خطای Gradle build failed , see the console for details نمایش داده می شود .
در صورتی که بدون استفاده از پکیج پروژه بدون هیچ خطایی Build می شود.
نسخه یونیتی مورد استفاده 2020.2.7f1 می باشد.
لطفاً راهنمایی کنید.
سلام
محتوای stderr[]
رو که مربوط به خطای گریدل هست رو ارسال کنید که بدونیم خطا چی هست و چرا build به مشکل خورده
با تشکر
سلام روزتون بخیر
ممنون از راهنماییتون
سلام مجدد
ممنون از راهنماییتون
خطای قبلی برطرف شد ولی متاسفانه خطای زیر نمایش داده می شود .
از آخرین نسخه تپسل پلاس استفاده کردم.
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Java\jdk1.8.0_77\bin\java.exe -classpath "C:\gradle\gradle-6.9\lib\gradle-launcher-6.9.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':launcher:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':launcher:debugRuntimeClasspath'.
> Failed to transform play-services-ads-identifier-17.0.0.aar (com.google.android.gms:play-services-ads-identifier:17.0.0) to match attributes {artifactType=jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find play-services-ads-identifier-17.0.0.aar (com.google.android.gms:play-services-ads-identifier:17.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-ads-identifier/17.0.0/play-services-ads-identifier-17.0.0.aar
> Failed to transform play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/18.0.0/play-services-basement-18.0.0.aar
> Failed to transform play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/18.0.0/play-services-basement-18.0.0.aar
> Failed to transform play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/18.0.0/play-services-basement-18.0.0.aar
> Failed to transform play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/18.0.0/play-services-basement-18.0.0.aar
> Failed to transform play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/18.0.0/play-services-basement-18.0.0.aar
> Failed to transform play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/18.0.0/play-services-basement-18.0.0.aar
> Failed to transform play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find play-services-basement-18.0.0.aar (com.google.android.gms:play-services-basement:18.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/18.0.0/play-services-basement-18.0.0.aar
> Failed to transform fragment-1.0.0.aar (androidx.fragment:fragment:1.0.0) to match attributes {artifactType=jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find fragment-1.0.0.aar (androidx.fragment:fragment:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.0.0/fragment-1.0.0.aar
> Failed to transform fragment-1.0.0.aar (androidx.fragment:fragment:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find fragment-1.0.0.aar (androidx.fragment:fragment:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.0.0/fragment-1.0.0.aar
> Failed to transform fragment-1.0.0.aar (androidx.fragment:fragment:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find fragment-1.0.0.aar (androidx.fragment:fragment:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.0.0/fragment-1.0.0.aar
> Failed to transform vectordrawable-animated-1.0.0.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0) to match attributes {artifactType=jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find vectordrawable-animated-1.0.0.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/vectordrawable/vectordrawable-animated/1.0.0/vectordrawable-animated-1.0.0.aar
> Failed to transform exifinterface-1.2.0.aar (androidx.exifinterface:exifinterface:1.2.0) to match attributes {artifactType=jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find exifinterface-1.2.0.aar (androidx.exifinterface:exifinterface:1.2.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.aar
> Failed to transform legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/legacy/legacy-support-core-ui/1.0.0/legacy-support-core-ui-1.0.0.aar
> Failed to transform legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/legacy/legacy-support-core-ui/1.0.0/legacy-support-core-ui-1.0.0.aar
> Failed to transform legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/legacy/legacy-support-core-utils/1.0.0/legacy-support-core-utils-1.0.0.aar
> Failed to transform legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/legacy/legacy-support-core-utils/1.0.0/legacy-support-core-utils-1.0.0.aar
> Failed to transform loader-1.0.0.aar (androidx.loader:loader:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find loader-1.0.0.aar (androidx.loader:loader:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/loader/loader/1.0.0/loader-1.0.0.aar
> Failed to transform loader-1.0.0.aar (androidx.loader:loader:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find loader-1.0.0.aar (androidx.loader:loader:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/loader/loader/1.0.0/loader-1.0.0.aar
> Failed to transform lifecycle-viewmodel-2.0.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find lifecycle-viewmodel-2.0.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-viewmodel/2.0.0/lifecycle-viewmodel-2.0.0.aar
> Failed to transform lifecycle-viewmodel-2.0.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find lifecycle-viewmodel-2.0.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-viewmodel/2.0.0/lifecycle-viewmodel-2.0.0.aar
> Failed to transform vectordrawable-1.0.0.aar (androidx.vectordrawable:vectordrawable:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find vectordrawable-1.0.0.aar (androidx.vectordrawable:vectordrawable:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/vectordrawable/vectordrawable/1.0.0/vectordrawable-1.0.0.aar
> Failed to transform viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/viewpager/viewpager/1.0.0/viewpager-1.0.0.aar
> Failed to transform coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/coordinatorlayout/coordinatorlayout/1.0.0/coordinatorlayout-1.0.0.aar
> Failed to transform drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/drawerlayout/drawerlayout/1.0.0/drawerlayout-1.0.0.aar
> Failed to transform slidingpanelayout-1.0.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find slidingpanelayout-1.0.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/slidingpanelayout/slidingpanelayout/1.0.0/slidingpanelayout-1.0.0.aar
> Failed to transform customview-1.0.0.aar (androidx.customview:customview:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find customview-1.0.0.aar (androidx.customview:customview:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/customview/customview/1.0.0/customview-1.0.0.aar
> Failed to transform customview-1.0.0.aar (androidx.customview:customview:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find customview-1.0.0.aar (androidx.customview:customview:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/customview/customview/1.0.0/customview-1.0.0.aar
> Failed to transform customview-1.0.0.aar (androidx.customview:customview:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find customview-1.0.0.aar (androidx.customview:customview:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/customview/customview/1.0.0/customview-1.0.0.aar
> Failed to transform customview-1.0.0.aar (androidx.customview:customview:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find customview-1.0.0.aar (androidx.customview:customview:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/customview/customview/1.0.0/customview-1.0.0.aar
> Failed to transform customview-1.0.0.aar (androidx.customview:customview:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find customview-1.0.0.aar (androidx.customview:customview:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/customview/customview/1.0.0/customview-1.0.0.aar
> Failed to transform swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/swiperefreshlayout/swiperefreshlayout/1.0.0/swiperefreshlayout-1.0.0.aar
> Failed to transform asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/asynclayoutinflater/asynclayoutinflater/1.0.0/asynclayoutinflater-1.0.0.aar
> Failed to transform core-1.2.0.aar (androidx.core:core:1.2.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find core-1.2.0.aar (androidx.core:core:1.2.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/core/core/1.2.0/core-1.2.0.aar
> Failed to transform core-1.2.0.aar (androidx.core:core:1.2.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find core-1.2.0.aar (androidx.core:core:1.2.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/core/core/1.2.0/core-1.2.0.aar
> Failed to transform core-1.2.0.aar (androidx.core:core:1.2.0) to match attributes {artifactType=jar, org.gradle.status=release}.
> Could not find core-1.2.0.aar (androidx.core:core:1.2.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/core/core/1.2.0/core-1.2.0.aar
> Failed to transform core-1.2.0.aar (androidx.core:core:1.2.0) to match attributes {artifactType=jar, org.gradle.stat<message truncated>
سلام.
گریدل نتونسته فایل های مربوطه رو از این لینک ها دانلود کنه و به نظر میرسه که مشکل نتورک یا پراکسی داشته باشید.
با وی پی ان مجدد بررسی کنید.
Closing. Please re-open if the issue still exists.