freshplanet / ANE-Facebook

Air Native Extension (iOS and Android) for the Facebook mobile SDK
Apache License 2.0
221 stars 123 forks source link

Android build issue with the new ANE version #177

Closed shaymolho closed 7 years ago

shaymolho commented 9 years ago

Hi,

I've tried to upgrade to the new extension version (Merge pull request #176) while i'm building the android app i'm getting the following error:

 [exec] Warning: Resource values-he/strings.xml has been skipped because of mismatch with supported languages information in application descriptor.
 [exec] Warning: Resource values-iw/strings.xml has been skipped because of mismatch with supported languages information in application descriptor.
 [exec] aapt tool failed:C:\Users\shay\AppData\Local\Temp\0515b4c6-d791-4370-8e34-40f567b57f45\res\layout\com_facebook_placepickerfragment_list_row.xml:33: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/com_facebook_picker_place_image_size').
 [exec] C:\Users\shay\AppData\Local\Temp\0515b4c6-d791-4370-8e34-40f567b57f45\res\layout\com_facebook_placepickerfragment_list_row.xml:33: error: Error: No resource found that matches the given name (at 'layout_height' with value '@dimen/com_facebook_picker_place_image_size').
 [exec] C:\Users\shay\AppData\Local\Temp\0515b4c6-d791-4370-8e34-40f567b57f45\res\layout\com_facebook_search_bar_layout.xml:3: error: Error: No resource found that matches the given name (at 'background' with value '@color/com_facebook_picker_search_bar_background').
 [exec] C:\Users\shay\AppData\Local\Temp\0515b4c6-d791-4370-8e34-40f567b57f45\res\layout\com_facebook_search_bar_layout.xml:15: error: Error: No resource found that matches the given name (at 'textColorHint' with value '@color/com_facebook_picker_search_bar_text').
 [exec] C:\Users\shay\AppData\Local\Temp\0515b4c6-d791-4370-8e34-40f567b57f45\res\layout\com_facebook_search_bar_layout.xml:15: error: Error: No resource found that matches the given name (at 'background' with value '@color/com_facebook_picker_search_bar_background').

Does anyone know how to solve this issue?

Thanks

qwpking commented 9 years ago

hi shaymolho, I encountered the same problem, is the problem you solve?

loonychewy commented 9 years ago

The README.md file, under the section "Facebook android sdk" use (https://github.com/freshplanet/ANE-Facebook/blob/master/README.md#facebook-android-sdk-use) says res/values/styles.xml was renamed to res/values/style.xml However, when I instead rename res/values/strings.xml to res/values/string.xml, and revert back styles.xml, I was able to build. You can just open the .ane in 7-zip file manager and rename these two files. I'm still testing to see if everything else is working.

theguaz commented 9 years ago

Today I've tried to build with 18 beta for Android and I also have those warnings; The solution is to open the ANE and do the rename thing?

62316e commented 9 years ago

Bump