Android App Compile Not Generating Package Resources

前端 未结 22 2069
借酒劲吻你
借酒劲吻你 2020-12-16 09:02

When attempting to compile my Xamarin.Android app I get the compile error:

Error 3 The file \"obj\\Debug\\android\\bin\\packaged_resources\" does no

22条回答
  •  执念已碎
    2020-12-16 09:59

    Got this error in Visual Studio 2017 Xamarin android project on Windows. After lot of experiments with resource's files I found, that filename length and extension of image file in the drawable folder affect the result of compillation!

    drawable/abcde.png - compilled ok
    drawable/abcdef.png - error, "obj\Debug\android\bin\packaged_resources" does not exist

    If rename image to file without .png extension, compilled without errors.

    Spended a lot of time and was confused :-/

提交回复
热议问题