android apk解析错误

时间:2016-12-15 15:12:35

标签: android apk parse-error android-install-apk

我创建了一个apk但我无法安装它。 这样:Build>生成签名APK ...

**Parse Error**
The was a aproblem while parsing the package.

我正在使用Note 5并拥有Android 6(API23)

我尝试使用相同的选项创建一个新项目并创建apk,这个apk安装了我的设备。

我在哪里犯错? 你需要其他代码来帮忙,告诉我。

的build.gradle

apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.0'

defaultConfig {
    applicationId "***"
    minSdkVersion 19
    targetSdkVersion 25
    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 project(':***')
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:design:25.0.1'
compile 'com.android.support:cardview-v7:25.0.0'
compile 'com.android.support:recyclerview-v7:25.0.1'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.android.support:support-annotations:25.0.0'
compile 'com.android.support:support-v4:25.0.0'
}

0 个答案:

没有答案