Ami*_*mar 5 android extjs apk sencha-touch sencha-touch-2
亲爱的大家,
我已成功使用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.
Run Code Online (Sandbox Code Playgroud)
我已经更改了我的证书"配置":"发布"但没有取得任何成功.亲爱的我也在分享我的整个配置文件.如果您在配置文件中发现任何错误,请告诉我.任何建议表示赞赏.预先感谢.
配置文件中的代码是 - :
{
"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"
]
}
Run Code Online (Sandbox Code Playgroud)
这是创建用于签署 apk 的密钥的指南。您当前已使用调试密钥对您的应用程序进行了签名,需要使用 keytool(java 工具)生成一个新的密钥,然后用它对您的 apk 进行签名。Sencha 指南:http://docs.sencha.com/touch/2-0/#!/ guide/native_android
密钥工具指南:http://developer.android.com/tools/publishing/app-signing.html
keytool 位于您的 java 目录中