freshplanet / ANE-Push-Notification

Air Native Extension (iOS and Android) for Push Notification
Apache License 2.0
205 stars 104 forks source link

Error: No resource found #22

Closed davidabrown closed 7 years ago

davidabrown commented 11 years ago

I am trying to compile an app in Flash Builder, AIR 3.7 but before the compile completes I receive the following error:

aapt tool failed:/private/var/folders/9c/_g8fcpxs15q6tp63vms4nkgr0000gn/T/344e7f4c-65d9-4df6-8722-16ba7baa43de/res/layout/com_facebook_usersettingsfragment.xml:48: error: Error: No resource found that matches the given name (at 'style' with value '@style/com_facebook_loginview_silver_style').

Any advice would be fantastic,

Dave.B

avantcontra commented 11 years ago

Hi Dave,

I resolved this problem by replacing the aapt tool of AIR SDK (at 'AIRSDK_PATH'/lib/android/bin/), with the latest version of Android SDK (at 'ANDROIDSDK_PATH'/adt-bundle-mac-x86_64-20130219/sdk/platform-tools/)

Mac, AIR 3.7

Good luck

Contra

andvolodko commented 10 years ago

The same problem on Windows 7

aapt tool failed:C:\Users\Andrey\AppData\Local\Temp\100dffa4-1071-426e-b9c4-69decfafb110\res\layout\com_facebook_tooltip_bubble.xml:24: error: Error: No resource found that matches the given name (at 'style' with value '@style/tooltip_bubble_text'). C:\Users\Andrey\AppData\Local\Temp\100dffa4-1071-426e-b9c4-69decfafb110\res\layout\com_facebook_usersettingsfragment.xml:48: error: Error: No resource found that matches the given name (at 'style' with value '@style/com_facebook_loginview_silver_style').

Last version of aapt tool from Android SDK not resolved problem

Can you help ?

Andrew

Chanachon commented 9 years ago

Windows8 have the same problem Error occurred while packaging the application:

aapt tool failed:C:\Users\Chanachon\AppData\Local\Temp\862a2a84-d84e-4363-a346-9ce42411f922\res\layout\com_facebook_usersettingsfragment.xml:48: error: Error: No resource found that matches the given name (at 'style' with value '@style/com_facebook_loginview_silver_style').