Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by HaniDabash · Jul 25, 2017 at 05:02 PM · unity 5build-error

play-games-plugin with Admob plugin .. failed to repackage resources ..

Hello guys ..

my problem is (Failed to re-package resources) when build the apk .. i completed adding Admob to my project and test it .. it works fine .. the problem comes when i import play-games-plugin-for-unity to my project and try to build the apk ..

alt text

 CommandInvokationFailure: Failed to re-package resources.
 C:\Users\Darker\AppData\Local\Android\sdk\build-tools\26.0.0\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:\Users\Darker\AppData\Local\Android\sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4 -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-ads-10.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-ads-lite-10.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-auth-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-auth-base-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-basement-10.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-basement-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-drive-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-games-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-gass-10.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-nearby-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-tasks-10.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-tasks-11.0.2\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\support-compat-25.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\support-core-ui-25.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\support-core-utils-25.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\support-fragment-25.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\support-media-compat-25.2.0\res" -S "E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\support-v4-25.2.0\res"
 
 stderr[
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <android.support.v7.widget.ButtonBarLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/abc_alert_dialog_button_bar_material for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <android.support.v7.widget.DialogTitle>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/abc_alert_dialog_material for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <TextView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/abc_dialog_title_material for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from <android.support.v7.widget.ActionBarContainer>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/abc_screen_toolbar for configuration v21.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/abc_search_view for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/notification_template_big_media for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/notification_template_big_media_narrow for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/notification_template_lines for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <include>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/notification_template_media for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <Chronometer>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/notification_template_part_chronometer for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <DateTimeView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/notification_template_part_time for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <CheckedTextView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <CheckedTextView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/select_dialog_multichoice_material for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <CheckedTextView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <CheckedTextView>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.TortoiseDev.SaveLife:layout/select_dialog_singlechoice_material for configuration v17.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from <bitmap>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml: note: using v21 attributes; synthesizing resource com.TortoiseDev.SaveLife:drawable/abc_ratingbar_indicator_material for configuration v21.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from <bitmap>
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml: note: using v21 attributes; synthesizing resource com.TortoiseDev.SaveLife:drawable/abc_ratingbar_small_material for configuration v21.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:33: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-11.0.2\res\values\values.xml:34: Original attribute defined here.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:46: error: Attribute "buttonSize" already defined with incompatible format.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-11.0.2\res\values\values.xml:47: Original attribute defined here.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:54: error: Attribute "colorScheme" already defined with incompatible format.
 E:\Game Development\Safe Life\Save Life Android\Temp\StagingArea\android-libraries\play-services-base-11.0.2\res\values\values.x<message truncated>

333.png (158.5 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by MaxxRafen · Aug 06, 2017 at 03:25 AM

I just had to work through this issue as well. The problem comes from play-services-base-10.2.0 conflicting with play-services-base-11.0.2.

In my case the version was different, but it seems like the solution is always similar. Delete the older .aar file in Assets/Plugins/Android/ (or subfolders)

alt text


unitysolution.png (81.8 kB)
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image smoker36 · Aug 25, 2018 at 11:41 AM 0
Share

it won't work for me

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

135 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Failed to re - package resources Unity 5.4.3f1 0 Answers

Unity 5 White terrain after build 0 Answers

unity 5.2.4 iOS build error ,iOS build error 0 Answers

Failed to re-package resources 3 Answers

Instantiate not working on android build but it works on Unity player..My Question is there any problem with unityweb request..? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges