Invalid SplitApkBundle. The bundle targets unknown languages: [gr]. google play console

后端 未结 7 1523
一整个雨季
一整个雨季 2020-12-09 16:01

Android app bundle upload failed with error

Invalid SplitApkBundle. The bundle targets unknown languages: [gr]

Androi

相关标签:
7条回答
  • 2020-12-09 16:05

    In my case, I was working with Localization and Translation also. It worked. no more code.

    Put this code in app-level build.gradle.

    android {
        bundle {
            language {
                enableSplit = false
            }
        }
    
        ...
    
    }
    
    0 讨论(0)
  • 2020-12-09 16:10

    Switching to Facebook sdk version 5.13.0 solved the problem for me.

    implementation 'com.facebook.android:facebook-login:5.13.0'
    
    0 讨论(0)
  • 2020-12-09 16:17

    I had the same issue.
    Invalid SplitApkBundle. The bundle targets unknown languages:[cb]

    I solved by setting DSL to stop aapt package building the wrong language targets.

    My app supports English and Chinese, therefore resConfigs only needs en and zh.

    defaultConfig {
        ...
        resConfigs "en", "zh-rTW", "zh-rCN"
    }
    
    0 讨论(0)
  • 2020-12-09 16:18

    I had the same issue after downgrading facebook login implimentation to 5.8 it's fixed

    implementation 'com.facebook.android:facebook-login:5.8.0'
    
    0 讨论(0)
  • 2020-12-09 16:18

    I'm facing the same issue, I guess it is related to some resources added for Facebook's Account Kit (specifically the values inside /res/values-cb/values-cb.xml) I've tried uploading a version without this SDK and the playstore proccessed it properly

    0 讨论(0)
  • 2020-12-09 16:28

    Apply this to Android{}

    bundle {
        density {
            // Different APKs are generated for devices with different screen densities; true by default.
            enableSplit true
        }
        abi {
            // Different APKs are generated for devices with different CPU architectures; true by default.
            enableSplit true
        }
        language {
            // This is disabled so that the App Bundle does NOT split the APK for each language.
            // We're gonna use the same APK for all languages.
            enableSplit false
        }
    }
    
    0 讨论(0)
提交回复
热议问题