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 BlueFeather89 · May 28, 2016 at 03:50 PM · errorerror messageerror builderror-building-player

Error Building APK

What is the problem here ? I cannot build the APK. I need help please. I have added Google Admob Plugin and Facebook SDK.

 Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
 C:\Users\BlueFeather\AppData\Local\Android\sdk\build-tools\23.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/BlueFeather/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.unity.purchasing.amazon:android.support.v7.appcompat:android.support.v7.cardview:com.unity.purchasing:com.facebook:com.facebook.android:com.google.firebase:com.android.vending.billing:com.google.unity:com.unity.purchasing.googleplay:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.tasks:android.support.v4 -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\AmazonAppStore\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\cardview-v7-23.1.1\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\common\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.4.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\firebase-common-9.0.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\GooglePlay\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\play-services-ads-9.0.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\play-services-ads-lite-9.0.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\play-services-base-9.0.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\play-services-basement-9.0.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\play-services-tasks-9.0.0\res" -S "C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\support-v4-23.1.1\res"
 
 stderr[
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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.myappsapk.fruitsheavensaga:layout/abc_alert_dialog_button_bar_material for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/abc_alert_dialog_material for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/abc_dialog_title_material for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/abc_screen_toolbar for configuration v21.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/abc_search_view for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:117: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <Button>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:88: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v16 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/com_facebook_device_auth_dialog_fragment for configuration v16.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/notification_template_big_media for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/notification_template_big_media_narrow for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/notification_template_lines for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/notification_template_media for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/notification_template_part_chronometer for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/notification_template_part_time for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/select_dialog_multichoice_material for configuration v17.
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\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>
 C:\Users\BlueFeather\Desktop\Fruits Heaven Saga\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.myappsapk.fruitsheavensaga:layout/select_dialog_singlechoice_material for configuration v17.
 AndroidManifest.xml:30: Tag <provider> attribute authorities has invalid character '$'.
 ]
 stdout[
 Configurations:
  (default)
 
 Files:
   AndroidManifest.xml
     Src: () AndroidManifest.xml
 
 Resource Dirs:
 Including resources from package: C:\Users\BlueFeather\AppData\Local\Android\sdk\platforms\android-23\android.jar
 applyFileOverlay for drawable
 trying overlaySet Key=common_full_open_on_phone.png
 trying overlaySet Key=common_google_signin_btn_icon_dark.xml
 trying overlaySet Key=common_google_signin_btn_icon_dark_disabled.9.png
 trying overlaySet Key=common_google_signin_btn_icon_dark_focused.9.png
 trying overlaySet Key=common_google_signin_btn_icon_dark_normal.9.png
 trying overlaySet Key=common_google_signin_btn_icon_dark_pressed.9.png
 trying overlaySet Key=common_google_signin_btn_icon_light.xml
 trying overlaySet Key=common_google_signin_btn_icon_light_disabled.9.png
 trying overlaySet Key=common_google_signin_btn_icon_light_focused.9.png
 trying overlaySet Key=common_google_signin_btn_icon_light_normal.9.png
 trying overlaySet Key=common_google_signin_btn_icon_light_pressed.9.png
 trying overlaySet Key=common_google_signin_btn_text_dark.xml
 trying overlaySet Key=common_google_signin_btn_text_dark_disabled.9.png
 trying overlaySet Key=common_google_signin_btn_text_dark_focused.9.png
 trying overlaySet Key=common_google_signin_btn_text_dark_normal.9.png
 trying overlaySet Key=common_google_signin_btn_text_dark_pressed.9.png
 trying overlaySet Key=common_google_signin_btn_text_light.xml
 trying overlaySet Key=common_google_signin_btn_text_light_disabled.9.png
 trying overlaySet Key=common_google_signin_btn_text_light_focused.9.png
 trying <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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by ZanLeO · Apr 12, 2018 at 02:29 PM

Main string is "AndroidManifest.xml:30: Tag attribute authorities has invalid character '$'."
1) Open by archiver file "Assets\FacebookSDK\Plugins\Android\libs\facebook-core.aar"
2) Open AndroidManifest.xml in this aar
3) Change ${ApplicationId} to your application bundle

Not sure if this is correct - change AAR) but it helped me)

Or may be can help it https://stackoverflow.com/questions/42040570/tag-provider-attribute-authorities-has-invalid-character-androidmanifest/42272420#42272420

Comment
Add comment · Show 2 · 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 hamza37 · Oct 26, 2018 at 07:48 AM 0
Share

@ZanLeO how to open aar file?

avatar image ZanLeO hamza37 · Oct 26, 2018 at 08:01 AM 0
Share

You can use any archivator (for example WinRAR work well)

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

68 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

Related Questions

Build completed with a result of 'Failed'. 0 Answers

Error while trying to build XCode project 0 Answers

Unable to install additional SDK platform. Please run the SDK Manager manually to make sure you have the latest set of tools and the required platforms installed. See the Console for details. 3 Answers

Error building player because scripts have compile errors in the editor 1 Answer

Hello, I need some help to fix this error 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