• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Current Android sdk version doesn't support attribute

Participant ,
Aug 03, 2015 Aug 03, 2015

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 codeDescriptionNotes
400Current 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.

TOPICS
Development

Views

459

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 02, 2015 Nov 02, 2015

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"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 02, 2015 Nov 02, 2015

Copy link to clipboard

Copied

LATEST

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

<manifest> | Android Developers

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines