I had resolved this compile error by adding JmDNS as user library. See
tip posted by CuteAndroid

at 
http://www.cuteandroid.com/tips-for-android-developer-conversion-to-dalvik-format-failed-unable-to-execute-dex-null.

I guess I could extract the source file and add them in my project.
But that make the project hard to maintain with JmDNS updates.

Thanks for helping

-Scott

On Jan 14, 5:15 am, Kumar Bibek <[email protected]> wrote:
> I guess, JMDNS uses a lot of classes in the javax package, that you would
> not be able to compile with Android.
>
> If you want to use only the JMDNS specific stuff, you can extract those
> classes and add it to your project. That worked for me.
>
> Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
>
>
>
>
>
>
> On Fri, Jan 7, 2011 at 12:31 AM, scott_ggle <[email protected]> wrote:
> > Hi,
>
> > I hope someone can kindly provide me hint on eclipse error “Conversion
> > to Dalvik format failed with error 1″. I am building Android
> > application with an external jar -”jmDNS.jar”.
> > I have tried reboot and clean build with no help. I tried using
> > Android 2.3 and 2.2 SDK with latest jmDNS.jar 3.2.2. The later was add
> > in project as Referenced Libraries.
>
> > Thanks in advance.
>
> > Scott
>
> > --
> > 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]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to