androiduploadapkxiaomi

Xiaomi's GetApps Console says "The package name does not match, please upload the Apk file with the same name as the created package". They are same."


Trying to upload an apk to the Xiaomi app store and Xiaomi's GetApps Console says "The package name does not match, please upload the Apk file with the same name as the created package". But they ARE the same. Been at this for a long time. Anyone uploaded to these guys before? Is there something about this I'm missing here? Package name is com.example.myApp and apk is com.example.myApp.apk

Tried uploading the same apk that other app stores were fine with. Result: GetApps Console says "The package name does not match, please upload the Apk file with the same name as the created package" I tried making an apk for them with a modified gradle build file that made sure package name and apk name were the same. Result: Same error message.


Solution

  • i had the same issue, I found the solution. 1 of all you should know your package name - as u said u have it "com.example.myApp" (u can check it into AndroidMainfest.xml (reactNative) package="xxx.xxxxx.xxxx"

    2 When u create the App into Mi developer Console (https://global.developer.mi.com). Here you need to fill 3 fields:

    3 optional, but i renamed .apk file to the same as package name "com.example.myApp.apk" - but dont thin so its necessary :)

    4 and try to upload this .apk into "App release" tab

    I think it will help you