Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

error: package android.support.v7.internal.widget.ActivityChooserModel does not exist

$
0
0

I just upgraded my project to Xamarin.Forms 2.3.0.49 and now I started getting these errors when I rebuild my Droid project:

 obj\Release\android\src\mono\android\support\v7\internal\widget\ActivityChooserModel_OnChooseActivityListenerImplementor.java:8: error: package android.support.v7.internal.widget.ActivityChooserModel does not exist
2016-06-29T04:11:05.9052860Z                android.support.v7.internal.widget.ActivityChooserModel.OnChooseActivityListener
2016-06-29T04:11:05.9052860Z                                                                       ^
2016-06-29T04:11:05.9209120Z          obj\Release\android\src\mono\android\support\v7\internal\widget\ActivityChooserModel_OnChooseActivityListenerImplementor.java:28: error: package android.support.v7.internal.widget does not exist
2016-06-29T04:11:05.9209120Z            public boolean onChooseActivity (android.support.v7.internal.widget.ActivityChooserModel p0, android.content.Intent p1)
2016-06-29T04:11:05.9209120Z                                                                               ^
2016-06-29T04:11:05.9209120Z          obj\Release\android\src\mono\android\support\v7\internal\widget\ActivityChooserModel_OnChooseActivityListenerImplementor.java:33: error: package android.support.v7.internal.widget does not exist
2016-06-29T04:11:05.9209120Z            private native boolean n_onChooseActivity (android.support.v7.internal.widget.ActivityChooserModel p0, android.content.Intent p1);
2016-06-29T04:11:05.9209120Z                                                                                         ^
2016-06-29T04:11:05.9209120Z          obj\Release\android\src\mono\android\support\v7\internal\widget\FitWindowsViewGroup_OnFitSystemWindowsListenerImplementor.java:8: error: package android.support.v7.internal.widget.FitWindowsViewGroup does not exist
2016-06-29T04:11:05.9209120Z                android.support.v7.internal.widget.FitWindowsViewGroup.OnFitSystemWindowsListener
2016-06-29T04:11:05.9209120Z                                                                      ^
2016-06-29T04:11:05.9209120Z          obj\Release\android\src\mono\android\support\v7\internal\widget\ViewStubCompat_OnInflateListenerImplementor.java:8: error: package android.support.v7.internal.widget.ViewStubCompat does not exist
2016-06-29T04:11:05.9209120Z                android.support.v7.internal.widget.ViewStubCompat.OnInflateListener
2016-06-29T04:11:05.9209120Z                                                                 ^
2016-06-29T04:11:05.9209120Z          obj\Release\android\src\mono\android\support\v7\internal\widget\ViewStubCompat_OnInflateListenerImplementor.java:28: error: package android.support.v7.internal.widget does not exist
2016-06-29T04:11:05.9209120Z            public void onInflate (android.support.v7.internal.widget.ViewStubCompat p0, android.view.View p1)
2016-06-29T04:11:05.9209120Z                                                                     ^
2016-06-29T04:11:05.9209120Z          obj\Release\android\src\mono\android\support\v7\internal\widget\ViewStubCompat_OnInflateListenerImplementor.java:33: error: package android.support.v7.internal.widget does not exist
2016-06-29T04:11:05.9209120Z            private native void n_onInflate (android.support.v7.internal.widget.ViewStubCompat p0, android.view.View p1);

In my Droid project I have the dependencies configured as follows:

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Android.Support.v7.AppCompat" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Android.Support.v7.CardView" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Android.Support.v7.MediaRouter" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Android.Support.v7.RecyclerView" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
  <package id="Xamarin.Forms" version="2.3.0.49" targetFramework="monoandroid60" />
</packages>

Which is exactly the same version Xamarin.Forms 2.3.0.49 asks.

Any idea of why it complains about theses classes not found?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>