从 visual studio 部署时保留上一个应用程序的问题
Problem with keeping prevoius app when deploying from visual studio
当我部署应用程序时,我使用 Xamarin 的 Blank Prism 模板创建,Android 我使用相同模板创建的其他应用程序已从设备中删除。如何配置 Prism 来避免这种情况?
来自document:Set the application ID:
Every Android app has a unique application ID that looks like a Java
package name, such as com.example.myapp. This ID uniquely identifies
your app on the device and in Google Play Store. If you want to upload
a new version of your app, the application ID (and the certificate you
sign it with) must be the same as the original APK—if you change the
application ID, Google Play Store treats the APK as a completely
different app. So once you publish your app, you should never change
the application ID.
您可能应该更改应用程序的应用程序 ID,使其成为新应用程序。
默认情况下,您的项目包名称与应用程序 ID 匹配。
有关更改包名称的详细信息,请参阅 here。
当我部署应用程序时,我使用 Xamarin 的 Blank Prism 模板创建,Android 我使用相同模板创建的其他应用程序已从设备中删除。如何配置 Prism 来避免这种情况?
来自document:Set the application ID:
Every Android app has a unique application ID that looks like a Java package name, such as com.example.myapp. This ID uniquely identifies your app on the device and in Google Play Store. If you want to upload a new version of your app, the application ID (and the certificate you sign it with) must be the same as the original APK—if you change the application ID, Google Play Store treats the APK as a completely different app. So once you publish your app, you should never change the application ID.
您可能应该更改应用程序的应用程序 ID,使其成为新应用程序。 默认情况下,您的项目包名称与应用程序 ID 匹配。
有关更改包名称的详细信息,请参阅 here。