TinkerPatch / tinkerpatch-sdk

TinkerPatch SDK
http://tinkerpatch.com
MIT License
294 stars 56 forks source link

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] #135

Open weihe4800 opened 5 years ago

weihe4800 commented 5 years ago

signingConfigs { release { storeFile file("../signApk/SignACoolie.jks") storePassword '123456' keyAlias 'SignACoolie' keyPassword '123456' }

    debug {
        storeFile file("../signApk/SignACoolie.jks")
        storePassword '123456'
        keyAlias 'SignACoolie'
        keyPassword '123456'
    }
}

tinkerPatch 已经设置 useSign = true

签名文件是使用系统签名生成的jks ./keytool-importkeypair -k SignACoolie.jks -p 123456 -pk8 platform.pk8 -cert platform.x509.pem -alias SignACoolie

Generate Signed Bundle or APK

1、选择apk 编译生成的 release.apk 可以成功安装

2、gradlew assembleRelease task 生成的app-release.apk 安装如标题失败。

问题出在什么地方,我该如何处理。