Kindle Fire - Upload - Error kindlet-Specification-Version

I have not been able to get past this error - windows latest build 3/27/2012.

I have changed the permissions outlined below but nothing seems to help.

Your binary’s manifest file does not include the required kindlet-Specification-Version attribute. See Understanding the Manifest File for details.

android =
{
supportsScreens =
{
smallScreens = false,
largeScreens = true,

},
versionCode = “1”,
versionName = “1.4”,
},

HELP…

Thanks

Larry
[import]uid: 11860 topic_id: 24142 reply_id: 324142[/import]

Stuck with kindle Fire Submission,

Bump,

Anyone from ansca or anyone else have a clue on this?

Help is greatly needed.

thanks

Larry [import]uid: 11860 topic_id: 24142 reply_id: 97530[/import]

Hello,

The one big problem I see in your “build.settings” file is that you are specifying your versionCode like this…
[lua]versionCode = “1”,[/lua]

A version code is not a string. It is a number. So it needs to look like this in your file…
[lua]versionCode = 1,[/lua]

Also, there is no need to specify the versionCode and versionName in your build.settings file anymore since you can set them in the Corona Simulator’s build window. The settings in your build file will “override” the version code and name that you’ve entered into the build window, which might not be the behavior that you want. So, I recommend that you delete these 2 settings from your build.settings file and enter them into the build window instead.

I hope this helps! [import]uid: 32256 topic_id: 24142 reply_id: 98061[/import]

Hey, Joshua, does it mean we shouldn’t include versionCode and versionName in our build.settings regardless of what device the app is meant for – meaning, no need to add these for Kindle, Nook, Droid, NexusOne, Sensation or Galaxy Tab? Or does this apply only to Kindle?

Right now, I have iphone plist, but I have nothing for android other than the versionCode and versionName. Removing them will simply remove only setting I have for android device. (And I wonder if there’s anything I should add for Android device that is not Kindle…)

Naomi [import]uid: 67217 topic_id: 24142 reply_id: 98075[/import]

Naomi,

Yes, I recommend that you remove [lua]versionCode[/lua] and [lua]versionName[/lua] from your build.settings file. This is because you can set these values via the Corona Simulator’s build window as of the last release version, build #704. The version code and name that you set in the build window applies to all built apps (Android, Kindle, and Nook).

The reason [lua]versionCode[/lua] and [lua]versionName[/lua] settings exist was because at the time they were created, we did not provide a means for setting them via the build window. It was a stop gap solution until we provided it via the build window. Now, we still support them for those who still wish to use them, but just remember that they override whatever is set in the build window, which is some cause for confusion.

The biggest Android related build.settings that you should be wary of are “Android Permissions” needed to use some APIs. We do document what Android permissions are needed for on our API pages if they’re necessary. Some of our sample apps demonstrate how to set these permissions as well. The “Hardware/GPS” and “Media/Camera” sample apps are good examples of this. [import]uid: 32256 topic_id: 24142 reply_id: 98096[/import]

Thank you, Joshua, for the detailed explanation. That sounds great. I’ll add Android Permissions as needed.

Thanks again!

Naomi [import]uid: 67217 topic_id: 24142 reply_id: 98105[/import]

Joshua, I only put that in because I saw someone else taking about it earlier… I still don’t know what the issue is. You have any recommendations?

See my updated settings here… post #90

http://developer.anscamobile.com/forum/2011/08/02/amazon-app-store-issue-latest-build-591?page=1#comment-98380 [import]uid: 11860 topic_id: 24142 reply_id: 98403[/import]

I’ve never heard of a “kindlet-Specification-Version” error before. You may want to contact Amazon and ask them what is the cause of this error.

I do know that the Google marketplace will complain when attempting to update your app with the same version code that was submitted before. I don’t remember what the Amazon store will do, but perhaps it would complain too. Forgetting to update the version code was a common problem for Corona developers in the past, so that’s why I recommend removing the version code from the “build.settings” file and updating it by hand in the build window. Developers were forgetting that the version code in the file would override whatever they typed in the window, causing every build to have the same version code, which prevented them from updating their apps on the Android Marketplace.
[import]uid: 32256 topic_id: 24142 reply_id: 98585[/import]

I fixed changed the version to just be in the build.settings to when the the Corona Build.

On the Amazon site this is what the error says

kindlet-Specification-Version
kindlet.api.version API 1.0

See the following section for the description. In the Eclipse plugin, this is the Minimum API Version

Use kindlet-Specification-Version to specify the minimum API version that the device must support in order to run the application.

For any API 1.x application, you’ll typically have a single API 1.x binary to run on all API 1.x-supported devices, so this value would be 1.0. For an API 2.0 binary, the value would be 2.0. At runtime, the KDK checks the kindlet-Specification-Version value and compares it to what the device supports.

If the value is greater than what the device supports, an error is displayed. In the Eclipse plugin, the kindlet-Specification-Version is called the Minimum API Version.
[import]uid: 11860 topic_id: 24142 reply_id: 98664[/import]

Corona sets the minimum API version to 8, which is Android version 2.2, because that’s the version of Android SDK that we build with. We’ve never had a problem with this before.

Are you changing the AndroidManifest.xml by hand by using a tool such as apktool? [import]uid: 32256 topic_id: 24142 reply_id: 98841[/import]

nope not at all.

Im compiling with Windows version

2012.776 (2012.12.8)

as a amazon kindle ( renaming the file extension as per amazon instructions for kindle upload ) then uploading the file.

When I upload the fill i get that error

Larry [import]uid: 11860 topic_id: 24142 reply_id: 98852[/import]

Corona does not use the KDK (Kindle Development Kit) and does nothing with Kindlets. So I have no idea why Amazon is giving you this error.

Perhaps you have the wrong thing selected/checked on Amazon’s upload page?

I’m really not sure what else to advise you on. No one else that I’m aware has sited a similar issue. There’s something different about your app or how you are uploading it. Just need to narrow it down. [import]uid: 32256 topic_id: 24142 reply_id: 99052[/import]

Are you saying I do not need to upload for the kindle at the kdk.amazon.com site? I thought to get your app on the kindle fire you had to? [import]uid: 11860 topic_id: 24142 reply_id: 99053[/import]

Well Spank my bottom can call me stupid… From an older blog entry I guess I just compile for Kindle ( like I was ) and upload it to the normal developer site, When they test it on the kindle - it should work… Wonderful…

I’ll give it a go with a new version number. [import]uid: 11860 topic_id: 24142 reply_id: 99058[/import]

@Joshua Quick

I did the above like i said - my current version is in the Amazon App Store but they said did not work for the Kindle Store.

I compiled for Kindle and tried to upload here is the error - No app changes just compiled for kindle option.

[File: SassysEasterAdventure.apk] Unable to parse Android app bundle [W/ResourceType(31001): Bad XML block: header size 28024 or total size 1702240364 is larger than data size 5894 ERROR: Resource AndroidManifest.xml is corrupt]

Thanks in advance … Larry. [import]uid: 11860 topic_id: 24142 reply_id: 99063[/import]

Bump, Anyone from Ansca Know what this last error is from?

I have not modified any AndroidManifest.xml what so ever.

I just compiled and tried to upload to amazon market place with a newer version number - but this one is compiled for android / kindle

Larry [import]uid: 11860 topic_id: 24142 reply_id: 99101[/import]

Okay… we’re getting closer now. :slight_smile:

This error sounds similar to the one mentioned in the link below. In which case, it was a server issue on Amazon’s side and you just have to wait and re-submit your app later.
http://developer.anscamobile.com/forum/2011/12/13/amazon-appstore-apk-file-built-corona-704-failed-upload-amazon-drm

Either that or there is an error in your build.settings file that is getting transferred to your AndroidManifest.xml file. Would you mind reposting your build.settings file contents please?

For example, if there is an “xlargeScreens” setting in your file then you will need to remove it since that is an Android 2.3 feature… but Corona builds for Android 2.2. [import]uid: 32256 topic_id: 24142 reply_id: 99231[/import]

That did it, I recreated my config.lua and build.settings files, I also removed large settings flag that other people had listed in other blog entries, and largeScreens flag as well.

Recompiled and uploaded. BAM - Accepted ready Amazon Testing.

I downloaded my old and new version on my kindle. old did not work and new version did :slight_smile: Happy camper…

thanks

Larry [import]uid: 11860 topic_id: 24142 reply_id: 99266[/import]

Oh great! I’m glad you finally got your app uploaded and I’m sorry it was so painful. It usually isn’t.

The largeScreens setting should be supported, unless of course we’re dealing with a bug on Amazon’s end. We’ll look into targeting a higher Android version in the future which should help prevent some of these problems.

Good luck with your app! [import]uid: 32256 topic_id: 24142 reply_id: 99567[/import]