app crash on start-up and a new created app is failing on deploy.

1oOXx0 1 Reputation point
2021-03-12T13:15:32.73+00:00

hello all...

on a newly install of a visual studio Xamarin,
my existing app crash on app start-up with no errors,
on newly created Xamarin. Forms the deployment is failing but build succeed.
i have tried to reinstall android sdk tools and to select the fix option.

(on vs installation: only Xamarin where selected)

1: xamarin Diagnostic Build
2: Debug output
3: Debug Build
4: Build
5: vs system information
6: crash - device log

---------------------//// xamarin Diagnostic Build

[D:]: $(MonoAndroidToolsDirectory) path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android is valid
[D:]: $(MonoAndroidBinDirectory) path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android is valid
[D:]: mscorlib.dll path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0 is valid
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Version.txt exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Version exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\Version.txt exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\Version exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Version.txt exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Version exists=True
[D:]: FindVersionFile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Version, result=True
[I:]: Found Xamarin.Android 11.2.0.21
[I:sdk]: Runtime path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android
[I:sdk]: Framework path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0
[D:]: ValidateAndroidSdkLocation: , result=False [D:]: ValidateAndroidSdkLocation: `C:\Program Files (x86)\Android\android-sdk`, result=True [D:]: ValidateJavaSdkLocation:, result=False
[D:]: ValidateJavaSdkLocation: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25, result=True
[D:]: ValidateAndroidNdkLocation: , result=False [D:]: ValidateAndroidNdkLocation:, result=False
[I:]: Looking for Android NDK...
[I:]: Looking for Android SDK...
[I:]: Tracking android devices started
[D:]: TrackDeviceTask got: VTJBBBA610600587 device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: VTJBBBA610600587 getprop
[D:]: Tracking avd started
[D:]: avd watcher *.ini path: 'C:\Users\yaniv.android\avd'
[D:]: avd watcher: got device list from avd with 0 devices
[D:]: ValidateAndroidSdkLocation: C:\Program Files (x86)\Android\android-sdk, result=True
[D:]: ValidateJavaSdkLocation: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25, result=True
[D:]: ValidateAndroidNdkLocation: , result=False [D:]: ValidateAndroidNdkLocation:, result=False
[I:]: Looking for Android NDK...
[I:]: Looking for Android SDK...
[D:]: $(MonoAndroidToolsDirectory) path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android is valid
[D:]: $(MonoAndroidBinDirectory) path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\ is valid
[D:]: mscorlib.dll path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0 is valid
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Version.txt exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Version exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\Version.txt exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\Version exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Version.txt exists=False
[D:]: GetSdkPath C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Version exists=True
[D:]: FindVersionFile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Version, result=True
[I:]: Found Xamarin.Android 11.2.0.21
[I:]: Looking for Android SDK...
[D:]: ValidateAndroidSdkLocation: C:\Program Files (x86)\Android\android-sdk, result=True
[D:]: ValidateAndroidSdkLocation: C:\Program Files (x86)\Android\android-sdk, result=True
[D:]: ValidateAndroidSdkLocation: C:\Program Files (x86)\Android\android-sdk, result=True
[W:]: AutoSdk cannot resolve dependencies: platforms/android-30, build-tools/30.0.2@30.0.2, cmdline-tools/2.1@2.1

------------------------- Debug output

Start debugging Android application ...

am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "tk.watchful.ravin/crc64be83fdc7bffba9e4.SplashActivity"
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=tk.watchful.ravin/crc64be83fdc7bffba9e4.SplashActivity }

Android application is running (debug is disabled in android project properties).

-------------------------- Debug Build

Build started...
1>Starting deployment to HUAWEI TAG-L22 ...
1>Deploying to HUAWEI TAG-L22 ...
Build started.
Project "watchful_raven.Android.csproj" (Install target(s)):
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
PackageName: tk.watchful.ravin
Dex Fast Deployment Enabled: False
MonoAndroid Tools: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\
Android Platform API level: 29
TargetFrameworkVersion: v10.0
Android NDK:
Android SDK: C:\Program Files (x86)\Android\android-sdk\
Android SDK Build Tools: C:\Program Files (x86)\Android\android-sdk\build-tools\30.0.2\
Java SDK: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\
Application Java class: android.app.Application
Project "watchful_raven.csproj" (GetTargetFrameworks target(s)):
Done building project "watchful_raven.csproj".
Project "watchful_raven.csproj" (GetTargetPath target(s)):
Done building project "watchful_raven.csproj".
Project "watchful_raven.csproj" (GetNativeManifest target(s)):
Done building project "watchful_raven.csproj".
Found conflicts between different versions of "Microsoft.CSharp" that could not be resolved.
There was a conflict between "Microsoft.CSharp, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
"Microsoft.CSharp, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was chosen because it was primary and "Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was not.
References which depend on "Microsoft.CSharp, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0\Microsoft.CSharp.dll].
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0\Microsoft.CSharp.dll
Project file item includes which caused reference "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0\Microsoft.CSharp.dll".
Microsoft.CSharp
References which depend on "Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [].
D:\MyCode\Mobile\Production\Watchful Rven\MOBILE APP\watchful_raven\watchful_raven\bin\Debug
etstandard2.0\watchful_raven.dll
Project file item includes which caused reference "D:\MyCode\Mobile\Production\Watchful Rven\MOBILE APP\watchful_raven\watchful_raven\bin\Debug
etstandard2.0\watchful_raven.dll".
D:\MyCode\Mobile\Production\Watchful Rven\MOBILE APP\watchful_raven\watchful_raven\bin\Debug
etstandard2.0\watchful_raven.dll
Skipping target "_VerifyXamarinAndroidSupportVersions" because all output files are up-to-date with respect to the input files.
Skipping target "_ResolveLibraryProjectImports" because all output files are up-to-date with respect to the input files.
Skipping target "_BuildLibraryImportsCache" because all output files are up-to-date with respect to the input files.
Skipping target "_GenerateAndroidResourceDir" because all output files are up-to-date with respect to the input files.
Skipping target "_GenerateLayoutBindings" because it has no outputs.
Skipping target "_AndroidXJetifyEmbeddedFiles" because all output files are up-to-date with respect to the input files.
Skipping target "_ConvertResourcesCases" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileResources" because all output files are up-to-date with respect to the input files.
Skipping target "_PrepareUpdateAndroidResgen" because all output files are up-to-date with respect to the input files.
Checking Android SDK Build-tools version...
Selected Android SDK Build Tools Path: C:\Program Files (x86)\Android\android-sdk\build-tools\30.0.2\
Selected Android SDK Build Tools Version: 30.0.2
Android SDK Build Tools Version: 30.0.2 meets minimum requirements for Vector Drawables. OK.
Finished Checking Android SDK Build-tools version.
Skipping target "_UpdateAndroidResgen" because all output files are up-to-date with respect to the input files.
Touching "obj\Debug\100\stamp_AndroidXJetifyEmbeddedFiles.stamp".
Adding assembly reference for watchful_raven.Android, recursively...
Adding assembly reference for System.Reflection.Extensions, recursively...
Adding assembly reference for System.Net.Http, recursively...
Adding assembly reference for System.Runtime.Serialization, recursively...
Adding assembly reference for System.ServiceModel.Internals, recursively...
Adding assembly reference for FormsViewGroup, recursively...
Adding assembly reference for Java.Interop, recursively...
Adding assembly reference for Microsoft.CSharp, recursively...
Adding assembly reference for Mono.Android, recursively...
Adding assembly reference for System.Drawing.Common, recursively...
Adding assembly reference for mscorlib, recursively...
Adding assembly reference for Newtonsoft.Json, recursively...
Adding assembly reference for netstandard, recursively...
Adding assembly reference for System.Data, recursively...
Adding assembly reference for System.Transactions, recursively...
Adding assembly reference for System.Data.DataSetExtensions, recursively...
Adding assembly reference for System.IO.Compression, recursively...
Adding assembly reference for System.IO.Compression.FileSystem, recursively...
Adding assembly reference for System.ComponentModel.Composition, recursively...
Adding assembly reference for System.Web.Services, recursively...
Adding assembly reference for Plugin.Connectivity.Abstractions, recursively...
Adding assembly reference for System.Threading.Tasks, recursively...
Adding assembly reference for System.Threading, recursively...
Adding assembly reference for Plugin.Connectivity, recursively...
Adding assembly reference for Plugin.Multilingual.Abstractions, recursively...
Adding assembly reference for System.Globalization, recursively...
Adding assembly reference for Plugin.Multilingual, recursively...
Adding assembly reference for Rg.Plugins.Popup, recursively...
Adding assembly reference for System.Collections, recursively...
Adding assembly reference for System.Diagnostics.Debug, recursively...
Adding assembly reference for System.Reflection, recursively...
Adding assembly reference for System.Runtime.Extensions, recursively...
Adding assembly reference for System.Linq, recursively...
Adding assembly reference for Rg.Plugins.Popup.Droid, recursively...
Adding assembly reference for SQLite-net, recursively...
Adding assembly reference for SQLitePCLRaw.batteries_v2, recursively...
Adding assembly reference for SQLitePCLRaw.core, recursively...
Adding assembly reference for SQLitePCLRaw.lib.e_sqlite3.android, recursively...
Adding assembly reference for SQLitePCLRaw.provider.e_sqlite3, recursively...
Adding assembly reference for System.Buffers, recursively...
Adding assembly reference for System.Core, recursively...
Adding assembly reference for System, recursively...
Adding assembly reference for Mono.Security, recursively...
Adding assembly reference for System.Memory, recursively...
Adding assembly reference for System.Numerics, recursively...
Adding assembly reference for System.Numerics.Vectors, recursively...
Adding assembly reference for System.Runtime.CompilerServices.Unsafe, recursively...
Adding assembly reference for System.Runtime, recursively...
Adding assembly reference for System.Xml, recursively...
Adding assembly reference for System.Xml.Linq, recursively...
Adding assembly reference for watchful_raven, recursively...
Adding assembly reference for Xamarin.Android.Arch.Core.Common, recursively...
Adding assembly reference for Xamarin.Android.Arch.Core.Runtime, recursively...
Adding assembly reference for Xamarin.Android.Arch.Lifecycle.Common, recursively...
Adding assembly reference for Xamarin.Android.Arch.Lifecycle.LiveData.Core, recursively...
Adding assembly reference for Xamarin.Android.Arch.Lifecycle.LiveData, recursively...
Adding assembly reference for Xamarin.Android.Arch.Lifecycle.Runtime, recursively...
Adding assembly reference for Xamarin.Android.Arch.Lifecycle.ViewModel, recursively...
Adding assembly reference for Xamarin.Android.Support.Animated.Vector.Drawable, recursively...
Adding assembly reference for Xamarin.Android.Support.Annotations, recursively...
Adding assembly reference for Xamarin.Android.Support.AsyncLayoutInflater, recursively...
Adding assembly reference for Xamarin.Android.Support.Collections, recursively...
Adding assembly reference for Xamarin.Android.Support.Compat, recursively...
Adding assembly reference for Xamarin.Android.Support.CoordinaterLayout, recursively...
Adding assembly reference for Xamarin.Android.Support.Core.UI, recursively...
Adding assembly reference for Xamarin.Android.Support.Core.Utils, recursively...
Adding assembly reference for Xamarin.Android.Support.CursorAdapter, recursively...
Adding assembly reference for Xamarin.Android.Support.CustomTabs, recursively...
Adding assembly reference for Xamarin.Android.Support.CustomView, recursively...
Adding assembly reference for Xamarin.Android.Support.Design, recursively...
Adding assembly reference for Xamarin.Android.Support.DocumentFile, recursively...
Adding assembly reference for Xamarin.Android.Support.DrawerLayout, recursively...
Adding assembly reference for Xamarin.Android.Support.Fragment, recursively...
Adding assembly reference for Xamarin.Android.Support.Interpolator, recursively...
Adding assembly reference for Xamarin.Android.Support.Loader, recursively...
Adding assembly reference for Xamarin.Android.Support.LocalBroadcastManager, recursively...
Adding assembly reference for Xamarin.Android.Support.Media.Compat, recursively...
Adding assembly reference for Xamarin.Android.Support.Print, recursively...
Adding assembly reference for Xamarin.Android.Support.SlidingPaneLayout, recursively...
Adding assembly reference for Xamarin.Android.Support.SwipeRefreshLayout, recursively...
Adding assembly reference for Xamarin.Android.Support.Transition, recursively...
Adding assembly reference for Xamarin.Android.Support.v4, recursively...
Adding assembly reference for Xamarin.Android.Support.v7.AppCompat, recursively...
Adding assembly reference for Xamarin.Android.Support.v7.CardView, recursively...
Adding assembly reference for Xamarin.Android.Support.v7.MediaRouter, recursively...
Adding assembly reference for Xamarin.Android.Support.v7.Palette, recursively...
Adding assembly reference for Xamarin.Android.Support.v7.RecyclerView, recursively...
Adding assembly reference for Xamarin.Android.Support.Vector.Drawable, recursively...
Adding assembly reference for Xamarin.Android.Support.VersionedParcelable, recursively...
Adding assembly reference for Xamarin.Android.Support.ViewPager, recursively...
Adding assembly reference for Xamarin.AndroidX.Activity, recursively...
Adding assembly reference for Xamarin.AndroidX.Annotation, recursively...
Adding assembly reference for Xamarin.AndroidX.AppCompat.AppCompatResources, recursively...
Adding assembly reference for Xamarin.AndroidX.AppCompat, recursively...
Adding assembly reference for Xamarin.AndroidX.Arch.Core.Common, recursively...
Adding assembly reference for Xamarin.AndroidX.Arch.Core.Runtime, recursively...
Adding assembly reference for Xamarin.AndroidX.AsyncLayoutInflater, recursively...
Adding assembly reference for Xamarin.AndroidX.Browser, recursively...
Adding assembly reference for Xamarin.AndroidX.CardView, recursively...
Adding assembly reference for Xamarin.AndroidX.Collection, recursively...
Adding assembly reference for Xamarin.AndroidX.CoordinatorLayout, recursively...
Adding assembly reference for Xamarin.AndroidX.Core, recursively...
Adding assembly reference for Xamarin.AndroidX.CursorAdapter, recursively...
Adding assembly reference for Xamarin.AndroidX.CustomView, recursively...
Adding assembly reference for Xamarin.AndroidX.DocumentFile, recursively...
Adding assembly reference for Xamarin.AndroidX.DrawerLayout, recursively...
Adding assembly reference for Xamarin.AndroidX.Fragment, recursively...
Adding assembly reference for Xamarin.AndroidX.Interpolator, recursively...
Adding assembly reference for Xamarin.AndroidX.Legacy.Support.Core.UI, recursively...
Adding assembly reference for Xamarin.AndroidX.Legacy.Support.Core.Utils, recursively...
Adding assembly reference for Xamarin.AndroidX.Legacy.Support.V4, recursively...
Adding assembly reference for Xamarin.AndroidX.Lifecycle.Common, recursively...
Adding assembly reference for Xamarin.AndroidX.Lifecycle.LiveData.Core, recursively...
Adding assembly reference for Xamarin.AndroidX.Lifecycle.LiveData, recursively...
Adding assembly reference for Xamarin.AndroidX.Lifecycle.Runtime, recursively...
Adding assembly reference for Xamarin.AndroidX.Lifecycle.ViewModel, recursively...
Adding assembly reference for Xamarin.AndroidX.Loader, recursively...
Adding assembly reference for Xamarin.AndroidX.LocalBroadcastManager, recursively...
Adding assembly reference for Xamarin.AndroidX.Media, recursively...
Adding assembly reference for Xamarin.AndroidX.MediaRouter, recursively...
Adding assembly reference for Xamarin.AndroidX.MultiDex, recursively...
Adding assembly reference for Xamarin.AndroidX.Palette, recursively...
Adding assembly reference for Xamarin.AndroidX.Print, recursively...
Adding assembly reference for Xamarin.AndroidX.RecyclerView, recursively...
Adding assembly reference for Xamarin.AndroidX.SavedState, recursively...
Adding assembly reference for Xamarin.AndroidX.SlidingPaneLayout, recursively...
Adding assembly reference for Xamarin.AndroidX.SwipeRefreshLayout, recursively...
Adding assembly reference for Xamarin.AndroidX.Transition, recursively...
Adding assembly reference for Xamarin.AndroidX.VectorDrawable.Animated, recursively...
Adding assembly reference for Xamarin.AndroidX.VectorDrawable, recursively...
Adding assembly reference for Xamarin.AndroidX.VersionedParcelable, recursively...
Adding assembly reference for Xamarin.AndroidX.ViewPager, recursively...
Adding assembly reference for Xamarin.Essentials, recursively...
Adding assembly reference for Xamarin.Forms.Core, recursively...
Adding assembly reference for Xamarin.Forms.Platform.Android, recursively...
Adding assembly reference for Xamarin.Forms.Platform, recursively...
Adding assembly reference for Xamarin.Forms.Xaml, recursively...
Adding assembly reference for Xamarin.Google.Android.Material, recursively...
Skipping target "_CopyConfigFiles" because it has no inputs.
Skipping target "_ConvertPdbFiles" because all output files are up-to-date with respect to the input files.
Skipping target "_LinkAssembliesNoShrink" because all output files are up-to-date with respect to the input files.
Skipping target "_CopyConfigFiles" because it has no inputs.
Skipping target "_AndroidXCecilfy" because all output files are up-to-date with respect to the input files.
Skipping target "_GenerateJavaStubs" because all output files are up-to-date with respect to the input files.
Skipping target "_ManifestMerger" because all output files are up-to-date with respect to the input files.
Skipping target "_ConvertCustomView" because all output files are up-to-date with respect to the input files.
Skipping target "_AndroidXJetifyManifest" because all output files are up-to-date with respect to the input files.
Skipping target "_AddStaticResources" because all output files are up-to-date with respect to the input files.
Skipping target "_GeneratePackageManagerJava" because all output files are up-to-date with respect to the input files.
Skipping target "_GenerateAndroidAssetsDir" because it has no outputs.
Skipping target "_PrepareCreateBaseApk" because all output files are up-to-date with respect to the input files.
Skipping target "_CreateBaseApk" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileJava" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileNativeAssemblySources" because all output files are up-to-date with respect to the input files.
Skipping target "_CreateApplicationSharedLibraries" because all output files are up-to-date with respect to the input files.
Skipping target "_AndroidXJetifyJavaLibraryRules" because it has no inputs.
Skipping target "_AndroidXJetifyProguardRules" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileToDalvik" because all output files are up-to-date with respect to the input files.
The TargetFrameworkVersion (Android API level 29) is lower than the targetSdkVersion (30). Please increase the $(TargetFrameworkVersion) or decrease the android:targetSdkVersion in the AndroidManifest.xml so that the API levels match.
Copying file from "D:\MyCode\Mobile\Production\Watchful Rven\MOBILE APP\watchful_raven\watchful_raven.Android\obj\Debug\100\android\bin\tk.watchful.ravin.apk" to "D:\MyCode\Mobile\Production\Watchful Rven\MOBILE APP\watchful_raven\watchful_raven.Android\bin\Debug\tk.watchful.ravin.apk".
Creating directory "bin\Debug\tk.watchful.ravin.apk.mSYM".
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\mono-symbolicate.exe store-symbols bin\Debug\tk.watchful.ravin.apk.mSYM obj\Debug\100\android\assets
Warning: Directory obj\Debug\100\android\assets contains Java.Interop.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains netstandard.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains SQLite-net.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains SQLitePCLRaw.batteries_v2.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains SQLitePCLRaw.core.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains SQLitePCLRaw.lib.e_sqlite3.android.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains SQLitePCLRaw.provider.e_sqlite3.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Buffers.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Collections.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Diagnostics.Debug.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Globalization.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Linq.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Memory.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Reflection.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Reflection.Extensions.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Runtime.CompilerServices.Unsafe.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Runtime.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Runtime.Extensions.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Threading.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains System.Threading.Tasks.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Arch.Core.Common.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Arch.Core.Runtime.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Arch.Lifecycle.Common.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Arch.Lifecycle.LiveData.Core.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Arch.Lifecycle.LiveData.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Arch.Lifecycle.Runtime.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Arch.Lifecycle.ViewModel.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Animated.Vector.Drawable.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Annotations.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.AsyncLayoutInflater.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Collections.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Compat.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.CoordinaterLayout.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Core.UI.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Core.Utils.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.CursorAdapter.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.CustomTabs.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.CustomView.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Design.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.DocumentFile.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.DrawerLayout.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Fragment.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Interpolator.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Loader.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.LocalBroadcastManager.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Media.Compat.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Print.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.SlidingPaneLayout.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.SwipeRefreshLayout.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Transition.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.v4.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.v7.AppCompat.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.v7.CardView.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.v7.MediaRouter.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.v7.Palette.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.v7.RecyclerView.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.Vector.Drawable.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.VersionedParcelable.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Android.Support.ViewPager.dll but no debug symbols file was found.
Warning: Directory obj\Debug\100\android\assets contains Xamarin.Forms.Platform.dll but no debug symbols file was found.
Creating "obj\Debug\100\android_debug_keystore.flag" because "AlwaysCreate" was specified.
C:\Program Files (x86)\Android\android-sdk\build-tools\30.0.2\zipalign.exe -p 4 "D:\MyCode\Mobile\Production\Watchful Rven\MOBILE APP\watchful_raven\watchful_raven.Android\obj\Debug\100\android\bin\tk.watchful.ravin.apk" "bin\Debug\tk.watchful.ravin-Signed.apk"
C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\bin\java.exe -jar "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\apksigner.jar" sign --ks "C:\Users\yaniv\AppData\Local\Xamarin\Mono for Android\debug.keystore" --ks-pass pass:android --ks-key-alias androiddebugkey --key-pass pass:android --min-sdk-version 21 --max-sdk-version 30 "D:\MyCode\Mobile\Production\Watchful Rven\MOBILE APP\watchful_raven\watchful_raven.Android\bin\Debug\tk.watchful.ravin-Signed.apk"
Signed android package 'bin\Debug\tk.watchful.ravin-Signed.ap

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JessieZhang-MSFT 7,711 Reputation points Microsoft Vendor
    2021-03-14T02:15:31.137+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    The TargetFrameworkVersion (Android API level 29) is lower than the targetSdkVersion (30). Please increase the $(TargetFrameworkVersion) or decrease the android:targetSdkVersion in the AndroidManifest.xml so that the API levels match.

    From the error log you posted , you can try to set the TargetFrameworkVersion to a higher version (e.g. android 11 or android 10), just as follows:

    77496-image.png

    Besides, we also should make sure the Target Android version is consistent with the TargetFrameworkVersion we set above, and the minimun Android version should be less or equal to the Target Android version . Of course, we usually set the minimun Android version to a lower value(e.g. android 5.0). In this way, our app can also be installed on the lower version of the phone.

    77452-image.png

    Best Regards,

    Jessie Zhang

    ---
    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.