在android工程中 默认运行配置的jar包为android.jar
如果不更改就不能运行 所以我们需要将android.jar改成java所需要的jre
① => Run Configurations
② => java application
③ => main
④ => classpath
⑤ => 删除android.jar
⑥ => advanced
⑦ => Add Library
⑧ => JRE System Library
⑨ => finish/run
在android工程中 默认运行配置的jar包为android.jar
如果不更改就不能运行 所以我们需要将android.jar改成java所需要的jre
① => Run Configurations
② => java application
③ => main
④ => classpath
⑤ => 删除android.jar
⑥ => advanced
⑦ => Add Library
⑧ => JRE System Library
⑨ => finish/run