title: Android javac and dx - trouble processing, class name and path do not match
body: <p>I'm using SpartacusRex's Terminal IDE and another app, DroidEdit, to build and run java applications on Android. A simle one-file Hello World builds and runs flawlessly, however when i introduce packages i cannot properly dex the class files into a jar file:</p>
  
  <p>From my project directory:<br />
  javac src/mypack/*.java<br />
  <strong>This Compiles Successully</strong><br />
  dx --dex --output=Test.jar src<br />
  <strong>This gives my the following warning</strong></p>
  
  <p><em>trouble processing:<br />
  class name (mypack/Main) does not match path (Main.class)<br />
  ... while parsing Main.class<br />
  ... while processing Main.class<br /></em></p>
  
  <p>All paths and package names are correct. Main.java is in a folder called "mypack" and has a packgage statement "package mypack;".<br />What am I doing wrong ?
  Also, using --no-strict removes the warning but the outputted jar file is not built correctly and cannot be run.</p>
  
  <p>Any help is appreciated. Thanks :)</p>