Aargh, finally worked out that I duplicated the android jar in my Build Path libraries. Not sure how the properties got into that state but I am relieved to solve the problem.
On Sep 26, 4:44 pm, Beth <emez...@gmail.com> wrote: > In an effort to brute force a solution I removed the only instance of > the NumericShaper class I could find in my project, deleting from > android.jar. After removing the NumericShaper class from the > android.jar file that comes with the SDK, the next class in the java/ > awt package structure throws the error. If I take that class out, the > system moves on to the java/beans classes and throws the error on that > part of the class tree. If I remove the entire set of classes under > java from the jar, then a javax/crypto class throws the exception. Of > course, removing the java tree breaks the app. > > I looked at the android.jar file properties and they seem fine. The > checksum on the zip file is a match. I downloaded and overwrote > existing SDK files in my effort to solve, to no avail. What's gone > wrong? Suddenly, Eclipse is completely unusable with projects that > were running fine last week. The MotoDev version of Eclipse is > behaving the same way. Any workarounds or suggestions would be deeply > appreciated. Although it does not make sense, my next step is to > downgrade and try an older version of Eclipse to see if I can get back > on track. What a mess! > > Thanks and regards, > Beth > > On Sep 25, 6:47 pm, Beth Mezias <emez...@gmail.com> wrote: > > > Nope, both apps are 100% Android SDK objects. > > > Sent from my mobile. > > Regards, > > Beth > > > On Sep 25, 2009 6:39 PM, "Xavier Ducrohet" <x...@android.com> wrote: > > > Are you including 3rd party libraries in your application? > > > Those might contain code that access (or include) classes in the > > java.awt namespace which are not supported. > > > Xav > > > On Fri, Sep 25, 2009 at 3:01 PM, Beth <emez...@gmail.com> wrote: > > > > This is getting out of hand! A second project in my Eclipse workspace > > > started throwing the error. I fooled around with the clean project > > > and fix properties commands and got nowhere. I rolled back from 1.6 > > > SDK to 1.5 only to find that did not resolve the problem. I even > > > switched to the MotoDev Studio program, built atop Eclipse. > > > > This error seems a bit intermittent and I suspect it is the > > > environment because when I created a new project where there is only > > > the MainActivity stub, no code entered into the project yet, I got an > > > error. That one went away but I cannot shake the error from my other > > > two projects. I deleted the existing project, created my project new, > > > and without even importing the old project source, I got the error. > > > > Another reason I suspect configuration is that the compile gets > > > through all of the dalvik classes and then chokes on the very first > > > java package. In other words, the system passes through all my files, > > > all the android and dalvik classes and then throws an error once it > > > hits java. I am not using the awt class unless some other android > > > class is calling it. > > > > The error is pasted here. If there are any Eclipse configuration > > > experts reading, I would really welcome ideas. To be clear, I am > > > running on Mac OS v 10.5.8 with JDK 5. Is there an environment > > > variable I need, something on the path? Is there a JRE setup I could > > > be missing? > > > > [2009-09-25 14:48:29 -Alarmoid]processing dalvik/system/ > > > Zygote.class... > > > [2009-09-25 14:48:29 -Alarmoid]processing java/awt/font/ > > > NumericShaper.class... > > > [2009-09-25 14:48:29 -Alarmoid] > > > trouble processing "java/awt/font/NumericShaper.class": > > > [2009-09-25 14:48:29 -Alarmoid] > > > Attempt to include a core VM class in something other than a core > > > > library. > It is likely that y... > > > > [2009-09-25 14:48:29 -Alarmoid]1 error; aborting > > > [2009-09-25 14:48:29 -Alarmoid]Conversion to Dalvik format failed > > > with error 1 > > > > On Sep 18, 1:59 pm, Beth <emez...@gmail.com> wrote: > > >> Thanks for the suggestion, but, I am not using that lib in my code. I > > >> do not have any NumericShaper class call and cannot see how to clear > > >> the error. Could it be some Eclipse glitch happening with the import > > >> of my project from another machine? I guess it's just me with this > > >> problem! A second error cropped up where the apk file is not found on > > >> my system in bin and I cannot create a new one. > > > >> Unless there is a better idea, my next step is probably to try and > > >> import the code into a new project to see if the weirdness will go > > >> away. > > >> Wish me luck! > > > >> On Sep 17, 10:02 pm, Raphael <r...@android.com> wrote: > > > >> > IIRC awt is a separate library that you need to declare explicitly in > > >> > your application manifest. > > >http://www.google.com/search?hl=en&q=android+uses-library+awt > > > >> > R/ > > >> >> > On Thu, Sep 17, 2009 at 1:49 PM,BethMezias <emez...@gmail.com> > > > wrote: >> > > Hiya, >> >> > >... > > -- > > Xavier Ducrohet > > Android Developer Tools Engineer > > Google Inc. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---