Android App Compile Not Generating Package Resources

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

    Encountered same issue in VS 2015 and Xamarin 7.2.0.7. In my case, the issue happened just suddenly, and turned out the issue caused by wrong element name in axml, traced using Tiago's answers above.

    So I didn't find the line Tiago mentioned with aapt.exe, but I then I tried to search for keyword failed in output. Then I found one telling me about margin. In android, margin is set using android:layout_margin. I played with element and forgot and put android:margin instead, thus also why it happened so sudden after so many successful run. Fixed it and the build succeeded.

提交回复
热议问题