Xamarin Support Package error

笑着哭i 提交于 2019-12-02 09:06:25

Delete all from the path: C:\Users\USERNAME\AppData\Local\Xamarin Folders and Zip files. And then rebuild your project.

Launch Android SDK Manager from Visual Studio

To launch the Android SDK on Windows, navigate to the Tools > Android menu and select Open Android SDK Manager.

The SDK Manager window will open.

You can use this Android SDK manager to select tools, documentation, and the SDK that you wish to download or update.

Ref: https://developer.xamarin.com/recipes/cross-platform/ide/launch_sdk_manager/

After ensuring everything is update in Android SDK:

1) Delete the "21.0.3" folder within in your AppData dir (reference your error)

2) Rebuild your application.

Download android_m2repository_r25.zip related to API Level 21.0.3 and putit on this path C:\Users\USERNAME\AppData\Local\Xamarin Folders and Zip and extract it.

i hope it will work.

Vahidshirzadi

1: Download "https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip" into your (mediafire.com or other upload center websites)

2: Download "android_m2repository_r22.zip" from your mediafire panel into your computer

3: Rebuild your solution to get list of error codes

4: Find error(Error Reason: "C:\Users\Vahid\AppData\Local\Xamarin\zips\96659D653BDE0FAEDB818170891F2BB0.zip" is not a valid zip file)

5: Copy your android_m2repository_r22.zip into "C:\Users\Vahid\AppData\Local\Xamarin\zips\" directory

6: Rename "android_m2repository_r22.zip" to "96659D653BDE0FAEDB818170891F2BB0.zip"

7: Rebuild your solution

8: Enjoy xamarin form.

List of md5 name for your download file are available in "https://developer.xamarin.com/guides/android/troubleshooting/resolving-library-installation-errors/#Manually_Downloading_m2repository"

check https://stackoverflow.com/a/38367810/2920206

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!