Has anyone see this issue, know if its a new bug, or if it's something in my system's cache? I appreciate any assistance as this is a show-stopper for our project.
Android.Content.Res.Resources+NotFoundException: 'String resource ID #0x7f0c0001'
Shortly after upgrading from VS v16.7.2 to v16.7.5 I started to get the error in my Android project's
OnCreate method in the
base.OnCreate(bundle). The odd thing is, the Pull Request for this branch doesn't show any resource changes in the Android project.
Just to prove it was not the new branch, I created a new folder using the
develop branch and I get the same error after just a few rebuilds which did not happen before.
I've tried the following which worked for a little bit, and now it throws the error every time.
binfolders and rebuild (with VS restart)
git clean -fxd(with VS closed)
The Resource ID
0x7F0C0001 points to:
// aapt resource value: 0x7F0D0001 public const int abc_action_bar_up_description = 2131558401;
I performed a file search for the const associated with the hex-value. The const has different values being generated across each of the files in the
Why would this happen?
Resource.Designer.csin \droid\Resources is different than the
R.java- Same value in some files
R.txt- Different value in all of them
Microsoft Visual Studio Enterprise 2019 v16.7.5 VisualStudio.16.Release/16.7.5+30523.141 Microsoft .NET Framework Version 4.8.03752 Mono Debugging for Visual Studio 16.7.5 (112c7bc) Support for debugging Mono processes with Visual Studio. Xamarin 16.7.000.452 ([email protected]) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android. Xamarin Designer 220.127.116.115 (remotes/origin/[email protected]) Visual Studio extension to enable Xamarin Designer tools in Visual Studio. Xamarin Templates 16.7.85 (1bcbbdf) Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms. Xamarin.Android SDK 18.104.22.168 (d16-7/025fde9) Xamarin.Android Reference Assemblies and MSBuild support. Mono: 83105ba Java.Interop: xamarin/java.interop/[email protected] ProGuard: Guardsquare/proguard/[email protected] SQLite: xamarin/sqlite/[email protected] Xamarin.Android Tools: xamarin/xamarin-android-tools/[email protected]