Skip to main content

Questions tagged [build-error]

An error that occurs during the build process.

build-error
Filter by
Sorted by
Tagged with
215 votes
13 answers
112k views

What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn't?

I imported a Maven project and it used Java 1.5 even though I have 1.6 configured as my Eclipse default Preferences->Java->Installed JREs. When I changed the Maven project to use the 1.6 JRE ...
Chris Collins's user avatar
180 votes
30 answers
146k views

CocoaPods Errors on Project Build

I'm unable to build a project that uses CocoaPods. I get the following errors: diff: /../Podfile.lock: No such file or directory diff: Manifest.lock: No such file or directory error: The sandbox is ...
Undistraction's user avatar
94 votes
21 answers
185k views

how to fix the issue "Command /bin/sh failed with exit code 1" in iphone

I used a cocoa static library in my application. When I compile my library I got the following error: Shell Script invocation error:can't open input file: /Users/sijuthomas/Library/Developer/Xcode/...
Ben10's user avatar
  • 3,249
88 votes
24 answers
130k views

Android Studio 3.0 Execution failed for task: unable to merge dex

android studio was getting build error while build execution with following: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException:...
Anguraj's user avatar
  • 935
77 votes
2 answers
40k views

ERROR: No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin.findObfuscationTransformTask()

I am getting the following error while trying to build my project on Android Studio: ERROR: No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin.findObfuscationTransformTask() ...
M. Arabi Hasan Sakib's user avatar
56 votes
5 answers
31k views

Could not launch "<appName>" failed to get the task for process <processNumber>?

Using Xcode 4.5.2 and building for iOS4 or newer, I get this message when building for my device (iOS 6.0.1 on 4s). I dismiss the dialog then relaunch the app on my device which seems to work. I am ...
a-coder's user avatar
  • 661
34 votes
6 answers
24k views

Xcode 9.4 : unexpected service error: The Xcode build system has crashed

I’m getting strange error while building project in Xcode 9.4 Build system information - unexpected service error: The Xcode build system has crashed. Please close and reopen your workspace. I tried ...
Jayprakash Dubey's user avatar
34 votes
10 answers
21k views

Building Maui MS Tutorial App: Get error APT2260: resource mipmap/appicon and mipmap/appicon_round not found

Most of the posts I found related to this issue were created when Maui was still in beta. This issue affected the Android build only! The iOS build worked the first time. Following this Microsoft Maui ...
Chris Simeone's user avatar
31 votes
3 answers
26k views

Invalid value 'armeabi' in $(AndroidSupportedAbis). This ABI is no longer supported. Xamarin.Forms - VS2019

I have a Mobile App built with Xamarin.Forms when I am trying to upgrade my project from VS2017 to VS2019 I get this error in Android Project Invalid value 'armeabi' in $(AndroidSupportedAbis). ...
Anas Alweish's user avatar
  • 2,986
30 votes
3 answers
14k views

Why is dh_usrlocal throwing a build error?

I am trying to compile a deb package for my server. When I go to build, everything looks good until it gets to dh_usrlocal The build stops and make returns an error. The problem is I am trying this ...
AtomicPorkchop's user avatar
27 votes
9 answers
42k views

No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius')

Can anybody help why I am getting an error in the following? Error:(7, 41) No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius'). ...
Pavan Pyati's user avatar
26 votes
3 answers
72k views

'System' : a namespace with this name does not exist

I had a C++ project which was running perfectly. Now I copied the project to another folder and added the project to a WPF application solution. Now the C++ project is giving me lot of build errors. ...
Narendra's user avatar
  • 3,107
25 votes
6 answers
26k views

Build fails with "Command PrecompileSwiftBridgingHeader failed with a nonzero exit code"

I just insert the NVActivityIndicatorView library and then I remove this framework in to trash. When I build the project it's showing following image. Command PrecompileSwiftBridgingHeader failed ...
Krunal Nagvadia's user avatar
20 votes
4 answers
14k views

GenerateDSYMFile warning: unable to open object file

The background: I have a project that I last built on 10.5 on a PPC computer using xcode v3.1. It builds against the 10.4 SDK. I now have a MacBook with 10.6 on it and Xcode v3.2.1. I installed the 10....
regulus6633's user avatar
20 votes
4 answers
19k views

TFS 2010 build error - imported project "project_path" was not found

Have been trying to build a solution which contains a number of projects and keep getting a recurring error. I have managed to get the build to partially succeed but always get the error shown below: ...
CryoFusion87's user avatar
19 votes
3 answers
34k views

How to fix "Failed to notify build listener" error?

this error came up when turned on my PC. And opened the Android Studio. The Gradle build took longer than normal and when it finally built there was this error. It is may be caused by the wrong ...
Vendelín Filip's user avatar
18 votes
3 answers
15k views

How to accept Gradle ToS for `build --scan` automatically and still manage to run build without a scan?

I am using Gradle 4.6 which allows me to run build scans using the --scan option without having to explicitly apply or download extra plugins which is great. However this forces me to add the ...
naXa stands with Ukraine's user avatar
17 votes
7 answers
37k views

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift."

Ever since I've updated to Xcode 8.2 (GM seed, from the App Store), I have been stuck at the following error: Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured ...
Vatsal's user avatar
  • 18k
17 votes
2 answers
14k views

unittests fails on build server with Could not load type 'Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupBehavior

I got an assembly that builds and unit tests fine on my PC, but fails to test on the build PC. It has been failing for about a month. I've most likely done something wrong. Here is the response I get ...
kfn's user avatar
  • 659
15 votes
4 answers
3k views

Make Visual Studio (Express) stop compiling when something doesn't compile

If one project can't build, Visual Studio, by default, keeps right on trying to build all the other projects that depend on that project, and therefore gets stupid errors because those other projects ...
Joe White's user avatar
  • 96.6k
13 votes
3 answers
12k views

Xcode Workspace Build Error Sandbox: rsync(1900) deny(1) file-read-data

Forgive me for whoever sees this -- I am a new developer and cannot understand what I am missing here. When I build my Xcode workspace for my iPhone which includes ads from AdMob I get this single ...
phiziom's user avatar
  • 131
13 votes
1 answer
5k views

E/ModuleIdSetter: exception when setting module id. What does this error mean?

I was building an app on android studio and encountered this error E/ModuleIdSetter: exception when setting module id. I have no idea what this error is about and I would like to know what it is and ...
Wang Xing Peng's user avatar
12 votes
3 answers
16k views

Missing Microsoft.Data.Tools.Schema.Sql.UnitTesting. Again

The bug is very old but MS didn't fix it so far. I had a VS2015 solution (many projects, with main ASP.NET one) and I opened it in VS 2017. Here is what I saw when I tried to build it: So, I ...
AgentFire's user avatar
  • 9,453
11 votes
1 answer
6k views

Xcode -dynamic not specified static library error

I have a sub project within Xcode which creates a static library referenced by the parent project. All has been well until the release of iOS 7.1 and Xcode 5.1, suddenly I'm getting the following ...
Sammio2's user avatar
  • 7,432
10 votes
7 answers
95k views

Unable to build In unity : "UnityEditor.BuildPlayerWindow+BuildMethodException:" [closed]

The project runs just fine but I am unable to build it using build settings. Here's the error message: UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors at UnityEditor.BuildPlayerWindow+...
Prital Bamnodkar's user avatar
10 votes
3 answers
7k views

Error when building universal app for the store: "Manifest references file 'MyAppName.dll' which is not part of the payload."

I am having this error in Visual Studio 2015 when try to create app package for the store for a windows universal applicaiton: Manifest references file 'MyAppName.dll' which is not part of the ...
Nikolay Kostov's user avatar
10 votes
2 answers
11k views

Error with specflow in visual studio 2012 with <unitTestProvider>

I am using selenium, Specflow and nUnit to run automated tests with visual studio. The code was working with visual studio 2010. After I installed visual studio 2012, selenium and Specflow again (I ...
JoleG's user avatar
  • 101
10 votes
1 answer
5k views

rpmbuild error: command $`\r` not found

I'm running an rpm spec file, and encountering the following error: $ rpmbuild -ba gregorio.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dDWqRV + umask 022 + cd /home/cantanima/rpmbuild/BUILD +...
John Perry's user avatar
  • 2,577
10 votes
2 answers
12k views

Use JaCoCo in Android Project with Gradle

I have an android project with Gradle 5.1.1 I want to use JaCoCo to generate HTML reports about test code coverage. I tried to follow the instructions in some articles, but all of my attempts led to ...
Igor Lopatinkiy's user avatar
9 votes
2 answers
12k views

VS 2017 Build Errors - Duplicate Attributes in AssemblyInfo.cs

I am developing a web application which started life by running dotnet new angular (Clear blog explanation of usage). To extend the functionality of the default code I started developing a Web API. I ...
TDC's user avatar
  • 1,909
9 votes
3 answers
6k views

I have build errors with m2eclipse but not with maven2 on the command line - is my m2eclipse misconfigured?

I installed m2eclipse to build a java project in Eclipse. I imported the project as follows: Import-> Maven-> Existing Maven Projects-> Import Maven Projects-> - Select root directory - ...
Chris Collins's user avatar
9 votes
2 answers
10k views

How to treat a warning as an error in a Makefile?

Is it possible to treat warnings as errors in a Makfile (and thus exit before Makefile proceeds) Furthermore, is it possible to filter out which warning yields an error? My use case: I want to use --...
timotheecour's user avatar
  • 3,451
9 votes
1 answer
2k views

GenerateApplicationManifest error

My team and I get this error often but random and we're not sure why it does this. To get around it we either build the solution a couple of times of have to restart Visual Studio (10). Here's the ...
szubia's user avatar
  • 95
8 votes
2 answers
10k views

Adding a Configuration as a dependency is a confusing behavior which isn't recommended

I have encountered the following warning after trying to build my Kotlin project with Gradle 7. > Configure project :app Adding a Configuration as a dependency is a confusing behavior which isn't ...
Slazer's user avatar
  • 4,940
8 votes
2 answers
11k views

VS2010 throwing "Could not copy the file "obj\x86\Debug\[file].exe" because it was not found."

I'm writing a Windows Phone 8 game which requires a number of support desktop applications: level editors etc. Since I only have express versions of VS, I'm using 2010 for Windows Phone to create ...
Ben Pritchard's user avatar
8 votes
1 answer
20k views

VS 2017 c# Error CS0234 The type or namespace name does not exist in the namespace (are you missing an assembly reference?)

I have a Solution with multiple projects. I have correct build order and dependency. This project can be built on a different machine with the exact same version of Visual Studio 2017 (26430.13). The ...
David Dietrich's user avatar
8 votes
1 answer
1k views

Docker Multi-stage Builds and Test results - How to get them?

Apparently, all articles I found about multi-stage builds cover the happy path. But how to get the test results (e.g. unit or acceptance tests) out of a builder-container when something fails?
Arman's user avatar
  • 891
7 votes
6 answers
18k views

Method not found: 'System.IServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider'

In my Main method of .net Core app Iam getting this error and I dunno where should I look for solution. this is my main method: public static void Main(string[] args) { var host = new ...
Daniel Rusnok's user avatar
7 votes
6 answers
18k views

No Output Directory named "build" found after the Build completed. You can configure the Output Directory in your Project Settings

Error: No Output Directory named "build" found after the Build completed. You can configure the Output Directory in your Project Settings. i got this error here is my repository https://...
Excell's user avatar
  • 73
7 votes
1 answer
2k views

Why does Flask's url_for throw an error when using a decorator on that item in Python?

I am creating a Python Flask app and created the decorator and views below. The decorator works great when viewing the index, but when you logout and it redirects using the url_for index it throws a ...
chromedude's user avatar
  • 4,294
7 votes
4 answers
4k views

Xamarin.Forms Failed to resolve 'System.Net.Http.HttpClientHandler'

The project was working fine before just I reinstalled the OS and Visual Studio, when I build the project this error is showing. "Failed to resolve 'System.Net.Http.HttpClientHandler' from 'Mono....
Walid Moheyeldin's user avatar
7 votes
4 answers
6k views

Error: Method not found: 'guardWebExceptions'. return internals.guardWebExceptions

I am getting the below error while I am running the flutter run , If anyone can help that will be very helpful for me. ../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_web-3....
Sanchit's user avatar
  • 71
7 votes
3 answers
2k views

Expo - Android build error - package R does not exist

Expo build error Image I'm trying to build android apk, but expo show this error like image above, i dont' know how to fix this, i don't have Android folder so i cannot change anything inside Thank ...
Thằng Duy's user avatar
7 votes
1 answer
456 views

Xcode 7.1 PrototypeTools Linker Error (on simulator only)

I'm trying to run my app in the iOS simulator using Xcode 7.1, but I'm getting a linker error. This is the error: ld: file not found: /System/Library/PrivateFrameworks/PrototypeTools.framework/...
Charles's user avatar
  • 4,470
6 votes
5 answers
25k views

How to solve 'duplicate symbols for architecture arm64' error?

When I try running my Xcode Project it fails with an error stating that I have duplicate symbols. Below is the way I sovled this error. Hope to help you~ The error info: From the error info I found ...
Michael Yang's user avatar
  • 1,433
6 votes
3 answers
3k views

Building Mercurial 1.3.1 on Ubuntu Linux

I'm attempting to build mercurial 1.3.1. I've attempted this thus far on my Mac OS X machine and on a Linux Ubuntu virtual machine that I'm running. I keep getting errors while running the make. I ...
Frank V's user avatar
  • 25.3k
6 votes
4 answers
10k views

Error: The assembly "c:\MyAssembly.dll" could not be converted to a type library

I'm trying to build my project and I've suddenly started getting the following error when the project builds and the "Register for COM interop" property is ticked. The assembly "c:\MyAssembly.dll" ...
Justin's user avatar
  • 86.1k
6 votes
1 answer
2k views

I got "Error: packageJSON.main must be set to a valid entry point for your Electron app" when building with electron forge

I was building with electron forge and then it gave me this error in my terminal. An unhandled rejection has occurred inside Forge: Error: packageJSON.main must be set to a valid entry point ...
thekingistheruler's user avatar
6 votes
3 answers
7k views

Xaml Internal Error error WMC9999

I was working on a resw file to enter my uwp app strings but after I finished the resw file when i wanted to build app it shows me the error that listed above : C:\Program Files (x86)\MSBuild\...
Amir Esmaeili's user avatar
6 votes
2 answers
6k views

The type library importer encountered an error during type verification

I am writing a C# application which has several COM references. When I attempt to build it I get the following error for some of them: c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common....
sourcenouveau's user avatar

1
2 3 4 5
14