Watermarker wrote: > I am new to Android development. I am developing in Eclipse with > Android plugin. I am writing an android application, which is > dependent on some other new API. > I want to know how to export the new API to android emulator. > > I import the API in the build configuration. It is being compiled. But > when I try to run it on emulator , it generates errors.
If the API is a third-party JAR, at least for Ant-based builds, all you need to do is put the JAR in the libs/ directory of your project, and it be included in the APK. I do not know if there are other steps you would need to do in Eclipse. Bear in mind, of course, that the errors may be just coding errors -- you really need to look at your Java stack trace to see what is going on. The stack trace is available via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Looking for Android opportunities? http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

