android: APK安装失败...同包不同签名
android: APK installation failed... same package different signature
我在两台具有相同 Android Studio 版本、设置和签名的不同计算机上工作。该应用程序在 Dropbox 上,因此我可以从任何地方访问它。
我在尝试从第二台计算机上工作时收到有关 APK 具有不同签名的错误。
更糟糕的是,如果我卸载 APK 并从第二台计算机重新安装,该应用程序的行为与在第一台计算机上的正常行为不同。
如果我返回第一台计算机并从那里再次安装 APK,一切都会正常运行。
我对从这里开始做什么有点困惑和无能,所以我们非常欢迎任何建议。
I get this error about APK having different signature when trying to
work from the second computer.
当您在调试模式下安装您的应用程序时(我猜这是这种情况),android studio 使用调试密钥存储对您的 apk 进行签名。每台计算机都有不同的调试密钥存储。这就是为什么您不能在不先卸载的情况下从其他计算机安装该应用程序的原因。
Even worst, if I uninstall the APK and re-install from the second
computer, the application doesn't behave as it normally does on first
computer.
这与第一个问题不同。你必须在这里更具体。什么是 正常 行为。与正常行为的偏差到底是什么。
我在两台具有相同 Android Studio 版本、设置和签名的不同计算机上工作。该应用程序在 Dropbox 上,因此我可以从任何地方访问它。
我在尝试从第二台计算机上工作时收到有关 APK 具有不同签名的错误。
更糟糕的是,如果我卸载 APK 并从第二台计算机重新安装,该应用程序的行为与在第一台计算机上的正常行为不同。
如果我返回第一台计算机并从那里再次安装 APK,一切都会正常运行。
我对从这里开始做什么有点困惑和无能,所以我们非常欢迎任何建议。
I get this error about APK having different signature when trying to work from the second computer.
当您在调试模式下安装您的应用程序时(我猜这是这种情况),android studio 使用调试密钥存储对您的 apk 进行签名。每台计算机都有不同的调试密钥存储。这就是为什么您不能在不先卸载的情况下从其他计算机安装该应用程序的原因。
Even worst, if I uninstall the APK and re-install from the second computer, the application doesn't behave as it normally does on first computer.
这与第一个问题不同。你必须在这里更具体。什么是 正常 行为。与正常行为的偏差到底是什么。