Copy link to clipboard
Copied
I am receiving this error message when I try to add xmlns:tools="http://schemas.android.com/tools" to my manifest element.
so, I tried searching and found this: http://help.adobe.com/en_US/air/build/WSBE9908A0-8E3A-4329-8ABD-12F2A19AB5E9.html
which says:
Exit code | Description | Notes |
---|---|---|
400 | Current Android sdk version doesn't support attribute. | Check that the attribute name is spelled correctly and is a valid attribute for the element in which it appears. You may need to set the -platformsdk flag in the ADT command if the attribute was introduced after Android 2.2. |
I thought I found the solution but setting the -platformsdk flag in my adt command is not fixing the issue! What am I doing wrong?! on the Android side, I am using the Android SDK and everything works but when I try to use the attribute in Adobe Air pointing to the right Android SDK it keeps throwing that error message when compiling.
Thanks.
Copy link to clipboard
Copied
I'm running into this error as well, trying to build for Android TV. I'd file this as a bug, since the error is obviously incorrect.
In my case, it's the "isGame" and "banner" attributes that it complains about. I can point it at the current Android SDK (23.0.2) which does in fact support those attributes.
A secondary issue is that there isn't a way to select which Android SDK to use if you have multiples installed under ANDROID_HOME, and adt simply seems to pick the "latest", with the message: "NOTE: Multiple SDKs exist, chosing version 23.0.2 for packaging"
Copy link to clipboard
Copied
According to the Google Android documentation for the <manifest> element, there is no "xmlns:tools" attribute.
It has available for the manifest element:
xmlns:android
package
android:sharedUserId
android:sharedUserLabel
android:versionCode
android:versionName
android:installLocation