简体   繁体   English

Visual Studio Xamarin未构建Android packaged_resources丢失

[英]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. 我正在将Visual Studio Community Edition 2015与Xamarin一起使用,但无法成功运行我的Android项目。 It doesn't look like the android objects are getting created in the \\obj folder. 看起来好像没有在\\ obj文件夹中创建android对象。 An error gets thrown that the packaged_resources doesn't exist. 抛出错误,指出packaged_resources不存在。 I notice that alot of other files don't get created in the \\obj folder. 我注意到在\\ obj文件夹中没有创建很多其他文件。 The Emulator starts fine, but my project is not loaded in the Emulator. Emulator启动正常,但是我的项目没有加载到Emulator中。 So I wonder, does Xamarin not work with Visual Studio Community Edition? 所以我想知道Xamarin是否不适用于Visual Studio Community Edition? I don't see any minimum requirements on the Xamarin website. 我在Xamarin网站上没有看到任何最低要求。

You are using a preview Android SDK build-tools version(preview 24) that we might not support quite yet :) 您正在使用我们可能尚不支持的预览版Android SDK build-tools版本(预览版24):)

You can change your build-tools version via the $(AndroidSdkBuildToolsVersion) property. 您可以通过$(AndroidSdkBuildToolsVersion)属性更改构建工具的版本。

ie

<AndroidSdkBuildToolsVersion>23.0.3</AndroidSdkBuildToolsVersion>

Further documentation 进一步的文件

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

Xamarin is totally compatible with Visual Studio Community edition, so this may be indicative of a different problem. Xamarin与Visual Studio Community版本完全兼容,因此这可能表明存在其他问题。 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 如果不确定如何获取此信息,请在此处找到指南: https : //developer.xamarin.com/guides/android/troubleshooting/troubleshooting/#Diagnostic_MSBuild_Output

Thanks! 谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2017 - Xamarin - 文件“obj \\ Debug \\ android \\ bin \\ packaged_resources”不存在 - Visual Studio 2017 - Xamarin - The file “obj\Debug\android\bin\packaged_resources” does not exist 什么是packaged_resources? - what is packaged_resources? 文件“obj \\ Debug \\ android \\ bin \\ packaged_resources”不存在Xamarin.Android - The file “obj\Debug\android\bin\packaged_resources” does not exist Xamarin.Android xamarin.android中的错误obj \\ Debug \\ android \\ bin \\ packaged_resources - error obj\Debug\android\bin\packaged_resources in xamarin.android 在Visual Studio 2013中使用Visual Studio Tools for Apache Cordova构建Android Emulator时无法加载资源 - Failing to load resources when building for Android Emulator using Visual Studio Tools for Apache Cordova in Visual Studio 2013 使用 Xamarin 在 Visual Studio 2013 中缺少 Android 3.1 SDK - Missing Android 3.1 SDK in Visual Studio 2013 using Xamarin Xamarin - 该项目缺少构建所需的 Android SDK - Xamarin - The project is missing Android SDKs required for building Xamarin Visual Studio中没有Android工具 - No Android Tools in Xamarin Visual Studio Visual Studio Xamarin Android SDK - Visual studio Xamarin Android SDK 在Visual Studio 2017更新到15.8.1 / 15.8.2之后的Xamarin Android App项目构建问题 - Xamarin Android App Project Building Issue after Visual Studio 2017 Update to 15.8.1/15.8.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM