Update the app in another machine with same debug.keystore in android

社会主义新天地 提交于 2020-02-16 05:26:32

问题


I have installed my app in my device.Now due to some reasons I have exported my code and debug.keystore to another machine.When I rebuild the app It is saying "Re-installation failed due to different application signatures." Actully I want to update the app without uninstall. How can I do this?

Thanks,Chaitanya


回答1:


You can copy the previous debug.keystore from your old machine and place it in your different machine.

The location of debug.keystore is typically your .android directory present inside home directory.

In Windows, "My Documents" is your home directory and in Linux the default directory to which you new shell opens to is your home directory.




回答2:


Yes you only need to change the debug keystore of new machine with the one from old machine because when you run the app from compiler its debuged from the debug.keystore from .android folder and then is installed to device/emulator



来源:https://stackoverflow.com/questions/18266947/update-the-app-in-another-machine-with-same-debug-keystore-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!