aspose file tools*
The moose likes Android and the fly likes error when try to add app into android market Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "error when try to add app into android market" Watch "error when try to add app into android market" New topic
Author

error when try to add app into android market

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1130
I try to add my app to market.but it gives me error.See the attachment.Please advice ?


[Thumbnail for market.jpg]

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
You need to read this carefully: http://developer.android.com/guide/publishing/app-signing.html

If you haven't done that so far, chances are you also haven't read the other pages in the "Publishing" section - you should do so before progressing.
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1130
I chage the manifest file as below.


but when i run this it gives me this error




I chnage the manifest file apk to 32 as market requirs it.but my phone requires api 10.so what to do ?
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Where on earth did you get the idea that 32 was an acceptable number for android:minSdkVersion? And what does this have to do with the previous question? Did you read the page I pointed you to? All of it? In detail? Were there parts that maybe you felt you didn't understand?
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1130
I read it.Anyway i am unable to find it.
Still i am getting error when uploading apk.
[code]
Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml.
/[code]
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Oh boy. "A positive 32-bit integer" to you is the same as "32"? While it is true that 32 is a 32-bit integer, the same is true for all number from 1 to 2^32-1. Randomly picking one (whether it is 32 or some other number) is a bad approach for getting things done. So in addition to the pages I mentioned earlier, you also need to read this page: http://developer.android.com/guide/topics/manifest/uses-sdk-element.html about the <uses-sdk> element.

Realistically, you should read a book Android from A to Z, as your approach to learning seems to be to pick random bits of information here and there and try to connect them somehow without understanding what they actually mean.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error when try to add app into android market