Can't upload my .apk to the market - minSdkVersion error every time.

by Savgrr » Thu, 29 Apr 2010 07:15:20 GMT


Sponsored Links
 Hi all, I am desperately looking for help with this! I've found many
other forums on the subject but none of the suggestions ever help!

I wrote a basic soundboard app, and it runs fine there's nothing wrong
with it. I want to upload it to the Market, but every time I try I get
an error message:

Market requires the minSdkVersion to be set to a positive 32-bit
integer in AndroidManifest.xml

That is already in there, I'm using 1.5 so I have my minSdkVersion set
at 3. I don't understand what the problem is, and I've asked a lot of
devs that never know what to tell me. I don't want to use a different
platform because my phone currently uses 1.5. Others have suggested
putting the <uses-sdk> line under the <manifest> line, but that hasn't
helped at all. Here is what my manifest looks like:

<?xml version="1.0" encoding="utf-8" ?>
- <manifest xmlns:android=" http://schemas.android.com/apk/res/android" ;
package="com.sav.soundboard" android:versionName="1.0"
android:versionCode="1">
- <application android:icon="@drawable/icon" android:label="@string/
app_name">
- <activity android:name=".Soundboard" android:label="@string/
app_name">
- <intent-filter>
  <action android:name="android.intent.action.MAIN" />
  <category android:name="android.intent.category.LAUNCHER" />

  </intent-filter>
  </activity>
  </application>
 <uses-sdk android:minSdkVersion="3" />
 </manifest>



Does anyone know how to fix this??

--



Can't upload my .apk to the market - minSdkVersion error every time.

by Matt Hill » Thu, 29 Apr 2010 09:05:47 GMT


 Hi Savgrr.

Not sure if this is your problem, but perhaps add the
android:targetSdkVersion attribute to the uses-sdk node.

For more info, see: 
 http://developer.android.com/guide/appendix/api-levels.html #uses



>


Sponsored Links


Can't upload my .apk to the market - minSdkVersion error every time.

by Matt Hill » Thu, 29 Apr 2010 09:05:47 GMT


 Hi Savgrr.

I'm not sure if this is your problem but perhaps add the
android:targetSdkVersion attribute to your uses-sdk node.

For more info, see: 
 http://developer.android.com/guide/appendix/api-levels.html #uses



>



Can't upload my .apk to the market - minSdkVersion error every time.

by Savgrr » Mon, 03 May 2010 07:14:53 GMT


 I tried to add the android:targetSdkVersion attribute and I got an
error msg that said

 'No resource identifier found for attribute 'targetSdkVersion' in
package 'android'

Does that make sense? I am so frustrated. The app works great it just
won't upload onto the Market. Is there a way to just bypass it?




> >



Can't upload my .apk to the market - minSdkVersion error every time.

by Lance Nanek » Mon, 03 May 2010 09:19:10 GMT


 gt;'No resource identifier found for attribute 'targetSdkVersion' in package 

This sort of error is usually from having a project build target lower
than when a feature was introduced. I think targetSdkVersion was added
in Android 1.6, for example, so you'd have to increase the project
build target to at least that in order to use it without an error.

No idea about your original error. Some random things you can check, I
guess: Those weird hyphens you posted in the XML aren't actually in
there, right? Your project build target is set to Android 1.5? You
have the latest ADT Eclipse plugin and latest SDK updates? You could
also try creating a new Android project, copying your old source files
and resources in, and redoing your manifest from the default one just
to be absolutely sure nothing is screwed up.

On May 2, 7:14pm, Savgrr <sav...@gmail.com> wrote:
> > >



Other Threads

1. Stackable Tabs?

I'm developing an application and I have a need to have around 6
tabs.  Currently, I can only fit about 5 before it starts to wrap the
text and make it look really ugly.  Is there a way to have two rows of
tabs and possibly make it so they don't take up so much vertical
screen resolution?
--~--~---------~--~----~------------~-------~--~----~

2. Disable battery charghing while connected to USB

Hello,

Is it possible disable battery charghing while connected to the USB?

I just afraid too frequent charging will shortern my battery life
span...

--~--~---------~--~----~------------~-------~--~----~

3. K9mail-errors : host is unresolved : mail.gmail.com:80

4. Question about Java coding good practice - Inner classes

5. k9mail-error" ssl hand shake failure : failure in SSL library"

6. what is what is imap server name for WebDav(Exchange)account.

7. mono on android