jdk7下面出现INSTALL_PARSE_FAILED_NO_CERTIFICATES

http://androiddevelopertutorial.com/fixing-install_parse_failed_no_certificates-android-jdk7

试了下加-digestalg SHA1 -sigalg MD5withRSA

ant build这样:
<exec executable="${signer}" failonerror="true">
            <arg value="-verbose"/>
            <arg value="-keystore"/>
            <arg value="${keystore}"/>
            <arg value="-storepass"/>
            <arg value="${store_pass}"/>
            <arg value="-keypass"/>
            <arg value="${key_pass}"/>
            <arg value="-digestalg"/>
            <arg value="SHA1"/>
            <arg value="-sigalg"/>
            <arg value="MD5withRSA"/>
            <arg value="-signedjar"/>
            <arg value="${bin}\${file_name}_unrezip.apk"/>
            <arg value="${bin}\${file_name}_unsigned.apk"/>
            <arg value="${key_name}"/>
</exec>

问题可以解决

猜你喜欢

转载自bdql.iteye.com/blog/1856964