该错误指出包与同名现有包发生冲突。

huangapple go评论75阅读模式
英文:

The Package Conflicts With An Existing Package By The Same Name Error

问题

我正在安装 Flutter 的安卓 apk,但无法成功安装。由于我在 Flutter 方面是新手,无法解决这个问题。

在其他设备上安装 apk 并且正常运行,只有在我的设备上遇到了这个问题。

帮我解决一下吧!

英文:

I'm installing the flutter apk in android but not able to install it. as i'm fresher in flutter not able to get rid from this issue.

Apk install in other devices and working fine, only face this issue in my device.

Help me out to this!!

答案1

得分: 1

当您尝试在您的Android设备上安装或侧载APK文件时,会出现此错误。当您尝试安装相同应用程序的新APK时,大多数情况下会失败,因为您的手机已经安装了相同的应用程序。因此,最明显的解决方案是卸载该应用,然后尝试安装新的APK。在大多数情况下,这个修复方法有效。

英文:

When you try to install or side-load an APK file on your Android device, this error occurs. When you try to install the same application's new APK, most of the time it fails because your phone already has the same application installed. As a result, the most obvious solution is to uninstall the app and then try to install the new APK. For the most part, this fix works.

答案2

得分: 0

  1. 卸载之前安装的同名旧APK,然后尝试重新安装该应用程序。

  2. 同一包错误:

    1. 在您的应用程序中创建一个新的包,并使用不同的名称。
    2. 将所有文件从旧包复制粘贴到新包中。
    3. 保存代码。
    4. 删除旧包并清理并重新构建项目。
英文:
  1. uninstall the old apk with the same name you installed before, then try once to install the app.

  2. Same package error:

    1. Create a new Package in your app with a different name.
    2. Copy and paste all files in your old package to the new Package.
    3. Save Code.
    4. Delete the old Package And Clean and rebuild the project.

huangapple
  • 本文由 发表于 2023年6月22日 13:02:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/76528736.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定