Language change is working before uploading to Google Play Store but not after uploading to play store . Why?

后端 未结 2 1098
醉酒成梦
醉酒成梦 2021-02-18 15:47
  • In My Application There are two language.
  • If I download application from device which has English as default language.Then it is not changing to Chinese strings.x
2条回答
  •  情话喂你
    2021-02-18 16:21

    The problem is that you're using .aab file to publish app on play store . Which removes localization files based on the user's phone settings when it's been installing .

    To solve that you need to put this lines in your build.gradle file and try uploading again

    android {
    
      //... removed for brevity
      bundle {
    
         language {
           enableSplit = false
         }
       }
    }
    

    Link to refer

提交回复
热议问题