• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error when try to add app into android market

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to add my app to market.but it gives me error.See the attachment.Please advice ?
market.jpg
[Thumbnail for market.jpg]
 
Tim Moores
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic