亲爱的,
我已经成功地使用 Sencha touch 2 制作了一个应用程序 在我的 Android 设备上工作正常,在平板电脑和模拟器上也能正常工作。但 问题是 apk 文件无法上传到它显示的 Android Market 给我一个错误:
.apk is not signed also validity year 50 Error in Google market -:
Google Play does not accept apks signed with the debug certificate.
Create a new certificate that is valid for at least 50 years.
我也更改了我的证书 "configuration":"Release" 但没有取得任何成功。亲爱的,我也分享我的整个配置 文件。如果您在配置文件中发现任何错误 请让我知道。任何建议表示赞赏。 提前致谢。
Code in Configuration file is that-:
{
"applicationName":"navi",
"applicationId":"com.amit.navi",
"versionString":"1.0",
"iconName":"resources/icons/Icon~ipad.png",
"inputPath":"build/native",
"outputPath":"build/",
"configuration":"Release",
"platform":"Android",
"deviceType":"Universal",
"certificatePath":"C:/Documents and Settings/amit/.android/amit.keystore",
"certificateAlias":"alias_name",
"sdkPath":"C:/android-sdk",
"orientations": [
"portrait",
"landscapeLeft",
"landscapeRight",
"portraitUpsideDown"
]
}
最佳答案
这里是创建 key 来签署您的 apk 的指南。 您目前已经使用调试 key 对您的应用程序进行了签名,需要使用 keytool(java 工具)生成一个新的调试 key ,然后使用它对您的 apk 进行签名。 Sencha 指南:http://docs.sencha.com/touch/2-0/#!/guide/native_android
key 工具指南:http://developer.android.com/tools/publishing/app-signing.html
keytool 在你的 java 目录中
关于android - 如何在 Sencha Touch 2 中制作签名的 APK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11425693/