Firebase with Google Play Games integration build error
Hi, I am getting an error after Firebase and google play games integration. I cant build apk.
CommandInvokationFailure: Failed to re-package resources.
E:\AndroidSDK\build-tools\28.0.0\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "E:/AndroidSDK\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.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.drive:com.google.android.gms.drive.license:com.google.android.gms.flags:com.google.android.gms.games:com.google.android.gms.games.license:com.google.android.gms.measurement_base:com.google.android.gms.nearby:com.google.android.gms.nearby.license:com.google.android.gms.stats:com.google.android.gms.tasks:com.google.firebase.measurement_impl:com.google.firebase.unity.analytics:com.google.firebase.unity.app:com.google.firebase.auth.internal:com.google.firebase.firebase_common:com.google.firebase.firebase_core:com.google.firebase.iid.internal:com.google.firebase.unity.instance_id:com.google.firebase.analytics.connector:com.google.firebase.messaging:com.google.firebase.unity.messaging:com.google.games.bridge:com.google.firebase.unity:com.google.example.games.mainlibproj -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.0.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-26.1.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-26.1.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.android.support.support-fragment-26.1.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.android.support.support-v4-26.1.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-11.8.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-api-phone-11.8.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-base-11.8.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-drive-11.8.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-games-11.8.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-nearby-11.8.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.firebase.firebase-messaging-17.1.0\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.google.games.gpgs-plugin-support-0.9.50\res" -S "C:\Users\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\Firebase\res"
stderr[
C:\Users\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.Hasan.Runner:layout/notification_action for configuration v17.
C:\Users\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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.Hasan.Runner:layout/notification_action_tombstone for configuration v17.
C:\Users\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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.Hasan.Runner:layout/notification_template_big_media for configuration v17.
C:\Users\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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.Hasan.Runner:layout/notification_template_big_media_custom for configuration v17.
C:\Users\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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.Hasan.Runner:layout/notification_template_big_media_narrow for configuration v17.
C:\Users\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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 com.Hasan.Runner:layout/notification_template_big_media_narrow_custom for configuration v17.
C:\Users\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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\hmtar\Documents\RunnerM\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 com.Hasan.Runner:layout/notification_template_custom_big for con<message truncated>
Google play resolver is not working stable. I have merged Manifest files myself
Comment
Your answer
Follow this Question
Related Questions
Apk build and install problem 0 Answers
why android app after building is not working on physical device? 1 Answer
Building APK is taking an absurdly long amount of time 3 Answers
"com.google.common.base.verifyexception" Can't build my android game 0 Answers
Found plugins with same names and architectures, () and (). 0 Answers