Closed randalfien closed 10 years ago
Hmm can you try changing these two lines:
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPILoginActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity>
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPIDialogActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity>
to
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPILoginActivity" android:theme="android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity>
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPIDialogActivity" android:theme="android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity>
Just this:
C:\Users\Ondra\AppData\Local\Temp\3ded5773-a13d-43f8-8a1f-e92dacbfe1cf\AndroidManifest.xml:61: error: Error: String types not allowed (at 'theme' with value 'android:style/Theme.Translucent.NoTitleBar.FullScreen').
C:\Users\Ondra\AppData\Local\Temp\3ded5773-a13d-43f8-8a1f-e92dacbfe1cf\AndroidManifest.xml:65: error: Error: String types not allowed (at 'theme' with value 'android:style/Theme.Translucent.NoTitleBar.Fullscreen').
Any ideas? I'm still stuck on this
Sorry about the delay. It appears to be caused by the latest version of the Android SDK platform tools (aapt in particular)
Unfortunately it's not a bug with aapt - it's actually a bug fix that has caused these styles not to work (as far as I can tell right now).
For now, you should be able to get around it by rolling back to a previous version of the android platform tools, or at the very least replacing your version of the aapt tool.
We'll look into a fix for this for the next version of the ANE.
Thanks, No luck so far, I downloaded build-tools 18.1.1 and 17.0.0 and replaced the aapt file in AIRSDK_PATH'/lib/android/bin/ but still get the same error.
Is there another way to tell Flash Builder which packaging tool to use?
I'm not sure - but maybe double check your PATH to see which aapt is actually being used?
In Terminal:
which aapt
Ok, now I am confident I'm really using the correct aapt (17.0.0) and Android SDK 17, but I'm still getting the same error. Any other ideas? I might have to wait for the next version, I guess.
Have you also got Android 2.2 (API v8) installed through your android sdk manager?
Also, can you confirm - are you on Windows? And are you using Flash Builder 4.7?
I did not have API v8 installed, but did not change after installing. I'm on windows with Flash Builder 4.6
OK, and which AIR SDK version are you using?
Version 4.0 overlayed with flex sdk 4.6
Hi, any changes with this? would it be possible for you to send me the exact aapt.exe that you have that works with this extension? It would be really helpful! or tell me at least which tools (air sdk version, andriod sdk) to install to make it work.
I changed it to this and now it works!
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPILoginActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPIDialogActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
weird...
Except now it says my dev_key is invalid? what's up with that? It works with all the other extensions.
Oh really? Just the closing tag in the XML? That's strange. We've never seen that before, thanks for posting back.
Re. the dev key, that's an issue with a particular version of the ANE. Can you email us at support@distriqt.com and I will send you an updated version that should work.
I cannot package my app for Android with the FacebookAPI ANE,
I keep getting this:
I tried updating the Android SDK and plugin and I tried putting in there, but nothing works, any ideas?