My IDE is Android Studio 2.0. SDK is 23
This is my error log(there are so many same logs and I list only one):
05-10 22:19:21.430 1835-1835/edu.jazzy.testconsumer E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method edu.jazzy.testconsumer.MipcaActivityCapture.access$super
my build.gradle :
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "edu.jazzy.testconsumer"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile files('libs/zxing.jar')
}
And I don't know why there is always occur error after I google for hours.