无法生成签名的apk,字符串索引超出范围-71

时间:2016-07-18 13:15:04

标签: android apk

我可以为我的Android应用创建一个普通的apk,但是当我尝试生成一个已签名的apk时,每次我都会收到错误

15:33:13 Executing tasks: [:app:assembleRelease]
15:33:18 ExternalSystemException: String index out of range: -71

此处我还想与您分享我的build.gradle文件:

apply plugin: 'com.android.application'

android {
compileSdkVersion 23

buildToolsVersion "23.0.1"

defaultConfig {
    applicationId "altayatik.calcy6pro"
    minSdkVersion 19
    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:24.0.0'
}

0 个答案:

没有答案