https://bugzilla.novell.com/show_bug.cgi?id=661858
https://bugzilla.novell.com/show_bug.cgi?id=661858#c7 --- Comment #7 from Jonathan Pryor <[email protected]> 2011-02-15 16:36:20 UTC --- Part (2) redux: we should NOT include the .jar in 'dx' compilation. (In other words, the emulator "lies" because I was using the wrong emulator!) Playing around with 'ant' (the only way to test!), two points of interest appear: 1. android.jar and the //uses-library .jar files are passed to `javac -bootclasspath` 2. maps.jar (for a Google Maps use) is NOT compiled into classes.dex. How, then, does <uses-library android:name="com.google.android.maps"/> work? On my N1, there is a /system/framework/com.google.android.maps.odex file; this is the implementation to use. How does it work in the emulator? It doesn't -- the framework isn't found. How do we use an emulator? By using a different target -- we can't use e.g. the Android API v2.2 target, we instead need to use the "Google APIs (Google Inc.)" target. _That_ includes the needed /system/framework/com.google.android.maps{.odex,.jar} file to allow the app to work in the emulator. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
