Hello, In my app I have to put the custom class to javax package. This did work on the old SDK's, but now with released 1.0 I receive the following error message during compile time and the app refuses to install:
[2008-12-15 03:12:31 - HelloWorld] Failed to upload HelloWorld.apk on 'emulator-5554': Local file doesn't exist. [2008-12-15 03:12:38 - HelloWorld] trouble processing "javax/Hello.class": [2008-12-15 03:12:38 - HelloWorld] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. [2008-12-15 03:12:38 - HelloWorld] 1 error; aborting [2008-12-15 03:12:38 - HelloWorld] Conversion to Dalvik format failed with error 1 To reproduce, just create javax.Hello.java class in any android project and you will receive the same message. After deleting it the app would install/run again. I want to avoid this and to install application with javax.Hello class anyway - the message states that I can use "--core-library" option for that, but I do not know where to put it. Can someone please clarify the situation with this error mechanism, how it works and what are ways to deal with it? thank's --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---