1,新建项目
File/New/Project
Android/Android Application Project
输入程序名字HelloWorld
Next
Next
选择Blank Activity
修改为HelloWorldActivity
2,异常点
2.1,异常1:No resource found that matches the given name 'Theme.AppCompat.Light
import android.support.v7.app.ActionBarActivity;
创建项目时,将最小SDK选中4.0以上,就不会创建appcompat-v7。
2.2,异常2:Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder
下载低版本25.0.3
设置项目属性sdk.buildtools=25.0.3
2.3,异常3:Errors occurred during the build.Errors running builder 'Android Package Builder' on project 'FristApp'.sun/misc/BASE64Encoder
删除新的JDK21,重写安装JDK1.8
Oracle Login - Single Sign On
安装JDK后,安装JRE