I have found the solution myself. These jar files should be added as a
"User Library". Right click the project in Eclipse, select "Build
Path" and then "Add Library". Select "User Library" and add the jar
file there.

Lars Brange


On Mar 5, 1:34 pm, Lars <[email protected]> wrote:
> Hello,
>
> I need to use the IWindowManager classes et al that resides in 
> thelayoutlib.jar file and have added it to my project in Eclipse (3.4.2)
> as an external Jar. After doing this, Eclipse utilizes 100% CPU (very
> slow, almost hung) and is unusable when Eclipse tries to build the
> project. Sometimes I get it to create the classes,dex file but most of
> the time I have to kill the IDE. Also, the dex-file is very large
> (around 4MB, when it gets created at all). If I removelayoutlib.jar
> the project builds normally.
>
> 1. How do I use thelayoutlib.jar file in my project?
> 2. How do I prevent the classes.dex file to contain a copy oflayoutlib.jar? I 
> assume I don't need the jar file when running the
> program on the device, or?
>
> I use SDK 1.1_r1
>
> Thanks in advance,
> Lars
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to