android: Build fails first time after layout file changed and saved
Sometimes when I want to build and debug my project, it fails without any error in Output windows or in log files. Next time it works without issues.
This is how my output window looks:
1>------ Build started: Project: MyApp.Android, Configuration: Debug Any CPU ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
And that’s it. Note that I have it on a diagnostic verbosity.
Please let me know what can I do to get you more info, it’s happening quite often, but conditions are unknown.
Version Information
Microsoft Visual Studio Community 2017
Version 15.8.9
VisualStudio.15.Release/15.8.9+28010.2050
Microsoft .NET Framework
Version 4.7.03056
Installed Version: Community
ASP.NET and Web Tools 2017 15.8.05085.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services 15.8.31590
Provides languages services for ASP.NET Core Razor.
AWS Toolkit for Visual Studio 2017 1.14.4.1
AWS Toolkit for Visual Studio 2017.
Copyright 2011-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Release notes: https://aws-vs-toolkit.s3.amazonaws.com/versioninfo.html
This software includes third party software subject to the following copyrights:
- Logging from log4net, Apache License
[http://logging.apache.org/log4net/license.html]
- Putty for PPK to PEM conversion, MIT license
[http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html]
- NGit for AWS Elastic Beanstalk incremental push
[https://github.com/mono/ngit/blob/master/NGit.license.txt]
- NSch dependency for NGit
[https://github.com/mono/ngit/blob/master/NSch.license.txt]
- Sharpen dependency for NGit
[https://github.com/mono/ngit/blob/master/Sharpen/AssemblyInfo.cs]
- ICSharpCode.SharpZipLib dependency for NGit
[http://www.icsharpcode.net/opensource/sharpziplib/]
- Mono.Posix.dll and Mono.Security.dll dependencies for NGit
[http://mono-project.com/FAQ:_Licensing#Licensing]
- MPFProj for Visual Studio Project Framework
[http://mpfproj10.codeplex.com/license]
- JSON Checker for JSON validation
[http://www.raboof.com/projects/jsonchecker/]
- Newtonsoft Json.NET
[http://www.newtonsoft.com/json]
- YamlDotNet
[http://aaubry.net/pages/yamldotnet.html]
C# Tools 2.9.0-beta8-63208-01
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus 1.1.49 (remotes/origin/d15-8@ee674f3)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Mono Debugging for Visual Studio 4.11.11-pre (8fb558f)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
Visual Basic Tools 2.9.0-beta8-63208-01
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.2 for F# 4.5 15.8.0.0. Commit Hash: 55a3dc3231c95c77f81ee53f7d29152029da7408.
Microsoft Visual F# Tools 10.2 for F# 4.5
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 4.11.0.779 (d15-8@ff915e800)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 4.15.12 (d7ff6f39c)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 1.1.118 (4217ee9)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 9.0.0.19 (HEAD/a8a3b0ec7)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 12.1.0.15 (cbfb047)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 2
- Comments: 46 (22 by maintainers)
I would compare us to the last time you sent a bug to Android Studio and it actually got fixed. 16 months is less than infinity. 👀 😄
Congrats, it’s fixed in 16.5 stable release! It only took 16 months 🤣 Thanks anyway! 👍
@jonathanpeppers still happening in VS 16.3.0 … the only way out of this is to try build (or clean) again and again and again and again… about 10th attempt usually works.
It is so easy to reproduce. Why the discussion? If you are not able to reproduce, please say so, I am happy to let you remote control my pc and investigate if you like.
On Tue, Aug 13, 2019, 19:28 Jonathan Peppers notifications@github.com wrote:
I’m only writing here to get updates on the issue. Reported the same thing through Help/Send Feedback/Report a Problem in VS yesterday. @pjcollins you can close the report I made if you like.
@rihadavid sorry for the time it took to answer on developer community. We’re actively improving that now so timing should be much faster.