Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MohammadShateri opened this issue Feb 14, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@MohammadShateri
Copy link

شرح خطا
سلام.
من از پوشه توی پروژه استفاده میکنم و زمانی که می خواهم ریلیز بگیرم خطاهای زیر رو توی قسمت "لاگ خطا" به من میده.
من از 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'
}

لاگ خطا

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 MohammadShateri added the question Further information is requested label Feb 14, 2023
@MohammadShateri
Copy link
Author

کلا کار به 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}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant