question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android: Android.Content.Res.Resources+NotFoundException: String resource ID #0x7f0a0037

See original GitHub issue

🔙 Regression

At Android startup an exception has thrown and cause a crash since version 0.7.5: Android: Android.Content.Res.Resources+NotFoundException: String resource ID #0x7f0a0037

I checked MediaManager/Resources/Resource.design.cs and this resources should be in the package:

			// aapt resource value: 0x7f0a0037
			public static int wrap_content = 2131361847;

Old (and correct) behavior

No exception at startup

Current behavior

Big crash.

Reproduction steps

Update nuget package from 0.7.4 to 0.7.5 or 0.7.6

Configuration

VS 16.3 Preview 1,

Xamarin.Android SDK 9.5.0.27 (d16-3/16c4494) Xamarin.Android Reference Assemblies and MSBuild support. Mono: mono/mono/2019-02@e6f5369c2d2 Java.Interop: xamarin/java.interop/d16-3@5836f58 LibZipSharp: grendello/LibZipSharp/d16-3@71f4a94 LibZip: nih-at/libzip/rel-1-5-1@b95cf3f ProGuard: xamarin/proguard/master@905836d SQLite: xamarin/sqlite/3.27.1@8212a2d Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-3@cb41333

Version: 1.x Appeared in: 0.7.5, Also thron in: 0.7.6

Platform:

  • 📱 iOS
  • 🤖 Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • 📺 tvOS
  • 🐒 Xamarin.Forms

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
martijn00commented, Jul 29, 2019

If you use AAPT2 you should probably not enable multi dex. Lets close this one for now.

0reactions
adambarathcommented, Jul 29, 2019

May I close the issue or would you like to do further investigation?

Read more comments on GitHub >

github_iconTop Results From Across the Web

android.content.res.Resources$NotFoundException: String ...
I've been trying to make a simple program that fetches a small random number and displays it to the user in a textview....
Read more >
android.content.res.Resources$NotFoundException: String ...
android.content.res.Resources$NotFoundException: String resource ID #0x0. The app is crashing when I try to run it.
Read more >
android.content.res.Resources$NotFoundException: String ...
Unity expects a string called 'game_view_content_description' which is missed while bundling the app. Thus, resource not found exception ...
Read more >
android.content.res.Resources$NotFoundException - YouTube
Android : android. content. res. Resources $ NotFoundException : String resource ID #0x0 [ Beautify Your Computer ...
Read more >
String resource ID #0x1 in setText()
setText() method, the method assumes there is a string resource with that id. When it does not find the id, the method throws...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found