locked
After Adding Images in Resources Drawable Folder(PCL --> Android), I am getting these errors(142) RRS feed

  • Question

  • User338991 posted

    Including Image to the project leads to these errors. (lst1.png)

    Any help? Thanks in advance.

    Tuesday, October 17, 2017 9:39 AM

Answers

  • User338991 posted

    @DirkWilhelm @DarshanJS Updating Visual Studio to 15.4.1 fixed above errors. May be a bug and they fixed it now in their latest update.

    https://docs.microsoft.com/en-us/visualstudio/install/update-visual-studio

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, October 24, 2017 11:01 AM

All replies

  • User3516 posted

    It is hard to see, but is the name of yout image lowercase? All image names in the android resource folders need to be lowercase.

    Tuesday, October 17, 2017 12:11 PM
  • User338991 posted

    @DirkWilhelm

    Thanks for the reply and all the images which are included in lowercase.

    Error: No resource found that matches the given name (at 'src' with value '@drawable/icplaylight'). DataPersistenceApp.Android C:\Users\APPSTEK10\Desktop\Xamarin\DataPersistenceApp\DataPersistenceApp\DataPersistenceApp.Android\obj\Debug\resourcecache\3293A652C3B1CF65E6CE250B7091DB30\res\drawable C:\Users\APPSTEK10\Desktop\Xamarin\DataPersistenceApp\DataPersistenceApp\DataPersistenceApp.Android\obj\Debug\resourcecache\3293A652C3B1CF65E6CE250B7091DB30\res\drawable\mricplay_light.xml 20

    Tuesday, October 17, 2017 12:15 PM
  • User338991 posted

    @DirkWilhelm Any Help?

    Thanks in advance.

    Monday, October 23, 2017 6:49 AM
  • User325400 posted

    @RamprasadK said: in code behind whether you are giving full name of image like lst2.png or just lst2 if you are giving just lst2 please replace with full name

    Monday, October 23, 2017 7:13 AM
  • User338991 posted

    @DarshanJS i am calling with full name lst2.png

    If i add new images in Resources Drawable Folder, I am getting these errors.

    Monday, October 23, 2017 7:15 AM
  • User325400 posted

    @RamprasadK said: refer this link it may help you https://developer.xamarin.com/guides/android/troubleshooting/questions/appcompat-missing-actionModeShareDrawable/

    Monday, October 23, 2017 7:16 AM
  • User325400 posted

    @RamprasadK said: https://stackoverflow.com/questions/37780221/xamarin-no-resource-found-that-matches-the-given-names-appcompat

    https://components.xamarin.com/view/xamandroidsupportv7appcompat

    Monday, October 23, 2017 7:19 AM
  • User325400 posted

    @RamprasadK said: If you got any solution let me know.

    Monday, October 23, 2017 12:08 PM
  • User338991 posted

    @DirkWilhelm @DarshanJS Updating Visual Studio to 15.4.1 fixed above errors. May be a bug and they fixed it now in their latest update.

    https://docs.microsoft.com/en-us/visualstudio/install/update-visual-studio

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, October 24, 2017 11:01 AM
  • User385457 posted

    i have seem error -- Visual Studio 2019 v 16.0.3 any help plz?

    Friday, May 10, 2019 10:02 PM