Conversion to Dalvik format failed with error 1 with javax/net/SocketFactory.class

前端 未结 19 1988

Encounter this problem when trying to Build Project getting such output in console:

[2010-07-19 23:29:23 - myProject]
trouble processing \"javax/net/SocketFa         


        
19条回答
  •  悲&欢浪女
    2020-12-05 18:44

    Hit same problem shown on your log when trying to run an example project which was imported into eclipse.

    Additional Info: in eclipse's Problems View I see the following error:

    "The project cannot be built until build path errors are resolved"

    In my case the imported project find the libraries just right(by just right I mean I can see the external path to each of the android libs in this case 2 libs, android.jar and maps.jar). So no shuffling of libs in my case, but might be your problem.

    I followed Spock's suggestion of cleaning the project which I had to clean multiple times until it somehow resolve its issues. After, issue was solved I had to specify an AVD for the project to run and soon after was up and running on the emulator. Also, note that my eclipse is set up to Build Automatically.

    In my case I'm not missing any class files or anything after the clean as the build is properly generating them.

    Regards!

提交回复
热议问题