Facebook SDK causing Win32Exception
Hello Everyone, im having some problems with facebook SDK, im making an android app, and since i've imported FacebookSDK 7.8.0 i cant compile my proyect (Error also hapens with latest version of facebook sdk) I'm having the following error, and i dont seem to get anywhere close to a fix. I have reinstaled latest versions of Android SDK and Java SDK, updated the Enviroment Variable JAVA_HOME to where JDK is installed, and still not working. Any hints on this would be really appreciated.
Thanks in advance!
Update: I've fixed the folder name (Had an & and ' symbols) i guess that was causing the exception, but now im getting a diferent error:
CommandInvokationFailure: Failed to re-package resources.
C:\Tools_And_SDKS\build-tools\23.0.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Tools_And_SDKS\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.cardview:com.facebook:com.facebook.android -S "C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\cardview-v7-23.4.0\res" -S "C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res" -S "C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-wrapper-0.0.0\res"
stderr[
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:119: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <Button>
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:90: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from <TextView>
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.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:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.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:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v16 attributes; synthesizing resource com.widowgames.genius:layout/com_facebook_device_auth_dialog_fragment for configuration v16.
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
C:\Unity Projects\GeniusBR\Genius\Temp\StagingArea\android-libraries\facebook-android-sdk-4.14.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.widowgames.genius:layout/com_facebook_device_auth_dialog_fragment for configuration v17.
AndroidManifest.xml:33: Tag <provider> attribute authorities has invalid character ' '.
]
Comment