build-error

Error:Configuration with name 'default' not found when trying to import project as library into Android Studio

回眸只為那壹抹淺笑 提交于 2020-01-03 00:23:16
问题 I checked all the other threads about this topic but couldn't find an answer. I am trying to import the Twoway View Project as a library into Android Studio . Both projects run fine on their own but I always get the same Gradle Error: Error:Configuration with name 'default' not found when trying to import. I have the project copied into a " libraries " directory in the root folder of my project and the following gradle structure: settings.gradle of my project: include ':libraries:twoway-view

Linker command failed with exit code 1 (use -v to see invocation) with Swift 3

老子叫甜甜 提交于 2019-12-24 03:11:08
问题 I am working on building a Swift library and am hosting it on GitHub. All was going fine until I added BluetoothKit to the project. I then got an Apple Mach-O Linker Error: ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk/Developer/Library/Frameworks' ld: /Users/calebklevetertest/Library/Developer/Xcode/DerivedData/Napalm-dblvhbjdwovurocsvzrzaxzkjjyw/Build/Products/Debug

UnityEditor.BuildPlayerWindow+BuildMethodException?

僤鯓⒐⒋嵵緔 提交于 2019-12-23 15:12:34
问题 Anybody Knows how to solve the following error in unity3d ? UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00234] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:190 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods

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

点点圈 提交于 2019-12-23 12:25:22
问题 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 buildScan Terms of Service acceptance in my build.gradle file. like this: buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service' termsOfServiceAgree = 'yes' } When I subsequently run gradle build without the --scan option I get the following error message: > Could not find method buildScan

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

旧街凉风 提交于 2019-12-23 09:00:00
问题 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 --warn-undefined-variables in combination with this so that Makefile will exit when a variable is undefined, which is a very common source of error. Obviously I don't want to manually check for each variable as this is error-prone/tedious. I couldn't find anything on this, but it's a pretty

The type library importer encountered an error during type verification

…衆ロ難τιáo~ 提交于 2019-12-22 07:05:42
问题 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.targets(1418,9): error MSB3303: Could not resolve COM reference "70850f66-869f-44a0-88e7-b0460a7e3bf3" version 0.1. The type library importer encountered an error during type verification. Try importing without class members. The application is still built and runs successfully. What does this error

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

a 夏天 提交于 2019-12-21 09:30:34
问题 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 payload. The error is in the ...\..MyAppSourcePath..\Package.appxmanifest file. This is somehow related Manifest references file 'Bing.Maps.dll' which is not part of the payload but in my case the error shows up only when build package for the store and is related to the MyAppName.dll (where MyAppName

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

大兔子大兔子 提交于 2019-12-21 09:30:11
问题 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 payload. The error is in the ...\..MyAppSourcePath..\Package.appxmanifest file. This is somehow related Manifest references file 'Bing.Maps.dll' which is not part of the payload but in my case the error shows up only when build package for the store and is related to the MyAppName.dll (where MyAppName

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

大兔子大兔子 提交于 2019-12-21 04:03:27
问题 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 - Select pom file - Click Finish To be sure m2eclipse was actually building the project, I deleted the target directory and made sure it was re-created by m2eclipse and it was. But unlike with the command-line version of maven which built everything perfectly, m2eclipse leaves a large number of build errors in

“Cannot Open a.exe” Error in C++

守給你的承諾、 提交于 2019-12-20 03:19:17
问题 I'm trying to compile my C++ program, but when I press the "Build" button, it displays the following error message: c:/gnat/2010/bin/../libexec/gcc/i686-pc-mingw32/4.3.6/ld.exe: cannot open output file a.exe: Invalid argument collect2: ld returned 1 exit status This is not the first time it has done this. It seems to do this most when I have been editing the same project a lot and building it often, almost as if something has been flooded, or overloaded, or something. I had fixed it before, I