Re: [android-developers] Is API Level 6 gone?

2010-09-22 Thread Xavier Ducrohet
hmm this is strange. The warning is normal but it should still work.

We're fixing this for the next version of the tools, but as Dianne
said, 2.0.1 is considered obsolete and there's no point targeting it.
You can target 2.1 (API 7).

Xav

On Tue, Sep 21, 2010 at 6:47 AM, Leigh McRae
leigh.mc...@lonedwarfgames.com wrote:
 I have updated my tools to revision 7 and now I can't do a build as it
 says the API level is obsolete.  I can understand warning but it won't
 build at all.  I am using android.bat to generate a build.xml for
 release versions.  So the build.xml gets made from scratch each time.
 If I switch to --target 8 it builds but I have already released it on
 the Android Market with 6.  Won't this mean that some people that have
 Android 2.0.1 won't be able to run it?

 android update project --name Tanks --target 6 --path $
 {dist.project.dir}

    [setup] Android SDK Tools Revision 7
    [setup] Project Target: Android 2.0
    [setup] API level: 5
    [setup]
    [setup]
    [setup]
    [setup]
 ***
    [setup] WARNING: This platform is obsolete and its Ant rules may
 not work properly.
    [setup] WARNING: It is recommended to develop against a newer
 version of Android.
    [setup] WARNING: For more information about active versions of
 Android see:
    [setup] WARNING: 
 http://developer.android.com/resources/dashboard/platform-versions.html
    [setup]
 ***
    [setup]
    [setup]
    [setup]
    [setup]
    [setup] --
    [setup] Resolving library dependencies:
    [setup] --
    [setup] Ordered libraries:
    [setup] --
    [setup]

 BUILD FAILED
 D:\Android\build.xml:68: The following error occurred while executing
 this line:
 D:\Android\build.xml:215: The following error occurred while executing
 this line:
 D:\Android\dist\market-lite\build.xml:82: Build rules file 'D:\Program
 Files\android-sdk-windows\tools\ant\android_rules.xml' is missing.

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




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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


[android-developers] Is API Level 6 gone?

2010-09-21 Thread Leigh McRae
I have updated my tools to revision 7 and now I can't do a build as it
says the API level is obsolete.  I can understand warning but it won't
build at all.  I am using android.bat to generate a build.xml for
release versions.  So the build.xml gets made from scratch each time.
If I switch to --target 8 it builds but I have already released it on
the Android Market with 6.  Won't this mean that some people that have
Android 2.0.1 won't be able to run it?

android update project --name Tanks --target 6 --path $
{dist.project.dir}

[setup] Android SDK Tools Revision 7
[setup] Project Target: Android 2.0
[setup] API level: 5
[setup]
[setup]
[setup]
[setup]
***
[setup] WARNING: This platform is obsolete and its Ant rules may
not work properly.
[setup] WARNING: It is recommended to develop against a newer
version of Android.
[setup] WARNING: For more information about active versions of
Android see:
[setup] WARNING: 
http://developer.android.com/resources/dashboard/platform-versions.html
[setup]
***
[setup]
[setup]
[setup]
[setup]
[setup] --
[setup] Resolving library dependencies:
[setup] --
[setup] Ordered libraries:
[setup] --
[setup]

BUILD FAILED
D:\Android\build.xml:68: The following error occurred while executing
this line:
D:\Android\build.xml:215: The following error occurred while executing
this line:
D:\Android\dist\market-lite\build.xml:82: Build rules file 'D:\Program
Files\android-sdk-windows\tools\ant\android_rules.xml' is missing.

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


Re: [android-developers] Is API Level 6 gone?

2010-09-21 Thread Dianne Hackborn
Basically nobody has 2.0.1 any more.  That was an intermediate release, and
all active devices have been updated past it.

On Tue, Sep 21, 2010 at 6:47 AM, Leigh McRae leigh.mc...@lonedwarfgames.com
 wrote:

 I have updated my tools to revision 7 and now I can't do a build as it
 says the API level is obsolete.  I can understand warning but it won't
 build at all.  I am using android.bat to generate a build.xml for
 release versions.  So the build.xml gets made from scratch each time.
 If I switch to --target 8 it builds but I have already released it on
 the Android Market with 6.  Won't this mean that some people that have
 Android 2.0.1 won't be able to run it?

 android update project --name Tanks --target 6 --path $
 {dist.project.dir}

[setup] Android SDK Tools Revision 7
[setup] Project Target: Android 2.0
[setup] API level: 5
[setup]
[setup]
[setup]
[setup]
 ***
[setup] WARNING: This platform is obsolete and its Ant rules may
 not work properly.
[setup] WARNING: It is recommended to develop against a newer
 version of Android.
[setup] WARNING: For more information about active versions of
 Android see:
[setup] WARNING:
 http://developer.android.com/resources/dashboard/platform-versions.html
[setup]
 ***
[setup]
[setup]
[setup]
[setup]
[setup] --
[setup] Resolving library dependencies:
[setup] --
[setup] Ordered libraries:
[setup] --
[setup]

 BUILD FAILED
 D:\Android\build.xml:68: The following error occurred while executing
 this line:
 D:\Android\build.xml:215: The following error occurred while executing
 this line:
 D:\Android\dist\market-lite\build.xml:82: Build rules file 'D:\Program
 Files\android-sdk-windows\tools\ant\android_rules.xml' is missing.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Re: [android-developers] Is API Level 6 gone?

2010-09-21 Thread Leigh McRae
 Alright.  Thanks for the rely.  So I built it with --target 8 and left 
the min SDK version at 5.  Should be good?  I just needed mutli-touch is 
all.


uses-sdk android:minSdkVersion=5 /

On 9/21/2010 12:38 PM, Dianne Hackborn wrote:
Basically nobody has 2.0.1 any more.  That was an intermediate 
release, and all active devices have been updated past it.


On Tue, Sep 21, 2010 at 6:47 AM, Leigh McRae 
leigh.mc...@lonedwarfgames.com 
mailto:leigh.mc...@lonedwarfgames.com wrote:


I have updated my tools to revision 7 and now I can't do a build as it
says the API level is obsolete.  I can understand warning but it won't
build at all.  I am using android.bat to generate a build.xml for
release versions.  So the build.xml gets made from scratch each time.
If I switch to --target 8 it builds but I have already released it on
the Android Market with 6.  Won't this mean that some people that have
Android 2.0.1 won't be able to run it?

android update project --name Tanks --target 6 --path $
{dist.project.dir}

   [setup] Android SDK Tools Revision 7
   [setup] Project Target: Android 2.0
   [setup] API level: 5
   [setup]
   [setup]
   [setup]
   [setup]
***
   [setup] WARNING: This platform is obsolete and its Ant rules may
not work properly.
   [setup] WARNING: It is recommended to develop against a newer
version of Android.
   [setup] WARNING: For more information about active versions of
Android see:
   [setup] WARNING:
http://developer.android.com/resources/dashboard/platform-versions.html
   [setup]
***
   [setup]
   [setup]
   [setup]
   [setup]
   [setup] --
   [setup] Resolving library dependencies:
   [setup] --
   [setup] Ordered libraries:
   [setup] --
   [setup]

BUILD FAILED
D:\Android\build.xml:68: The following error occurred while executing
this line:
D:\Android\build.xml:215: The following error occurred while executing
this line:
D:\Android\dist\market-lite\build.xml:82: Build rules file 'D:\Program
Files\android-sdk-windows\tools\ant\android_rules.xml' is missing.

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
android-developers@googlegroups.com
mailto:android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
mailto:android-developers%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en




--
Dianne Hackborn
Android framework engineer
hack...@android.com mailto:hack...@android.com

Note: please don't send private questions to me, as I don't have time 
to provide private support, and so won't reply to such e-mails.  All 
such questions should be posted on public forums, where I and others 
can see and answer them.


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


--
Leigh McRae
www.lonedwarfgames.com

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


Re: [android-developers] Is API Level 6 gone?

2010-09-21 Thread Dianne Hackborn
Yeah should be fine.

On Tue, Sep 21, 2010 at 9:52 AM, Leigh McRae leigh.mc...@lonedwarfgames.com
 wrote:

  Alright.  Thanks for the rely.  So I built it with --target 8 and left the
 min SDK version at 5.  Should be good?  I just needed mutli-touch is all.

 uses-sdk android:minSdkVersion=5 /


 On 9/21/2010 12:38 PM, Dianne Hackborn wrote:

 Basically nobody has 2.0.1 any more.  That was an intermediate release,
 and all active devices have been updated past it.

 On Tue, Sep 21, 2010 at 6:47 AM, Leigh McRae 
 leigh.mc...@lonedwarfgames.com mailto:leigh.mc...@lonedwarfgames.com
 wrote:

I have updated my tools to revision 7 and now I can't do a build as it
says the API level is obsolete.  I can understand warning but it won't
build at all.  I am using android.bat to generate a build.xml for
release versions.  So the build.xml gets made from scratch each time.
If I switch to --target 8 it builds but I have already released it on
the Android Market with 6.  Won't this mean that some people that have
Android 2.0.1 won't be able to run it?

android update project --name Tanks --target 6 --path $
{dist.project.dir}

   [setup] Android SDK Tools Revision 7
   [setup] Project Target: Android 2.0
   [setup] API level: 5
   [setup]
   [setup]
   [setup]
   [setup]
***
   [setup] WARNING: This platform is obsolete and its Ant rules may
not work properly.
   [setup] WARNING: It is recommended to develop against a newer
version of Android.
   [setup] WARNING: For more information about active versions of
Android see:
   [setup] WARNING:

 http://developer.android.com/resources/dashboard/platform-versions.html
   [setup]
***
   [setup]
   [setup]
   [setup]
   [setup]
   [setup] --
   [setup] Resolving library dependencies:
   [setup] --
   [setup] Ordered libraries:
   [setup] --
   [setup]

BUILD FAILED
D:\Android\build.xml:68: The following error occurred while executing
this line:
D:\Android\build.xml:215: The following error occurred while executing
this line:
D:\Android\dist\market-lite\build.xml:82: Build rules file 'D:\Program
Files\android-sdk-windows\tools\ant\android_rules.xml' is missing.

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
android-developers@googlegroups.com
mailto:android-developers@googlegroups.com

To unsubscribe from this group, send email to

 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com

 mailto:android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 

For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com mailto:hack...@android.com


 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


 --
 Leigh McRae
 www.lonedwarfgames.com

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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