Note that there are some explanatory texts on larger screens.

plurals
  1. POConversion to Dalvik format failed with error 1 with javax/net/SocketFactory.class
    primarykey
    data
    text
    <p>Encounter this problem when trying to Build Project getting such output in console:</p> <pre><code>[2010-07-19 23:29:23 - myProject] trouble processing "javax/net/SocketFactory.class": [2010-07-19 23:29:23 - myProject] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. [2010-07-19 23:29:23 - myProject] 1 error; aborting [2010-07-19 23:29:23 - myProject] Conversion to Dalvik format failed with error 1 </code></pre> <p>I was looking for my project to use the package javax, not found, clean all also does not help. what I am doing wrong?</p> <p><strong>Update</strong></p> <p>Sorry guys, but I could not find good fix for that, I want to emphasize the fact, that i dont use <code>SocketFactory</code> class in my project at all! source code was not changed before this problem, and that's why i think that problem in eclipse or adt or something else, BUT if i use ant(generated by sdk) to build this project there is no problem!!!</p> <p>I solve this problem by removing Eclipse, Android SDK, Eclipse workspace, and just reinstall them, after this all works fine for now.</p> <p>Hope this will help someone.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload