updating xamarin.forms and xamarin.android - xamarin.android

I am developing in xamarin.forms for android and ios
I have upgrade to to latest xamarin.forms package 2.3.0.107 in the pcl and it works fine - no compilation errors.
when I try to upgrade the xamarin.android to the same version I get lots of packages error.
I have seen in some posts that there is not need to upgrade the xamarin.android because the xamarin.forms knows to take the latest / most suitable package of amarin.android. is it true ?
The default xamarin.android is from januray 2016 which is quite old...
Here are the list of errors I get...
Severity Code Description Project File Line Suppression State
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Vector.Drawable\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.CardView' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.3.0.0\embedded\libs/internal_impl-23.3.0.jar doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.Animated.Vector.Drawable' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Animated.Vector.Drawable\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.3.0.0\content directory. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Vector.Drawable\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Animated.Vector.Drawable\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.Animated.Vector.Drawable' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Animated.Vector.Drawable\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.RecyclerView' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.RecyclerView\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.RecyclerView' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.RecyclerView\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0\content directory. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Vector.Drawable\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.3.0.0\content directory. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.RecyclerView\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.3.0.0\content directory. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Animated.Vector.Drawable\23.3.0.0\content directory. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.3.0.0\content directory. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0\content directory. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.3.0.0\content directory. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.CardView' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.3.0.0\embedded\classes.jar doesn't exist. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.3.0.0\content directory. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.Vector.Drawable\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.3.0.0\content directory. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Android resource directory C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0\embedded\./ doesn't exist. SmartScout.Droid
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0\embedded\libs/internal_impl-23.3.0.jar doesn't exist. SmartScout.Droid
Error Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\asaf\AppData\Local\Xamarin\Xamarin.Android.Support.v7.RecyclerView\23.3.0.0\content directory. SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid
Error Reason: C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file SmartScout.Droid

Try erase this file
C:\Users\asaf\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip
and build again

The error message tells you pretty explicitly what the error is:
C:\Users\dev\AppData\Local\Xamarin\Android.Support.v4\21.0.3\android_m2repository_r10.zip is not a valid zip file How to fix it
Please download https://dl-ssl.google.com/android/repository/android_m2repository_r10.zip and extract it to the C:\Users\dev\AppData\Local\Xamarin\Android.Support.v4\21.0.3\content directory.

Related

Flutter iOS : Unable to read the license file `LICENSE` for the spec `Firebase (7.3.0)`; `GoogleUtilities (7.2.2)`

I use Flutter with xcode.
I get an error if I do $ flutter run ios
And i get error from my xcode
Podfile content
Error output from Xcode: ↳
/Users/username/Desktop/Projects/myprojectfolder/ios/Pods/FirebaseCoreDiagnostics/Firebase/CoreDiagnostics/FIRCDLibrary/FIRCoreDiagnostics.m:22:9: 'GoogleUtilities/GULAppEnvironmentUtil.h' file not found
Error in my Terminal: ↳
[!] Unable to read the license file `LICENSE` for the spec `Firebase (7.3.0)`
[!] Unable to read the license file `LICENSE` for the spec `GoogleUtilities (7.2.2)`
[!] Unable to read the license file `LICENSE` for the spec `Firebase (7.3.0)`
[!] Unable to read the license file `LICENSE` for the spec `GoogleUtilities (7.2.2)`
[!] [Xcodeproj] Generated duplicate UUIDs:
Please help me find a solution to my problem
This is an issue back then where some Firebase plugins needs to be installed a few versions lower. More information is discussed on this thread. Running pod deintegrate then pod install on the terminal also works on some, but it may vary depending on your setup.

Cocoapods error installing libopencv-contrib

I am using this opencv3 library for react native, but when I try to install IOS dependencies using pod install i recieve this error, can someone help me?
[!] Error installing libopencv-contrib
[!] /usr/bin/unzip /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip -d /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817
Archive: /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip or
/var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.zip, and cannot find /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.ZIP, period.
The following silly fix solved the issue for me:
run pod spec edit libopencv-contrib
locate the source url (a dropbox link)
replace ?dl=0 with ?dl=1
save the file && run pod install
Now the installation should complete without errors.

Unable to upload the Electron appx app to the MS app store

Bundle MSIX packages: I have created .msix package for windows App. I tried to submit in MS store, Please refer attachment for error:
As error mentioned, the existing uploaded package is in bundle format. and the package we created in .msix/appx format. Hence unable to upload this package to store.
We used the below reference to create the bundle. but no luck.
https://learn.microsoft.com/en-us/windows/msix/packaging-tool/bundle-msix-packages
shows below error:
MakeAppx : error: Bundle creation failed.
MakeAppx : error: 0x8051100f - The specified package format is not valid: The zip archive is missing the end of central directory marker.
We (at Advanced Installer) are working on dedicated support from bundles from Advanced Installer. If you are interested, email us at support#advancedinstaller.com and mention this thread, my colleagues can try to help you get this done.

I am getting an issue while using swift package manager

I am getting error
:0: error: no such file or directory: 'package'
why its happening.
It probably means that you did not install Swift Package Manager. Download it from https://swift.org/download/.

Qt directory error message-- error: +: No such file or directory

I am using Qt5. I have imported some external openCV libraries to my .pro file.
When I compile my program, I get only one error message saying "error: +: No such file or directory"
Does anybody perhaps know what this error means. If i click on it, it does not refer me to a line in my code so I'm not quite sure where my error is?
Thanks

Resources