I keep getting this error on my pc but not on my mac. I built this project on windows. And after deciding to port it to ios on my mac, I keep getting this error on my pc when developing for Android. I have tried all the solutions I have found on the internet but to no avail.
This is the error I get:
CommandInvokationFailure: Failed to re-package resources.
C:\android-sdk\build-tools\25.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/android-sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages com.adcolony.unityplugin:com.facebook.ads:com.google.android.exoplayer2:com.google.firebase.unity:com.google.firebase.measurement:com.google.firebase.measurement_impl:com.google.firebase.measurement.impl.license:com.google.firebase.measurement.license:com.google.firebase.unity.analytics:com.google.firebase.unity.app:com.google.firebase.firebase_common:com.google.firebase.firebase.common.license:com.google.firebase.firebase_core:com.google.firebase.iid:com.google.firebase.firebase.iid.license:com.google.firebase.messaging:com.google.firebase.firebase.messaging.license:com.google.firebase.unity.messaging:com.google.unity.ads:com.google.example.games.mainlibproj: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.analyticsservices_app_library:com.google.android.gms.analyticsservices:com.google.android.gms.analyticsservices.license:com.google.android.gms.analyticsservices.app.library.license:com.google.android.gms.auth.api:com.google.android.gms.auth: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.games: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.nearby:com.google.android.gms.tagmanager_legacy:com.google.android.gms.tagmanager.legacy.license:com.google.android.gms.tasks:com.google.android.gms.tasks.license:android.arch.lifecycle:me.leolin.shortcutbadger:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.strategygame.gameofwarriors:com.unity3d.ads:universal.tools.notifications:universal.tools.notifications.res:com.pushok.test -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\ads-release\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\exoplayer\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\Firebase\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\firebase-analytics-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\firebase-analytics-impl-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\firebase-common-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\firebase-iid-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\firebase-messaging-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-ads-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-ads-lite-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-analytics-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-analytics-impl-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-auth-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-auth-base-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-base-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-basement-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-drive-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-games-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-gass-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-gcm-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-iid-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-nearby-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-tagmanager-v4-impl-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\play-services-tasks-11.8.0\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\runtime-1.0.3\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\ShortcutBadger-1.1.5\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-compat-27.0.2\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-core-ui-27.0.2\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-core-utils-27.0.2\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-fragment-27.0.2\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-v4-27.0.2\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\unity-android-resources\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\UnityAds\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\utnotifications\res" -S "C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\UTNotificationsRes\res"
stderr[
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\exoplayer\res\layout\exo_playback_control_view.xml:16: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\exoplayer\res\layout\exo_playback_control_view.xml:74: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <TextView>
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\exoplayer\res\layout\exo_playback_control_view.xml:74: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\exoplayer\res\layout\exo_playback_control_view.xml:57: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\exoplayer\res\layout\exo_playback_control_view.xml:57: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <TextView>
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\exoplayer\res\layout\exo_playback_control_view.xml: note: using v17 attributes; synthesizing resource com.strategygame.gameofwarriors:layout/exo_playback_control_view for configuration v17.
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-compat-27.0.2\res\layout
otification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-compat-27.0.2\res\layout
otification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-compat-27.0.2\res\layout
otification_action.xml: note: using v17 attributes; synthesizing resource com.strategygame.gameofwarriors:layout/notification_action for configuration v17.
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-compat-27.0.2\res\layout
otification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-compat-27.0.2\res\layout
otification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-compat-27.0.2\res\layout
otification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.strategygame.gameofwarriors:layout/notification_action_tombstone for configuration v17.
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.strategygame.gameofwarriors:layout/notification_template_big_media for configuration v17.
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_custom.xml: note: using v17 attributes; synthesizing resource com.strategygame.gameofwarriors:layout/notification_template_big_media_custom for configuration v17.
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.strategygame.gameofwarriors:layout/notification_template_big_media_narrow for configuration v17.
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow_custom.xml:107: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow_custom.xml:93: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow_custom.xml:93: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow_custom.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow_custom.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow_custom.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\Proyectos\StationEngine\StationEngine\Temp\StagingArea\android-libraries\support-media-compat-27.0.2\res\layout
otification_template_big_media_narrow_custom.xml:49: note: removing attri