[android-developers] Re: How to create Android library in Eclipse?

2010-05-05 Thread joebowbeer
Are any of these workarounds compatible with Android test projects? How do you prevent the Android library project, which is used by the instrumented project as well as the test cases, from being added to Test.apk and then failing at runtime with the cryptic "class resolved by unexpected dex" erro

Re: [android-developers] Re: How to create Android library in Eclipse?

2010-05-04 Thread Max Gilead
There's even more hackish but perfectly working solution AND you get all the Android project niceties with it :) 1. Create regular Android project 2. Manually remove Android nature from .project file 3. Done :) Cheers, Max 2010/5/4 Mario Zechner > Actually, i do something a bit nasty to get a

[android-developers] Re: How to create Android library in Eclipse?

2010-05-04 Thread Mario Zechner
Actually, i do something a bit nasty to get a seperate Android library project. In your SDK folder you have several android jars for the different Android versions. I simply create a Java project and add the lowest Android version jar i want to support as a dependency et voila you have a nice Andro

[android-developers] Re: How to create Android library in Eclipse?

2010-05-03 Thread Menion
You say that sharing resources between projects is coming? Hopefully, thx for very, very good info :) On May 3, 11:34 pm, Xavier Ducrohet wrote: > If you're code is straight java with no android resources then just > create a Java project and reference it by your Android projects. > > Android lib