Build error CommandInvokationFailure : Error: No resource type specified

android
twitterkit
unity

#1

Hi,

I’m trying to build my Unity project with the newly installed Twitter Kit from fabric.

But i get this error when building to android.

> CommandInvokationFailure: Failed to re-package resources.
> C:\Users\user_name\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/boris/AppData/Local/Android/sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:io.fabric.sdk.android.unity:io.fabric.unity.android:com.facebook:com.facebook.android:com.mapbox.services.android.telemetry:android.support.v4:android.support.graphics.drawable:com.twitter.sdk.android.tweetcomposer:com.twitter.sdk.android.core:com.twitter.sdk.android.core:com.twitter.sdk.android.unity -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\animated-vector-drawable-23.4.0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\cardview-v7-23.4.0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\customtabs-23.4.0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\fabric\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.9.4\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\mapbox-android-telemetry-2-1-0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\support-v4-23.4.0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\support-vector-drawable-23.4.0\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\tweet-composer\res" -S "C:\Users\boris\Documents\Production\Jeux\Heritage\Temp\StagingArea\android-libraries\twitter-core\res"

> stderr[
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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.VVS.Heritage:layout/abc_alert_dialog_button_bar_material for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/abc_alert_dialog_material for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/abc_dialog_title_material for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.VVS.Heritage:layout/abc_screen_toolbar for configuration v21.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/abc_search_view for configuration v17.
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:100: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <Button>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.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\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v16 attributes; synthesizing resource com.VVS.Heritage:layout/com_facebook_device_auth_dialog_fragment for configuration v16.
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:136: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <Button>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:112: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:112: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <android.support.v7.widget.AppCompatImageView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml: note: using v16 attributes; synthesizing resource com.VVS.Heritage:layout/com_facebook_smart_device_dialog_fragment for configuration v16.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/notification_template_big_media for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/notification_template_big_media_narrow for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/notification_template_lines for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/notification_template_media for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/notification_template_part_chronometer for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/notification_template_part_time for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/select_dialog_multichoice_material for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/select_dialog_singlechoice_material for configuration v17.
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\twitter-core\res\layout\tw__activity_share_email.xml:75: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <Button>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\twitter-core\res\layout\tw__activity_share_email.xml:75: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <Button>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\twitter-core\res\layout\tw__activity_share_email.xml:62: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <Button>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\twitter-core\res\layout\tw__activity_share_email.xml:62: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <Button>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\twitter-core\res\layout\tw__activity_share_email.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/tw__activity_share_email for configuration v17.
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\tweet-composer\res\layout\tw__composer_view.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <ImageView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\tweet-composer\res\layout\tw__composer_view.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/tw__composer_view for configuration v17.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml: note: using v21 attributes; synthesizing resource com.VVS.Heritage:drawable/abc_ratingbar_indicator_material for configuration v21.
> C:\Users\user_name\Documents\Project\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>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml: note: using v21 attributes; synthesizing resource com.VVS.Heritage:drawable/abc_ratingbar_small_material for configuration v21.
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\drawable\com_facebook_favicon_blue.xml:21: note: removing attribute http://schemas.android.com/apk/res/android:viewportHeight from <vector>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\drawable\com_facebook_favicon_blue.xml:21: note: removing attribute http://schemas.android.com/apk/res/android:viewportWidth from <vector>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\drawable\com_facebook_favicon_blue.xml:26: note: removing attribute http://schemas.android.com/apk/res/android:fillColor from <path>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\drawable\com_facebook_favicon_blue.xml:26: note: removing attribute http://schemas.android.com/apk/res/android:pathData from <path>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\drawable\com_facebook_favicon_blue.xml: note: using v21 attributes; synthesizing resource com.VVS.Heritage:drawable/com_facebook_favicon_blue for configuration v21.
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/com_facebook_device_auth_dialog_fragment for configuration v17.
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:112: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:112: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <android.support.v7.widget.AppCompatImageView>
> C:\Users\user_name\Documents\Project\Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\res\layout\com_facebook_smart_device_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.VVS.Heritage:layout/com_facebook_smart_device_dialog_fragment for configuration v17.
> AndroidManifest.xml:50: error: Error: No resource type specified (at 'value' with value '@username').

> ]

I had a jar conflict before with Mapbox SDK but solved it.

Any idea ?


#2

Reinstalled all my plugins in different order and on worked. I still don’t know what was causing this troubles. But it’s working.