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 /
  • Help Room /
avatar image
0
Question by Pixelvoice · Mar 15, 2016 at 08:15 AM · buildbuild-erroradmobgooglejar

CommandInvokationFailure: Failed to re-package resources. Tried various remedies Please help...

I'm working on an app that has google admob banners and after looking up the various remedies that people have for this issue. None of them have worked for me thus far.

Actions taken: -copied google-play-services_lib into Assets>Plugins>Android

-opened the andriodmanifest.xml and deleted the inApp purchases theme line as suggested by this tutorial: https://www.youtube.com/watch?v=q5T98X3EawA

-tried moving the Jar files out of the lib folder and directly into the Android folder. Still build failure.

-updated Android SDK Tools

does anyone have any suggestions that might be different? Maybe I'm missing something. The error message verbatim is below:

 CommandInvokationFailure: Failed to re-package resources. See the Console for details.
 /Users/JackCarter/Library/Android/sdk/build-tools/23.0.0-preview/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/JackCarter/Library/Android/sdk/platforms/android-23/android.jar" -F bin/resources.ap_ --extra-packages com.google.unity:android.support.v7.appcompat:com.google.android.gms:com.google.android.gms.ads:com.google.android.gms:android.support.v4 -S "/Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/GoogleMobileAdsPlugin/res" -S "/Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res" -S "/Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res" -S "/Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/play-services-ads-8.4.0/res" -S "/Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/play-services-basement-8.4.0/res" -S "/Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/support-v4-23.1.1/res"
 
 stderr[
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/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>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/abc_alert_dialog_button_bar_material for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/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>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/abc_alert_dialog_material for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <TextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/abc_dialog_title_material for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from <android.support.v7.widget.ActionBarContainer>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/abc_screen_toolbar for configuration v21.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/abc_search_view.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/abc_search_view for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/notification_template_big_media for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/notification_template_big_media_narrow for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/notification_template_lines for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <include>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_media.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/notification_template_media for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <Chronometer>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/notification_template_part_chronometer for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <DateTimeView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/notification_template_part_time for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_powered_by_google.xml:28: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_powered_by_google.xml:28: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <ImageView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_powered_by_google.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <View>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_powered_by_google.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/place_autocomplete_item_powered_by_google for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_prediction.xml:52: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <TextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_prediction.xml:35: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <TextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_prediction.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from <include>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_item_prediction.xml: note: using v17 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/place_autocomplete_item_prediction for configuration v17.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_progress.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:indeterminateTint from <ProgressBar>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_progress.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:indeterminateTintMode from <ProgressBar>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/google-play-services_lib/res/layout/place_autocomplete_progress.xml: note: using v21 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/place_autocomplete_progress for configuration v21.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <CheckedTextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <CheckedTextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:drawableStart from <CheckedTextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml: note: using v13 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/select_dialog_multichoice_material for configuration v13.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <CheckedTextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <CheckedTextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:drawableStart from <CheckedTextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_singlechoice_material.xml: note: using v13 attributes; synthesizing resource com.KailuaBee.OmikujiForever:layout/select_dialog_singlechoice_material for configuration v13.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/drawable/abc_textfield_search_material.xml:19: note: removing attribute http://schemas.android.com/apk/res/android:state_activated from <item>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/drawable/abc_textfield_search_material.xml: note: using v11 attributes; synthesizing resource com.KailuaBee.OmikujiForever:drawable/abc_textfield_search_material for configuration v11.
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res/layout/select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <CheckedTextView>
 /Users/JackCarter/2015 Projects/OmikujiForever/Temp/Staging<message truncated>
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

0 Replies

· Add your reply
  • Sort: 

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Do manifest files work the same way in a Unity gradle build vs. an exported one? 0 Answers

Unity windows build exit before asset import 0 Answers

Unity Build nullReference, but editor sees through it! 1 Answer

FileNotFoundException after every build 1 Answer

Trying to build for android, get this message 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