简体   繁体   English

我从ADT切换到Android Studio:您将使用其他证书签名的APK上传到了以前的APK

[英]I switched from ADT to Android Studio: You uploaded an APK that is signed with a different certificate to your previous APKs

Please read before you post as a duplicate! 请仔细阅读,然后再发送副本! I am using the same certificate, the only one I have used for years on multiple apps. 我使用的是同一证书,这是多年来我在多个应用程序上使用过的唯一证书。 I have run keytool on the jks I am using and the SHA1 key is the same as Google Play says was used to sign the last accepted apk. 我已在正在使用的jks上运行keytool,并且SHA1密钥与Google Play所说的用于签署最后接受的apk相同。 I have also run jarsigner on both the new apk and the last accepted one, and they show the exact same certificate information, dates, etc. The only change is I switched from ADT to Android Studio, and I can still upload using ADT using the same cert. 我还在新的apk和最后一个被接受的apk上都运行了jarsigner,它们显示的证书信息,日期等完全相同。唯一的变化是我从ADT切换到了Android Studio,并且仍然可以使用ADT使用ADT上传相同证书 And, for the record, the SHA that Google Play says I signed the new apk with is not my debug SHA either. 而且,根据记录,Google Play说我与新apk签署的SHA也不是我的调试SHA。 Any ideas? 有任何想法吗? I really don't want to go back to ADT! 我真的不想回到ADT!

This thing is when you first installed your app (from ADT) into your emulator or android device, it was made from ADT, but now you are trying to install the same app, from Android Studio, that is why you are getting this error : You uploaded an APK that is signed with a different certificate to your previous APKs 这件事是当您第一次从ADT将应用程序(从ADT)安装到模拟器或android设备时,它是由ADT制作的,但是现在您正尝试从Android Studio安装同一应用程序,这就是为什么出现此错误的原因: 您已将使用其他证书签名的APK上传到以前的APK

What you have to do is, first uninstall the previous version of your app from your device (which was installed when using ADT)... And then install the latest APK, by using Android Studio. 您需要做的是,首先从设备上卸载应用程序的先前版本(使用ADT时已安装)...然后,使用Android Studio安装最新的APK。

You dont have to go back to ADT. 您不必回到ADT。 Keep using Android Studio, as it is the official IDE for Android Developement. 继续使用Android Studio,因为它是Android开发的官方IDE。

Edit: For Google Play i am not sure what can be the solution, as i dont know if u can delete an old signed APK and add a new one signed by the same certificate... Switching from ADT to Studio usually gives these kind of problems. 编辑:对于Google Play,我不确定可以采用什么解决方案,因为我不知道您是否可以删除旧的签名APK并添加由同一证书签名的新APK ...从ADT切换到Studio通常会提供这些问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用与您之前的 APK 不同的证书签名的 APK - APK that is signed with a different certificate to your previous APKs 上传的APK使用与以前的APK不同的证书签名 - uploaded APK is signed with different certificate to your previous APK 您上传了使用受限证书签名的Android应用程序包apk? - you uploaded an apk for android app bundle that is signed with a restricted certificate? 使用先前证书的不同 APK 文件签名的 APK - APK signed with a different APK files of the previous certificate 您上传了未使用上传证书签名的APK - 即使我使用的是Google Play Signing - You uploaded an APK that is not signed with the upload certificate - even though I am using Google Play Signing Google控制台错误您上传了未使用上传证书签名的APK - google console error You uploaded an APK that is not signed with the upload certificate 播放商店错误“您上传了使用不安全证书签名的APK” - Play Store Error “You uploaded an APK that is signed with an insecure certificate” 您上传的 APK 未使用具有相同密钥库的上传证书签名 - You uploaded an APK that is not signed with the upload certificate with same keystore 您上传了在调试模式下签名的 APK。 您需要在发布模式错误中签署您的 APK - You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode error 您上传了以调试模式签名的APK。 您需要在发布模式下签署APK - You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM