Skip to content

Instantly share code, notes, and snippets.

@huhuang03
Created January 18, 2017 14:04
Show Gist options
  • Save huhuang03/9e9fe377db14bde1bd66784ba55d9920 to your computer and use it in GitHub Desktop.
Save huhuang03/9e9fe377db14bde1bd66784ba55d9920 to your computer and use it in GitHub Desktop.
出错输出
Dalvik VM unable to locate class 'HelloWorld'
------------------------------------------------------------------
这个问题我也碰到过,不知道跟你原因是否一样,
我用smali.jar编译HelloWorld.smali文件的时候输出的dex文件名定义为HelloWorld.dex,结果出错,后来按照书里的java -jar smali.jar -o classes.dex HelloWorld.smali执行,最后测试运行结果就正确了。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment