Java Android studio/SDK在电脑突然断电后死亡
在我的电脑突然断电之前,它一直工作正常 整个项目都死了,工具无法识别android API,甚至无法识别项目的内部类 构建梯度如下所示:Java Android studio/SDK在电脑突然断电后死亡,java,android,android-studio,sdk,Java,Android,Android Studio,Sdk,在我的电脑突然断电之前,它一直工作正常 整个项目都死了,工具无法识别android API,甚至无法识别项目的内部类 构建梯度如下所示: apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.XXXXX" minSdkVers
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.XXXXX"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.android.support:design:23.1.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:support-v4:23.1.1'
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
}
系统/IDE配置如下:
- Android Studio 1.5.1
- 稳定通道
- 视窗7
- jdk7