c# - Brand new Xamarin.Forms project: The file "obj\Debug\android\bin\packaged_resources" does not exist -
i installed visual studio 2017 , i'm trying work on xamarin.forms project. cloned existing repo , build , deploy ios app fine, when try build android app throws following error:
severity code description project file line suppression state error file "obj\debug\android\bin\packaged_resources" not exist. [solution name].android c:\program files (x86)\microsoft visual studio\2017\community\msbuild\xamarin\android\xamarin.android.common.targets 1794
everything works great in xamarin studio on mac.
i created clean xamarin.forms project in vs 2017 isolate particular solution issues , getting exact same error.
how can fix this?
this issue occurs when correct build tools aren't correctly installed.
open android sdk tools. here if using visual studio.
make sure have latest sdk tools, platform toosl , build tools. delete preview or old build tools. use rev. 25 ones. rev 24. had few issues, make sure uninstalled.
then make sure have correct sdk downloaded whatever trying compile for. e.g. 7.1, 7.0, 6.0 etc.
then near bottom have @ least
- android support library google
- usb driver
after install, close vs instances , start again.
Comments
Post a Comment