Visual Studio 2017 - Xamarin - The file “obj\Debug\android\bin\packaged_resources” does not exist

后端 未结 14 1801
自闭症患者
自闭症患者 2021-01-01 11:13

I\'m fighting with that issue for 2 days already and can\'t find any solution.

I have an Xamarin Android app in Visual Studio 2017 consisting of three projects:

相关标签:
14条回答
  • 2021-01-01 12:13

    Another reason for this error is that you may have a float number as your version number. In my case I changed it to a integer and everything worked fine. (I found the error by switching the build output to Detailed)

    0 讨论(0)
  • 2021-01-01 12:13

    Mine was a different solution (and only half a day lost): I was having trouble getting Hockey app to match crashes against the correct version of the app and realised it uses VersionCode not VersionName so I change my code to "0.0.34" the same as the name. For some still unknown reason the app built and deployed to devices for about 3 days before I started getting this error The file "obj\Debug\android\bin\packaged_resources" does not exist. Setting it back to a numeric value fixed the problem.

    I found the problem by looking back through my GIT logs and rebuild each push until I found the one that caused the problem.

    0 讨论(0)
提交回复
热议问题