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

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:14 pm, Savgrr <[email protected]> wrote:
> 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?
>
> On Apr 28, 6:31 pm, Matt Hill <[email protected]> wrote:
>
>
>
> > 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
>
> > On Apr 27, 8:10 pm, Savgrr <[email protected]> wrote:
>
> > > 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??
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/android-developers?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group 
> > athttp://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to