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 nax_unity · Aug 06, 2018 at 07:21 AM · android buildfacebooksdk

UnityでfacebookSDKの導入について

Context: Unity2018.2.0f2 Android Studio 3.1.3 jdk1.8.0_181 facebook-unity-sdk-7.13.0

I'm trying to introduce facebook's SDK in Unity, but when I do Android Build I get an error and I can not create apk.

CommandInvokationFailure: Failed to re-package resources. C:\work\AndroidSDK\android-sdks\build-tools\26.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/work/AndroidSDK/android-sdks\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms:com.google.android.gms.gass:com.unity.purchasing:eu.janmuller.android.simplecropimage:com.facebook.android:com.facebook.applinks:com.facebook.common:com.facebook.core:com.facebook.login:com.facebook.messenger:com.facebook.places:com.facebook.share:com.android.vending.billing:com.google.unity.ads:com.unity.purchasing.googleplay -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.animated-vector-drawable-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.cardview-v7-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.customtabs-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.support-compat-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.support-fragment-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.support-v4-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.support-vector-drawable-25.3.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-11.2.2\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-lite-11.2.2\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-11.2.2\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-gass-11.2.2\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\common\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\CropLib\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.12.1\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\facebook-common\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\facebook-login\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\facebook-messenger\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\facebook-share\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\GooglePlay\res"

stderr[ fakeLogOpen(/dev/log_crash, O_WRONLY) failed fakeLogOpen(/dev/log_security, O_WRONLY) failed fakeLogOpen(/dev/log_crash, O_WRONLY) failed fakeLogOpen(/dev/log_security, O_WRONLY) failed C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:scrollIndicators from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v22 attributes; synthesizing resource jp.co.naxcorp.dscore:layout/abc_alert_dialog_button_bar_material for configuration v22. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:layout/abc_screen_toolbar for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_ab_back_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_ab_back_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_ab_back_material.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_ab_back_material.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_ab_back_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ic_ab_back_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:31: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_arrow_drop_right_black_24dp.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ic_arrow_drop_right_black_24dp for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_clear_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_clear_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_clear_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_clear_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_clear_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ic_clear_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_go_search_api_material.xml:16: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_go_search_api_material.xml:16: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_go_search_api_material.xml:22: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_go_search_api_material.xml:22: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_go_search_api_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ic_go_search_api_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_menu_overflow_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_menu_overflow_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_menu_overflow_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_menu_overflow_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_menu_overflow_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ic_menu_overflow_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_search_api_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_search_api_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_search_api_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_search_api_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_search_api_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ic_search_api_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_voice_search_api_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_voice_search_api_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_voice_search_api_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:pathData from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_voice_search_api_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ic_voice_search_api_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ic_voice_search_api_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ratingbar_indicator_material.xml:25: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ratingbar_indicator_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ratingbar_indicator_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ratingbar_material.xml:25: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ratingbar_material.xml: note: using v21 attributes; synthesizing resource jp.co.naxcorp.dscore:drawable/abc_ratingbar_material for configuration v21. C:\work\Unity\workspace\my_project\my_project\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\drawable\abc_ratingbar_small_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from C:\work\Unity\

Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:187 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:94 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Although there seems to be someone who seems to have the same error when examining it, there was also described the method of when solved, but it was not solved in my environment.

If you solve it in the same environment, it will be appreciated if you can tell me how to solve it.

Thank you.

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

93 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

Related Questions

failed to re-package resources after importing facebook-unity-sdk-7.6.0 0 Answers

Failed to re-package resources (integrating Facebook SDK 7.0.1) 1 Answer

facebook sdk problem 1 Answer

Facebook Login and Logout problem 1 Answer

facebook sdk share screen shot 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