【发布时间】:2016-11-07 11:31:12
【问题描述】:
如果我想运行我的应用程序,我会收到此错误。
错误:任务 ':app:transformClassesWithInstantRunForDebug' 执行失败。 java.lang.NullPointerException(没有错误信息)
我的 Gradle 看起来像这样
pply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.example.herold.datenaufnahme"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.0.0'
compile project(':EMDK')
}
【问题讨论】:
标签: java android android-studio nullpointerexception