I have a problem when I'm trying to run my program on my phone. I'm using Visual Studio 2015 and Xamarin for developing android app. I got this error :
error: package android.support.v4.widget.SwipeRefreshLayout does not exist android.support.v4.widget.SwipeRefreshLayout.OnRefreshListener
Here is my References Pic , I already added Xamarin.Android.Support.V4 and Xamarin.Android.Support.V13 and this is my SDK Manager Pic
Does anyone see anything that I missed?
A downloaded package (zip file) from Google is truncated/corrupt and does not inflate properly can cause this.
C:\Users\[YourUserID]\AppData\Local\Xamarin\Android.Support.v4\[Version])
You can delete those files, restart Visual Studio and perform a clean all/build all on your solution and those support files will be downloaded and cached from Google again.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.