title: It got the 'java.lang.ClassNotFoundException' error when run the export apk
body: <p>I write a android app in Eclipse and use run command on my cellphone.</p>
  
  <p>It's run success on my cellphone.</p>
  
  <p>But I use [Android Tools -> Export Signed Application Package...] to export my app.</p>
  
  <p>Then use [adb install] to install apk on my cellphone and run.</p>
  
  <p>And I got the error message:</p>
  
  <pre><code>07-22 11:20:43.537: E/AndroidRuntime(20216): Caused by: java.lang.ClassNotFoundException: com.mytest.MyActivity in loader dalvik.system.PathClassLoader[/data/app/com.mytest-1.apk]
  </code></pre>
  
  <p>In [Java Build Path -> Order and Export], I have been selected all.</p>
  
  <p>In AndroidManifest.xml, the application attribute doesn't have android:name.</p>
  
  <p>I don't know how to solve this problem.</p>
  
  <p>I'm success use Eclipse run on my cellphone, why run error when I export the app?</p>
  
  <p>please help me, thanks!!</p>