[android-developers] Re: Attempt to include a core VM class in something other than a core library

2008-10-07 Thread Adriano Crestani
Hi Jakob, I already did it, I generated the .apk file using the ant script (adding the --core-library option). Then I replaced the .apk file that eclipse generates by this one created by ant script. But I'm getting this error message: [2008-10-07 20:44:40 - calculator-android] Could not find

[android-developers] Re: Attempt to include a core VM class in something other than a core library

2008-09-29 Thread UBZack
Hi Oscar, I was getting this error because my fileset dir= in the dex call of my ant build.xml was pointing to a directory with many, many jar files in it, most of which were referencing javax classes (which, of course, you can/should never do in Android), and I fixed this problem by copying the

[android-developers] Re: Attempt to include a core VM class in something other than a core library

2008-09-29 Thread Jakob Sachse
Hello Oscar, I had the same trouble. you may want to read this: http://groups.google.com/group/android-developers/browse_thread/thread/1b7a9602196354ba/9b7c90289ba7ede7#9b7c90289ba7ede7 I didn't find the option to pass ADT (the eclipse plugin) the --core- library option, too. That's why i