Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

How to completely remove Xiaomi?

Discussion in 'Android' started by DarkDeivel, Oct 24, 2019.

  1. DarkDeivel

    DarkDeivel

    Joined:
    Aug 31, 2016
    Posts:
    127
    Hello! At the beginning of the development of the game for Android, for the sake of interest, I clicked the Add button on Xiaomi and then forgot about it, after completing the creation of the game when uploading to Google Play, I got warnings about AliPay. Having looked on the Internet, everyone said that it was connected with Xiaomi. In Build Settings, I clicked the "Remove" button and it seems that Xiaomi has left, I checked Android Manifest in Android Studio, I did not see any mention of Xiaomi and AliPay.
    Yesterday I made a release on Google Play and I got warnings, help !!

    ERRROR.PNG
     
  2. Deleted User

    Deleted User

    Guest

    Hi, the xiaomi package is just a package like others in package manager. Have you checked the `..\Packages\manifest.json` file and the `..\Library\PackageCache` folder`?
     
  3. DarkDeivel

    DarkDeivel

    Joined:
    Aug 31, 2016
    Posts:
    127
    Where can I check this? In the project, I do not have such folders.
     
  4. Deleted User

    Deleted User

    Guest

    Yes, in the project folder. Which version of Unity are you using?
     
  5. DarkDeivel

    DarkDeivel

    Joined:
    Aug 31, 2016
    Posts:
    127
    I don’t have these folders, maybe they were, maybe they disappeared when I clicked the "Remove" button in Build Settings. But as you can see from the Google Play warning, they found mentions of AliPay and Xiaomi in my APK file ...

    My version of Unity 2018 4.11f1
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Check to see if you have a UnityChannel folder. Make a back up, then delete it. Another (and unfortunately a bit heavy handed approach) would be to use a previous version of Unity, and create an empty project and make a snapshot. Then add Xiaomi Game Center from the Build dialog and save your project. Look for any differences.
     
  7. hossenshovon1

    hossenshovon1

    Joined:
    Apr 20, 2018
    Posts:
    3
    @DarkDeivel Was you able to solve this problem ? then please tell my how. I need your help
     
  8. DarkDeivel

    DarkDeivel

    Joined:
    Aug 31, 2016
    Posts:
    127
    Hey! The old version of Unity in Build Settings had a direct REMOVE XIAOMI button, I used it several times and the problem was solved. In the current versions of the Unity, there is no such button anymore.
     
  9. VenturaEstudio

    VenturaEstudio

    Joined:
    Aug 3, 2013
    Posts:
    1
    Hey man did you find the solution?