[android-developers] Re: SDK 1.5 Build Error

2009-04-29 Thread hiroaok

Please create new project for your application on eclipse.

The issue was happened when I imported existing project to eclipse.

It's easy way to fix.

BRs,
Aoki

On 4月24ζ—₯, 午後8:46, Karima  wrote:
> I met this today.
> I solved it :
> In your project's folder the file .classpath is wrong. The good file
> is :
> 
> 
> 
> 
>  path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
> 
> 
>
> On 15 avr, 19:05, Chris McCurdy  wrote:
>
>
>
> > I'm attempting to test one of my applications in the SDK1.5
> > environment, but when it tries to build, I get this error:
>
> > [2009-04-15 12:33:13 - Battle Bricks]
> > trouble processing "java/awt/font/NumericShaper.class":
> > [2009-04-15 12:33:13 - Battle Bricks]
> > 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.
>
> > But I've tested my other application in the environment, and it worked
> > fine. I've looked through my imports, and none of my files import
> > NumericShaper, so I'm confused as to why it seems to think that it is
> > being referenced.

--~--~-~--~~~---~--~~
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] Re: SDK 1.5 Build Error

2009-04-24 Thread Karima

I met this today.
I solved it :
In your project's folder the file .classpath is wrong. The good file
is :








On 15 avr, 19:05, Chris McCurdy  wrote:
> I'm attempting to test one of my applications in the SDK1.5
> environment, but when it tries to build, I get this error:
>
> [2009-04-15 12:33:13 - Battle Bricks]
> trouble processing "java/awt/font/NumericShaper.class":
> [2009-04-15 12:33:13 - Battle Bricks]
> 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.
>
> But I've tested my other application in the environment, and it worked
> fine. I've looked through my imports, and none of my files import
> NumericShaper, so I'm confused as to why it seems to think that it is
> being referenced.
--~--~-~--~~~---~--~~
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] Re: SDK 1.5 Build Error

2009-04-16 Thread Raphael

Do you have external JAR files or anything else that's trying to bring
that awt class?
R/

On Wed, Apr 15, 2009 at 10:05 AM, Chris McCurdy
 wrote:
>
> I'm attempting to test one of my applications in the SDK1.5
> environment, but when it tries to build, I get this error:
>
> [2009-04-15 12:33:13 - Battle Bricks]
> trouble processing "java/awt/font/NumericShaper.class":
> [2009-04-15 12:33:13 - Battle Bricks]
> 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.
>
> But I've tested my other application in the environment, and it worked
> fine. I've looked through my imports, and none of my files import
> NumericShaper, so I'm confused as to why it seems to think that it is
> being referenced.
> >
>

--~--~-~--~~~---~--~~
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] Re: SDK 1.5 Build Error

2009-04-15 Thread Aaron

I also met this issue today, when I tried to build a project created
in previous enviroment.
I solved it in this way.

1. Remove folders under project except src and res. remove files under
project folder except AndroidManifest.xml
2. Create a project from existing source
3. Change java compile compliance level from 1.6 to 1.5 (not sure if
it is needed)

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