Adam
Adam

Reputation: 459

Visual Studio Xamarin not building Android packaged_resources is missing

I am using Visual Studio Community Edition 2015 with Xamarin and I can't run my Android project successfully. It doesn't look like the android objects are getting created in the \obj folder. An error gets thrown that the packaged_resources doesn't exist. I notice that alot of other files don't get created in the \obj folder. The Emulator starts fine, but my project is not loaded in the Emulator. So I wonder, does Xamarin not work with Visual Studio Community Edition? I don't see any minimum requirements on the Xamarin website.

Upvotes: 0

Views: 912

Answers (2)

Jon Douglas
Jon Douglas

Reputation: 13176

You are using a preview Android SDK build-tools version(preview 24) that we might not support quite yet :)

You can change your build-tools version via the $(AndroidSdkBuildToolsVersion) property.

i.e.

<AndroidSdkBuildToolsVersion>23.0.3</AndroidSdkBuildToolsVersion>

Further documentation

https://developer.xamarin.com/guides/android/under_the_hood/build_process/#Packaging_Properties

Upvotes: 2

cobey
cobey

Reputation: 1201

Xamarin is totally compatible with Visual Studio Community edition, so this may be indicative of a different problem. I can think of a few possible causes, but to confirm anything I would need to see a copy of the build log, preferably the full diagnostic variant.

If you are unsure on how to obtain this, there is a guide here: https://developer.xamarin.com/guides/android/troubleshooting/troubleshooting/#Diagnostic_MSBuild_Output

Thanks!

Upvotes: 0

Related Questions