如何使一个签名的APK在煎茶触摸2APK

2023-09-05 00:13:20 作者:24.咿呀咿呀哟り

大家好

我已经用煎茶触摸二是成功地申请  做工精细在我的Andr​​oid设备,也对平板电脑和仿真器。但  问题是,apk文件不能在Android市场上传它表明  我一个错误:

  .apk文件是不是还签署了有效期一年的谷歌市场50错误 - :
谷歌播放不接受与调试证书签名的apk。
创建一个新的证书有效期为至少50年。
 

我已经改变了我的证书也配置:释放 但没有得到任何的成功。亲爱的,我也分享我的整个配置  文件。如果您发现任何错误的配置文件中  请让我知道。任何的建议是AP preciated。  预先感谢。

  

code的配置文件是 - :

  {
的applicationName:导航,
的applicationID:com.amit.navi,
VERSIONSTRING:1.0,
iconName:资源/图标/图标〜ipad.png
inputPath:建立/本土,
outputPath:构建/,
配置:释放,
平台:Android的,
的devicetype:通用,
certificatePath:C:/ Documents和设置/阿米特/ .android / amit.keystore

certificateAlias​​:ALIAS_NAME
sdkPath:C:/ Android的SDK,

方向:
肖像,
landscapeLeft
landscapeRight
portraitUpsideDown
]
}
 

解决方案 没有签名的apk怎样才可以装在手机可以用

下面是创建密钥与您签署的apk的指南。 目前,您已经签署了您的应用程序与调试的关键,需要生成一个新的使用密钥工具(Java的工具),然后签上你的apk这一点。 煎茶指南: http://docs.sencha.com/touch/2 -0 /#!/引导/ native_android

的Keytool指南: http://developer.android.com/tool​​s/publishing /app-signing.html

密钥工具是在Java目录

Dear All,

I have successfully made an application using Sencha touch 2 it's working fine in my Android device, also on Tablet and emulator. But the problem is that the apk file could not be uploaded on Android Market it shows me a error:

.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.

I have changed my certificate also "configuration":"Release" but not get any success. Dear i am also sharing my whole configuration file. If you find any of the error inside the configuration file please let me know about it. Any of the suggestion is appreciated. Thank in advance.

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"
]
}

解决方案

Here is a guide to creating a key to sign your apk with. You have currently signed your app with a debug key and need to generate a new one using keytool (java tool) then sign your apk with that. Sencha guide: http://docs.sencha.com/touch/2-0/#!/guide/native_android

Keytool guide: http://developer.android.com/tools/publishing/app-signing.html

the keytool is in your java directory