Argh I deleted the first version of my topic but you had the time to answer it :p The right topic is located at http://groups.google.com/group/android-developers/browse_thread/thread/5537ae10e4143240 Sorry for the double post (though the second one has less errors in the text ;))
On 28 avr, 17:34, Inderjeet Singh <inder...@gmail.com> wrote: > I ran into the same problem this morning and was hating myself for > being a compulsive early adopter. :) > Also, the fact that you actually have to create a device before you > can launch anything. > > Anyone else figured out what is going on? > > Inder > > On Tue, Apr 28, 2009 at 8:02 AM, Guillaume Perrot > > <guillaume.p...@gmail.com> wrote: > > > In the previous SDK releases, we have our application cut into 3 > > android projects: > > * Project REAL (the real android project) > > * Project LIB1 (a non executable android project, just to make android > > reusable classes) > > * Project LIB2 (same as LIB1) > > LIB1 and LIB2 are android projects rather than J2SE ones because of > > the API they use, indeed LIB1 and LIB2 use Android classes. > > Project REAL has LIB1 and LIB2 in its project build path in Eclipse. > > > In SDK 1.0 and 1.1, no problem at all when running the project REAL > > from Eclipse, it mixes the code of the 3 projects and produces one big > > APK with everything in it. > > > But now in SDK 1.5, it installs 3 different APKs on the emulator or on > > the phone (I tested both), and the project REAL immediately crashes > > because of a VerifyError: it does not found a class that is in LIB1. > > > The size of the produced APK is smaller, indeed, LIB1 and LIB2 classes > > are not in it... > > I tried using uses-library in the manifest like google maps library > > but it complains at installing, we have a "missing shared library" > > error. > > I tried adding class folders in build path, it compiles in Eclipse but > > we still have VerifyError. > > Same thing if we use external class folders in build path. > > > The only thing that worked for me was to add an eclipse folder, which > > is in fact a symbolic link, and to make it a source folder. But that > > solution is not convenient for us when because we share the projects > > in SVN and so the paths are different. Using eclipse path variables > > can do the trick but we waste some time to configure them so it's not > > convenient enough. > > > Is there a way to restore the old behavior on other android projects > > in build path ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---