Xamarin - This release is not compliant with the Google Play 64-bit requirement

前端 未结 3 575
梦如初夏
梦如初夏 2021-01-01 12:13

I archived and deployed my apk in Visual Studio to the Google play store but it wouldn\'t let me continue with Beta rollout and the only message on the beta rollout page was

3条回答
  •  清酒与你
    2021-01-01 13:10

    Easiest Fix:

    Pay attention to the following screen because you may be looking for checkboxes but you won't see them, at least not until you click the last drop-down.

    1. Make sure you've changed your solution to "Release"
    2. Right-click on Android project
    3. Click "Properties"
    4. Choose "Android Options" on the left
    5. At the bottom of the page click "Advanced"
    6. Click the dropdown under "Supported Architectures"
    7. Check armeabi-v7a and arm64-v8a

    Alternate (not suggested) Fix:

    To fix the error I unloaded my Android project and edited the csproj file.

    I changed my release config from this:

    
        false
        pdbonly
        true
        bin\Release
        prompt
        4
        true
        false
        true
      
    

    to this:

    
        false
        pdbonly
        true
        bin\Release
        prompt
        4
        true
        armeabi-v7a;arm64-v8a
        false
        true
        false
      
    

    Finally

    then after rebuild and re-upload I no longer get the error but I also realized I still couldn't finish the Beta deployment. Come to find out it was because I had other items on the left side of the page (grey checkmarks) that hadn't been completed.

    So in the end, maybe I could have ignored the warning but at least I resolved the issue anyway.

提交回复
热议问题