We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Error when updating target framework to Android 10.0 (Q)

Hello

I have an error message when changing the target framework from Android 9.0 (Pie) to Android 10.0 (Q),
I use version 18.1.0.59

The message is :
"Severity Code Description Project  File  Line  Suppression State Error Can not resolve reference: `Xamarin.Android.Support.v7.AppCompat`, referenced by `Syncfusion.Buttons.XForms.Android`. Please add a NuGet package or assembly reference for `Xamarin.Android.Support.v7.AppCompat`, or remove the reference to `Syncfusion.Buttons.XForms.Android`."

how resolve this error ? Do I have to migrate to Androidx ?
please help    

thanks, regards



Attachment: Capture_4190d816.zip

6 Replies 1 reply marked as answer

SS Sridevi Sivakumar Syncfusion Team July 24, 2020 12:46 PM UTC

Hi arditaridya,


Greetings from Syncfusion. 

We would like to let you know that our SfButton is compatible with AndroidX support. we have provided minimum version support for Xamarin Forms (3.6.0.344457) so that only a few dependencies are not referenced from AndroidX when you are working with Xamarin. Forms 4.5 version above. So, it throws the error related with required dependent package version of Xamarin.Android. Support.v7.AppCompat.

We also have been planning to upgrade our source control XF to the latest and during that period It will be resolved and that will be planned to move for any of our upcoming releases.

 To resolve this, please add that package (Xamarin.Android. Support.v7.AppCompat) manually.
 
 
Regards,
Sridevi S. 



AR Andreas Reitberger replied to Sridevi Sivakumar August 22, 2020 11:19 AM UTC

Hi arditaridya,


Greetings from Syncfusion. 

We would like to let you know that our SfButton is compatible with AndroidX support. we have provided minimum version support for Xamarin Forms (3.6.0.344457) so that only a few dependencies are not referenced from AndroidX when you are working with Xamarin. Forms 4.5 version above. So, it throws the error related with required dependent package version of Xamarin.Android. Support.v7.AppCompat.

We also have been planning to upgrade our source control XF to the latest and during that period It will be resolved and that will be planned to move for any of our upcoming releases.

 To resolve this, please add that package (Xamarin.Android. Support.v7.AppCompat) manually.
 
 
Regards,
Sridevi S. 


Hi,
I'm facing the same issue for following packags.

- SfPullToRefresh
- SfComboBox
- SfAutoComplete
- SfButtons

Is there an ETA for this fix? Google Play doesn't allow apps to be uploaded with target version API 28 or less anymore (new apps maybe).
So I need to set the target version to API 29, which I can't because of the mentioned packages. 
Thank you!


HM Hemalatha Marikumar Syncfusion Team August 24, 2020 12:59 PM UTC

Hi arditaridya, 
 
Currently we have planned to move this for our Volume 3 , 2020 release which is expected to be rolled out by end of September 2020. 
 
Regards,
Hemalatha M.
 



SE Sebastian August 30, 2020 03:14 AM UTC

Hi, i have the same issue, i have already added that package (Xamarin.Android. Support.v7.AppCompat) manually.
But, when i crate the signed apk for testing on my phone, it can't be installed.
When i change the target framework to api 28, it works again.
I use vs2019 (with the last update) and SF 18.2.0.44.
How could i solve it?
thanks!



SS Sridevi Sivakumar Syncfusion Team August 31, 2020 12:55 PM UTC

Hi Sebastian,

We have checked the reported things and for resolving this AndroidX dependent issue instead of having that workaround (to update the required package), we will plan to move this to our source code by upgrading our XF version to 4.x. Currently we are in the phase of starting this. As we updated earlier, it will be available in our upcoming Volume 3,2020 release which is expected to be rolled out by end of September 2020.

Regards,
Sridevi S  
 



SM Saravanan Madheswaran Syncfusion Team October 6, 2020 03:20 PM UTC

Hi Sebastian, 
 
We are glad to announce that our Essential Studio 2020 Volume 3 release v18.3.0.35 is rolled out, it is available for download under the following link. And the reported AndroidX incompatible error was resolved.  
   
   
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
   
Regards,            
Saravanan

Marked as answer
Loader.
Up arrow icon