Android App Compile Not Generating Package Resources

前端 未结 22 2114
借酒劲吻你
借酒劲吻你 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:46

    Same annoying problem with me! But I found a solution: read carefully this article: https://gxconsultancy.wordpress.com/2016/04/04/to-use-xamarin-or-not-to-us-xamarin/

    In short:

    • Make sure you have JDK 32bits version 8 at least - same for the JRE, included in the JDK installation kit from Oracle;

    • Set your project for using the Xamarin debugger (right-click your project, hit Properties / Android Options / Packaging / Debugger);

    • And now the most weird: delete the app/Resources/drawable folder; have a working Xamarin project and copy its "drawable" folders to the erratic project (usually there are several subfolders, like drawable-hdpi, drawable-mdpi and so fort).

    • Rebuild your Android project.

提交回复
热议问题