Got a solution in here:
http://osdir.com/ml/AndroidDevelopers/2009-04/msg03384.html
it works for me. hope it works for u.

On Jun 20, 1:38 am, SPD <sdickey2...@gmail.com> wrote:
> newbie here, but I'm getting this error and I still don't have a
> solution.  This snippy little note from Google is NOT useful.
> Especially since eclipse (the standard, advertised, google method for
> developing apps) does not allow you to add --core-library to the build
> line. Anyways, enough complaining.  I'm actually getting two errors.
>
> SDK 1.5 app previously on SDK 1.0 running fine.
>
> [2009-06-19 10:23:31 - appname]
> trouble processing "java/awt/font/NumericShaper.class":
> [2009-06-19 10:23:31 - appname]
> Attempt to include....
>
> Except that there's no file named NumericShaper.class, anywhere, in
> any code, I'm using nor including.  I've only got one jar file in my
> classpath
>
> <?xml version="1.0" encoding="UTF-8"?>
> <classpath>
>         <classpathentry excluding="images/|android/util/" kind="src"
> path="src"/>
>         <classpathentry kind="src" path="gen"/>
>         <classpathentry kind="lib" path="C:/android-sdk-windows-1.5_r2/
> platforms/android-1.5/android.jar"/>
>         <classpathentry kind="output" path="bin"/>
> </classpath>
>
> And no source code other than that jar file refers to
> NumericShaper.class.
>
> Any ideas?
>
> SPD.
>
> On Jun 3, 4:19 pm, markdsievers <mark.siev...@gmail.com> wrote:
>
> > Root cause was two android jars on the classpath...Yes it is a silly
> > error, cant help but be a little dissapointed that this problem
> > manifested itself like this
>
> > On Jun 3, 10:40 pm, Mark Murphy <mmur...@commonsware.com> wrote:
>
> > > markdsievers wrote:
> > > > Just a bump...Same situation, upgrading Android and have ended up with
> > > > this problem. Someone in the next cubicle has the same project
> > > > working, so will post the solution shortly...
>
> > > The error message is fairly self-explanatory in terms of what to do,
> > > though the better answer is to not try adding classes in the java.* or
> > > javax.* namespaces.
>
> > > In the OP's case, if I am reading their stack trace correctly, they were
> > > trying to add java.security.cert.CertPathParameters, perhaps from Apache
> > > Harmony, and Android's build tools will not appreciate that. In part,
> > > that is because Android 1.5 already has an implementation of this 
> > > interface.
>
> > > You can use classes pulled from Harmony, but you need to modify them
> > > (and the code that uses them) to put them in another namespace.
>
> > > Bear in mind that if you do follow the error message's instructions and
> > > use --core-library to attempt to get past this message, your application
> > > may break in future versions of Android, if they happen to include the
> > > same class you're trying to load and the implementations are not 
> > > compatible.
>
> > > --
> > > Mark Murphy (a Commons 
> > > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > > Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to