首页 文章

您需要使用其他套餐名称,因为Google Play中已存在“com . *** . *** . ***”

提问于
浏览
-1

我是Android应用开发新手并尝试将应用上传到Google Play控制台,该应用已上传到其他Google Play控制台帐户 . 现在我想将应用程序部署到客户端的帐户,我从当前帐户中取消发布应用程序 .

现在当我尝试将应用程序上传到客户端的控制台时,我收到此错误:

您需要使用其他包名称,因为Google Play中已存在“com ... ***” .

我试图通过以下链接多次更改应用程序的包名称:

Android Studio Rename Package

但是,它仍然显示相同的错误 .

3 回答

  • -1

    在android-studio中打开你的项目,然后将你的包名重构为另一个名字 . 如果您的包名称有一个熟悉的名称,如com.company或com.name等,可能您再次遇到此问题 . 使用唯一的名称

  • -1
    You need to use a different package name because "com...***" already exists in Google Play.
    

    在Android Studio中创建新项目时,applicationId与您在安装过程中选择的Java样式包名称完全匹配 . 但是,除此之外,应用程序ID和程序包名称彼此独立 .

    Solutions

    如果从 build.gradle 更改applicationId会更好

    android{
        defaultConfig {
            applicationId "" //cahnge here
            minSdkVersion //
            targetSdkVersion //
            versionCode // //increse verssion
            versionName "" //increse verssion
        }
    
    }
    

    之后 clean-rebuild-run .

    FYI

    您的应用签名密钥用于验证您作为开发人员的身份,并确保为您的用户提供无缝和安全的更新,管理密钥并确保其安全对您和您的用户都非常重要 .

    • 您应该创建一个新的 jks file .
  • -1

    你需要更改 application id 内部gradle

    PlayStore会检查应用程序的应用程序ID . 这应该是独特的,

    android{
        defaultConfig {
            applicationId "com.****.****" //cahnge this
            minSdkVersion 15
            targetSdkVersion 27
        }
    
    }
    

    After this Sync the project . Then

    1- Goto build >> Generate Signed Apk
    
    2- Create new key store path 
    
    3- Then enter keyStorePassword and Key Password and Create new APK
    

相关问题