pusheco / pushe-flutter

Pushe plugin for Flutter framework
Other
14 stars 4 forks source link

❓ [ERROR]: خطا در ریلیز گرفتن پروژه #40

Open MohammadShateri opened 1 year ago

MohammadShateri commented 1 year ago
[//]: # ([ERROR] و اموجی در تیتر برای وضوح مشکل ترجیحا باقی بماند) [//]: # (لطفا حتما تمپلیت را رعایت کنید تا مشکل به خوبی توضیح داده شود و متون تمپلیت را پاک نکنید) **شرح خطا** سلام. من از پوشه توی پروژه استفاده میکنم و زمانی که می خواهم ریلیز بگیرم خطاهای زیر رو توی قسمت "لاگ خطا" به من میده. من از firebase هم استفاده میکنم و البته firebase از پکیج توی `pubspec.yaml` استفاده نکردم و پکیج رو به `build.gradle` اضافه کردم. android/build.gradle ``` dependencies { classpath 'com.google.gms:google-services:4.3.15' } ``` android/app/build.gradle ``` dependencies { implementation platform('com.google.firebase:firebase-bom:31.2.0') implementation 'com.google.firebase:firebase-analytics-ktx' } ``` [//]: # (در صورتی که نصب شما ثبت نمی‌شود لطفا خطاهای مستندات را مطالعه کنید) [//]: # (برای اضافه‌کردن کد آن را از بلاک div خارج کنید تا سمت راست قرار نگیرد) **لاگ خطا**
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':pushe_flutter:mergeReleaseResources'.
> Could not resolve all files for configuration ':pushe_flutter:releaseRuntimeClasspath'.
   > Failed to transform firebase-messaging-22.0.0.aar (com.google.firebase:firebase-messaging:22.0.0) to match attributes {artifactType=android-res, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Could not find firebase-messaging-22.0.0.aar (com.google.firebase:firebase-messaging:22.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-messaging/22.0.0/firebase-messaging-22.0.0.aar
   > 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=android-res, 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-cloud-messaging-16.0.0.aar (com.google.android.gms:play-services-cloud-messaging:16.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-cloud-messaging-16.0.0.aar (com.google.android.gms:play-services-cloud-messaging:16.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-cloud-messaging/16.0.0/play-services-cloud-messaging-16.0.0.aar
   > Failed to transform play-services-stats-17.0.0.aar (com.google.android.gms:play-services-stats:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-stats-17.0.0.aar (com.google.android.gms:play-services-stats:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-stats/17.0.0/play-services-stats-17.0.0.aar
   > Failed to transform firebase-datatransport-18.0.0.aar (com.google.firebase:firebase-datatransport:18.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.   
      > Could not find firebase-datatransport-18.0.0.aar (com.google.firebase:firebase-datatransport:18.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-datatransport/18.0.0/firebase-datatransport-18.0.0.aar
   > Failed to transform firebase-installations-17.0.0.aar (com.google.firebase:firebase-installations:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.   
      > Could not find firebase-installations-17.0.0.aar (com.google.firebase:firebase-installations:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-installations/17.0.0/firebase-installations-17.0.0.aar
   > Failed to transform firebase-common-20.0.0.aar (com.google.firebase:firebase-common:20.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-common-20.0.0.aar (com.google.firebase:firebase-common:20.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-common/20.0.0/firebase-common-20.0.0.aar
   > Failed to transform firebase-common-20.0.0.aar (com.google.firebase:firebase-common:20.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-common-20.0.0.aar (com.google.firebase:firebase-common:20.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-common/20.0.0/firebase-common-20.0.0.aar
   > Failed to transform firebase-common-20.0.0.aar (com.google.firebase:firebase-common:20.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-common-20.0.0.aar (com.google.firebase:firebase-common:20.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-common/20.0.0/firebase-common-20.0.0.aar
   > Failed to transform play-services-base-17.5.0.aar (com.google.android.gms:play-services-base:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.        
      > Could not find play-services-base-17.5.0.aar (com.google.android.gms:play-services-base:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-base/17.5.0/play-services-base-17.5.0.aar
   > Failed to transform firebase-installations-interop-17.0.0.aar (com.google.firebase:firebase-installations-interop:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-installations-interop-17.0.0.aar (com.google.firebase:firebase-installations-interop:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-installations-interop/17.0.0/firebase-installations-interop-17.0.0.aar
   > Failed to transform firebase-installations-interop-17.0.0.aar (com.google.firebase:firebase-installations-interop:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-installations-interop-17.0.0.aar (com.google.firebase:firebase-installations-interop:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-installations-interop/17.0.0/firebase-installations-interop-17.0.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0) to match attributes {artifactType=android-res, org.gradle.status=release}.      
      > Could not find play-services-tasks-17.2.0.aar (com.google.android.gms:play-services-tasks:17.2.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tasks/17.2.0/play-services-tasks-17.2.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find play-services-basement-17.5.0.aar (com.google.android.gms:play-services-basement:17.5.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/17.5.0/play-services-basement-17.5.0.aar
   > Failed to transform transport-backend-cct-3.0.0.aar (com.google.android.datatransport:transport-backend-cct:3.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find transport-backend-cct-3.0.0.aar (com.google.android.datatransport:transport-backend-cct:3.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/datatransport/transport-backend-cct/3.0.0/transport-backend-cct-3.0.0.aar
   > Failed to transform transport-backend-cct-3.0.0.aar (com.google.android.datatransport:transport-backend-cct:3.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find transport-backend-cct-3.0.0.aar (com.google.android.datatransport:transport-backend-cct:3.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/datatransport/transport-backend-cct/3.0.0/transport-backend-cct-3.0.0.aar
   > Failed to transform transport-runtime-3.0.0.aar (com.google.android.datatransport:transport-runtime:3.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.  
      > Could not find transport-runtime-3.0.0.aar (com.google.android.datatransport:transport-runtime:3.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/datatransport/transport-runtime/3.0.0/transport-runtime-3.0.0.aar
   > Failed to transform transport-runtime-3.0.0.aar (com.google.android.datatransport:transport-runtime:3.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.  
      > Could not find transport-runtime-3.0.0.aar (com.google.android.datatransport:transport-runtime:3.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/datatransport/transport-runtime/3.0.0/transport-runtime-3.0.0.aar
   > Failed to transform transport-runtime-3.0.0.aar (com.google.android.datatransport:transport-runtime:3.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.  
      > Could not find transport-runtime-3.0.0.aar (com.google.android.datatransport:transport-runtime:3.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/datatransport/transport-runtime/3.0.0/transport-runtime-3.0.0.aar
   > Failed to transform firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-components/17.0.0/firebase-components-17.0.0.aar
   > Failed to transform firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-components/17.0.0/firebase-components-17.0.0.aar
   > Failed to transform firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-components/17.0.0/firebase-components-17.0.0.aar
   > Failed to transform firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0) to match attributes {artifactType=android-res, org.gradle.status=release}.
      > Could not find firebase-components-17.0.0.aar (com.google.firebase:firebase-components:17.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-components/17.0.0/firebase-components-17.0.0.aar

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 56s
**اطلاعات محیط تست** - نسخه‌ی پوشه یا پلاگین 2.6.1 - نسخه‌ی فریم‌ورک 3.3.7 - سیستم‌عامل Android - compileSdkVersion 33 (Android)
MohammadShateri commented 1 year ago

کلا کار به firebase نداره. فایربیس رو حذف کردم بازم این خطارو میده.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
> Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
   > Failed to transform firebase-messaging-22.0.0.aar (com.google.firebase:firebase-messaging:22.0.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Could not find firebase-messaging-22.0.0.aar (com.google.firebase:firebase-messaging:22.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-messaging/22.0.0/firebase-messaging-22.0.0.aar
   > 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=android-aar-metadata, 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-cloud-messaging-16.0.0.aar (com.google.android.gms:play-services-cloud-messaging:16.0.0) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
      > Could not find play-services-cloud-messaging-16.0.0.aar (com.google.android.gms:play-services-cloud-messaging:16.0.0).
        Searched in the following locations:
            https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-cloud-messaging/16.0.0/play-services-cloud-messaging-16.0.0.aar
   > Failed to transform play-services-stats-17.0.0.aar (com.google.android.gms:play-services-stats:17.0.0) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.