我正在尝试将我的.apk文件安装到模拟器,但它给了我错误。将.apk安装到android模拟器时出错
[email protected]:~/subh/droidbox/android-sdk-linux/platform-tools$ ./adb -s emulator-5554 install /home/subh/subh/androidapp/HelloAndroid/bin/HelloAndroid-release-unsigned.apk
11 KB/s (2919 bytes in 0.245s)
pkg: /data/local/tmp/HelloAndroid-release-unsigned.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
然后我用的jarsigner签名.apk文件
[email protected]:~/subh/androidapp/HelloAndroid/bin$ jarsigner -verify -verbose -certs HelloAndroid-release-unsigned.apk
s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore
i = at least one certificate was found in identity scope
no manifest.
jar is unsigned. (signatures missing or not parsable)
[email protected]:~/subh/androidapp/HelloAndroid/bin$
但我仍然有证书的问题。
您是否有证书开头? – njzk2 2012-03-09 15:31:36