Search Unity

Unity Firebase Failed to re-package resources

Discussion in 'Formats & External Tools' started by Deleted User, Oct 29, 2018.

  1. Deleted User

    Deleted User

    Guest

    CommandInvokationFailure: Failed to re-package resources.
    C:\NVPACK\android-sdk-windows\build-tools\28.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:\NVPACK\android-sdk-windows\platforms\android-28\android.jar" -F bin/resources.ap_ --extra-packages com.admob.plugin:android.arch.lifecycle:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.google.android.gms.ads_identifier:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.flags:com.google.android.gms.measurement.api:com.google.android.gms.measurement_base:com.google.android.gms.stats:com.google.android.gms.tasks:com.google.firebase.measurement:com.google.firebase.measurement_impl:com.google.firebase.unity.analytics:com.google.firebase.unity.app:com.google.firebase.auth:com.google.firebase.auth.internal:com.google.firebase.unity.auth:com.google.firebase:com.google.firebase.firebase_core:com.google.firebase.iid:com.google.firebase.iid.internal:com.google.firebase.analytics.connector:com.google.firebase.analytics.connector.impl:android.support.customtabs:com.google.firebase.unity:com.google.firebase.abt:com.google.firebase.measurement:com.google.firebase.measurement_impl:com.google.firebase.firebase_common:com.google.firebase.remoteconfig:com.google.firebase.crash:com.google.firebase.dynamiclinks:com.google.firebase.iid:com.google.firebase.iid.internal:com.google.firebase.firebase_invites:com.google.service.analytics:com.google.android.gms.ads.impl:com.google.android.gms.ads_base:com.google.android.gms.ads_identifier:com.google.android.gms.ads:com.google.android.gms.appinvite:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.drive:com.google.android.gms.flags:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.measurement_base:com.google.android.gms.phenotype:com.google.android.gms.stats:com.google.android.gms.tasks:android.arch.lifecycle:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.google.ads.mediation.unity:com.unity3d.ads:com.yigitcevik.TheCartelTwo.resources -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\admoblib-release\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.0.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-fragment-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-v4-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-16.0.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-16.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\customtabs-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\Firebase\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\firebase-crash-16.0.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\gameservicelib-release\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\play-services-ads-15.0.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\play-services-ads-lite-15.0.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\play-services-appinvite-16.0.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\play-services-base-15.0.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\play-services-basement-15.0.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\runtime-1.0.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\support-compat-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\support-core-ui-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\support-core-utils-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\support-fragment-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\support-media-compat-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\support-v4-26.1.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\unity-adapter-2.1.0.0\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\unity-ads-sdk-2.1\res" -S "C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\unity-android-resources\res"

    stderr[
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\admoblib-release\res\layout\admob_install_app_tpl.xml:107: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\admoblib-release\res\layout\admob_install_app_tpl.xml:107: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <TextView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\admoblib-release\res\layout\admob_install_app_tpl.xml:97: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\admoblib-release\res\layout\admob_install_app_tpl.xml:97: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <TextView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\admoblib-release\res\layout\admob_install_app_tpl.xml:67: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\admoblib-release\res\layout\admob_install_app_tpl.xml: note: using v17 attributes; synthesizing resource com.yigitcevik.TheCartelTwo:layout/admob_install_app_tpl for configuration v17.
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.yigitcevik.TheCartelTwo:layout/notification_action for configuration v17.
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.yigitcevik.TheCartelTwo:layout/notification_action_tombstone for configuration v17.
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.yigitcevik.TheCartelTwo:layout/notification_template_big_media for configuration v17.
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <FrameLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml: note: using v17 attributes; synthesizing resource com.yigitcevik.TheCartelTwo:layout/notification_template_big_media_custom for configuration v17.
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.yigitcevik.TheCartelTwo:layout/notification_template_big_media_narrow for configuration v17.
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:107: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:93: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <LinearLayout>
    C:\Users\abdullah\Documents\Unity Projects\The Cartel\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:93: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    This is not the full error message. the end is usually where the actual error is shown.
    You can grab the full log file by opening the Editor.log file after running a build (Console window --> click on the little "lines" icon and then select "open editor.log"):

    upload_2018-11-3_21-12-51.png

    Please post the full error message, then I can try to help you out.