Warning major version 52 is newer than 51, the highest major version supported by this compiler

后端 未结 10 1572
北恋
北恋 2020-11-28 12:02

Basicly I\'m super newbie and started internship in IT company. I installed VS with Xamarin. The problem that I\'m facing is very frustrating. So even when i create empty pr

10条回答
  •  一向
    一向 (楼主)
    2020-11-28 12:24

    You have a bad proguard.jar file, you need to replace this .jar by a correct version. The steps below describing how to do that. Some colleagues had the same problem here.

    • Go to Preferences => SDK locations and copy the Android SDK location.
    • Go to that folder (mostly /Users/USERNAME/Library/Developer/Xamarin/android-sdk-macosx) and go to the folder tools/proguard/lib.
    • Here you find a proguard.jar.
    • Rename this to proguard_OLD.jar.
    • Download the last proguard file (like this one https://sourceforge.net/projects/proguard/files/)
    • Unzip and place the proguard.jar in the tools/proguard/lib folder
    • Rebuild your Project

    Everything should be fixed!

    You can find more info about the bug here:

    • https://releases.xamarin.com/technical-bulletin-android-sdk-build-tools-24/

提交回复
热议问题