Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Failed to re-package resources

Discussion in 'Editor & General Support' started by LazyGoblinCody, Jun 30, 2018.

  1. LazyGoblinCody

    LazyGoblinCody

    Joined:
    Mar 18, 2015
    Posts:
    66
    Been stuck on this all day and have yet to find a solution.

    Error message below.

    CommandInvokationFailure: Failed to re-package resources.
    D:\Android-SDK-Windows\build-tools\27.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "D:/Android-SDK-Windows\platforms\android-27\android.jar" -F bin/resources.ap_ --extra-packages com.adcolony.adcolonysdk:android.arch.lifecycle:com.appodeal.appodeal.unity:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.google.android.gms.ads.impl:com.google.android.gms.admob.impl.license:com.google.android.gms.admob:com.google.android.gms.admob.license:com.google.android.gms.auth.api:com.google.android.gms.auth.api.phone:com.google.android.gms.auth.api.phone.license:com.google.android.gms.auth:com.google.android.gms.auth.license:com.google.android.gms.base:com.google.android.gms.base.license:com.google.android.gms:com.google.android.gms.common.license:com.google.android.gms.drive:com.google.android.gms.drive.license:com.google.android.gms.games:com.google.android.gms.games.license:com.google.android.gms.gass:com.google.android.gms.gass.license:com.google.android.gms.gcm:com.google.android.gms.gcm.license:com.google.android.gms.iid:com.google.android.gms.iid.license:com.google.android.gms.location:com.google.android.gms.location.license:com.google.android.gms.nearby:com.google.android.gms.nearby.license:com.google.android.gms.tasks:com.google.android.gms.tasks.license:com.google.games.bridge:com.unity.purchasing:com.android.vending.billing:com.google.unity.ads:com.unity.purchasing.googleplay:com.google.example.games.mainlibproj:com.appodeal.inmobi.unity:com.appodeal.ogury.unity:com.appodeal.startapp.unity:com.appodeal.yandexmetrica.unity -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.0.0\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-26.1.0\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-26.1.0\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-fragment-26.1.0\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-v4-26.1.0\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-lite-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-lite-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-api-phone-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-api-phone-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-base-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-base-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-drive-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-drive-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-games-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-games-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-gass-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-gass-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-gcm-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-gcm-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-iid-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-iid-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-location-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-location-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-nearby-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-nearby-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-tasks-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-tasks-license-12.0.1\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.google.games.gpgs-plugin-support-0.9.50\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\common\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\GooglePlay\res"
    stderr[
    C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.LiontechStudios.TukTukTrials:layout/notification_action for configuration v17.
    C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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.LiontechStudios.TukTukTrials:layout/notification_action_tombstone for configuration v17.
    C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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.LiontechStudios.TukTukTrials:layout/notification_template_big_media for configuration v17.
    C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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.LiontechStudios.TukTukTrials:layout/notification_template_big_media_custom for configuration v17.
    C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\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.LiontechStudios.TukTukTrials:layout/notification_template_big_media_narrow for configuration v17.
    C:\Users\codyc\Desktop\EngiGames\LionTechStudios\LionTechStudios\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\r<message truncated>
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,316
    Were you able to resolve this issue? the log message you posted is truncated (see at the end of it), the real source for this error is not shown. Please send the full log (you can get it from the Editor.log file).
     
  3. ar_0o0o0

    ar_0o0o0

    Joined:
    Oct 6, 2017
    Posts:
    2
    I Have This problem too.

    CommandInvokationFailure: Failed to re-package resources.
    C:\Android_SDK\build-tools\28.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Android_SDK\platforms\android-28\android.jar" -F bin/resources.ap_ --extra-packages 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.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.app:com.google.firebase.firebase_common:com.google.firebase.firebase_core:com.google.firebase.iid.internal:com.google.firebase.analytics.connector:com.google.firebase.messaging:com.google.firebase.unity.messaging:com.google.firebase.unity -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.0.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-26.1.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-26.1.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-fragment-26.1.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-v4-26.1.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-15.0.1\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.google.firebase.firebase-messaging-17.1.0\res" -S "C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\Firebase\res"

    stderr[
    C:\Users\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource app.test.my.fcm.newfcm:layout/notification_action for configuration v17.
    C:\Users\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource app.test.my.fcm.newfcm:layout/notification_action_tombstone for configuration v17.
    C:\Users\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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 app.test.my.fcm.newfcm:layout/notification_template_big_media for configuration v17.
    C:\Users\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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 app.test.my.fcm.newfcm:layout/notification_template_big_media_custom for configuration v17.
    C:\Users\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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 app.test.my.fcm.newfcm:layout/notification_template_big_media_narrow for configuration v17.
    C:\Users\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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\Arman\Desktop\FirebaseFinalTest\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>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <LinearLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:49: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <FrameLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:49: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_narrow_custom.xml: note: using v17 attributes; synthesizing resource app.test.my.fcm.newfcm:layout/notification_template_big_media_narrow_custom for configuration v17.
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_template_custom_big.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <LinearLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_template_custom_big.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <FrameLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml:103: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml:95: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <ImageView>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml:51: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml:82: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <ImageView>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml:41: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <FrameLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml:41: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout-v16\notification_template_custom_big.xml: note: using v17 attributes; synthesizing resource app.test.my.fcm.newfcm:layout/notification_template_custom_big for configuration v17.
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_lines_media.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <LinearLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_lines_media.xml:81: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    C:\Users\Arman\Desktop\FirebaseFinalTest\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_lines_media.xml:100: note: removing attribute htt<message truncated>
     
  4. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,316
    Your error message is truncated. please attach the full error message from the Editor.log file.
     
  5. GameJob2017

    GameJob2017

    Joined:
    Mar 1, 2017
    Posts:
    16
    Hello,

    I am trying to build an APK in Unity 2017. But, I get these build errors below. Please let me know how to fix them. Thanks.

    Here are the build errors:

    CommandInvokationFailure: Failed to re-package resources. /Users/thanh/Library/Android/sdk/build-tools/26.0.0/aapt package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "/Users/thanh/Library/Android/sdk/platforms/android-26/android.jar" -F bin/resources.ap_ --extra-packages eu.janmuller.android.simplecropimage:com.android.vending.billing:com.unity.purchasing.googleplay:android.arch.lifecycle:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.sglib.easymobile.androidnative:com.unity.purchasing:net.ktnt.musicdialog:com.unity.udp.sdk:com.unity.udp.udpsandbox:com.unity.udp.sdk.common -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/CropLib/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/GoogleAIDL/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/GooglePlay/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/android.arch.lifecycle.runtime-1.0.0/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.android.support.support-compat-26.1.0/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.android.support.support-core-ui-26.1.0/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.android.support.support-core-utils-26.1.0/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.android.support.support-fragment-26.1.0/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.android.support.support-media-compat-26.1.0/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.android.support.support-v4-26.1.0/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.sglib.easymobile.easy-mobile-1.0.3/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/common/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/songpicker/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/udpsandbox/res" -S "/Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/utils/res"

    stderr[ /Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/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 /Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/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 /Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/Temp/StagingArea/android-libraries/com.android.support.support-compat-26.1.0/res/layout/notification_action.xml: note: using v17 attributes; synthesizing resource com.astricstore.imageandvideopicker:layout/notification_action for configuration v17. /Users/thanh/Unity - Homework/Flight Kit - May 2018 - Unity 2017/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
     
  6. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,316
    Your error message is truncated. please attach the full error message from the Editor.log file.