I am following a youtube tutorial for integrating PlacesApi in my Xamarin.android
Project. I was using 28.0.0.1
version for support libraries and Android OS 8 (Oreo)
as Target Framework and in the tutorial, it was required to update the support libraries to latest 28.0.0.3
and set the target Framework as Android 9 (Pie)
.
When I update all my packages and set the target framework to Android 9, I got tons of build errors. Even if I install the PlacesApi
package, I can't reference it in any of my class. I know that these are compatibility issues but I have done almost everything like nuget-restore, deleting all the packages from Package Manager Console along with their dependencies but no luck. I am using mono.Android = 8.
Errors List:
1- The type or namespace name GoogleMap
could not be found (are you missing a using directive or an assembly reference?) - Note that I have already import the google.maps using "using" directive at the top.
2- The Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs
task could not be loaded from the assembly C:\Users[Username][Project Path]\packages\Xamarin.Build.Download.0.4.11\build\Xamarin.Build.Download.dll. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
3- The type or namespace name 'Gms' could not be found (are you missing a using directive or an assembly reference?)