简体   繁体   English

Xamarin Android 使用 2 台不同的计算机但相同的密钥库签署应用程序

[英]Xamarin Android Sign App with 2 different computers but same keystore

I'm developing a xamarin android application with 2 different computers.. one at work and one at home.. my first signed version was from my laptop then I transfer my keystore file from my laptop to my workplace computer everything seems to be fine and I can sign the app from my workplace also but when I want to install it on device I get the error.. as it signed with different keystore..我正在使用两台不同的计算机开发 xamarin android 应用程序.. 一个在工作中,一个在家里.. 我的第一个签名版本来自我的笔记本电脑,然后我将我的密钥库文件从我的笔记本电脑传输到我的工作电脑,一切似乎都很好,我也可以从我的工作场所签署该应用程序,但是当我想在设备上安装它时出现错误..因为它使用不同的密钥库签名..

so I need to sign my app only by my laptop to make it work and install on previous versions所以我只需要通过我的笔记本电脑对我的应用程序进行签名,以使其工作并安装在以前的版本上

is it logical?合乎逻辑吗? is it should be like this?应该是这样吗? so what about if I want to change my laptop:|那么如果我想更换我的笔记本电脑怎么办:|

Does anyone have any experience with transferring keystore to another computer?有没有人有将密钥库转移到另一台计算机的经验?

My mistake was that I tried to copy the keystore file to the second machine (for example D drive)... then import the keystore in visual studio...我的错误是我试图将密钥库文件复制到第二台机器(例如 D 驱动器)...然后在 Visual Studio 中导入密钥库...

I copied the whole keystore folder from我从

C:\Users\firstMachine\AppData\Local\Xamarin\Mono for Android\Keystore... C:\Users\firstMachine\AppData\Local\Xamarin\Mono for Android\Keystore...

to

C:\Users\secondMachine\AppData\Local\Xamarin\Mono for Android\Keystore... C:\Users\secondMachine\AppData\Local\Xamarin\Mono for Android\Keystore...

and it's working now它现在正在工作

Thanks to guys for comments感谢大佬们的评论

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM