hello there i am creating a app where i need to use customize alert dialog so i am using sweet alert dialog and sync the dependencies into build.gradle (app)
dependencies {
compile 'cn.pedant.sweetalert:library:1.3'
}
but when i sync it it
Block quote
`
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:app:processDebugManifest’.
Manifest merger failed : Attribute application#icon value=(#mipmap/ic_launcher) from AndroidManifest.xml:7:9-43
is also present at [com.pnikosis:materialish-progress:1.0] AndroidManifest.xml:13:9-45 value=(#drawable/ic_launcher).
Suggestion: add ‘tools:replace=“android:icon”’ to element at AndroidManifest.xml:5:5-19:19 to override.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
`
Block quote
and also gradle build stop working can anybody know how to solove this problem…
and
I am using android studio 3.2
`
https://jitpack.io/p/Leogiroux/sweet-alert-dialog#download
i faced the same problem and this library has it solved try it and it will work
or just download the module library and add it for your self
Related
Running into a total dead-end here.
I've created a Publish Profile for a .net6 application that we want to publish to IIS with Web Deploy. In the Entity Framework Migration section, the option to "Apply this migration on publish" is selected.
When manually clicking publish, everything works. However, we want to automate this in TeamCity using the .NET build runner. The publish step fails at:
Generating Entity Framework SQL Scripts...
Executing command: dotnet ef migrations script --no-build --idempotent --configuration Release --output "C:\TeamCity\buildAgent\work\cbf95cc2b4413601\MySolution.Api\obj\Release\net6.0\PubTmp\EFSQLScripts\MySolution.Data.MyContext.sql" --context MySolution.Data.MyContext
C:\Program Files\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk.Publish\targets\TransformTargets\Microsoft.NET.Sdk.Publish.TransformFiles.targets(221,5): error : Entity Framework SQL Script generation failed
Internal error message details: BuildMessage1 0 Text DefaultMessage ERROR 400682522803500 tags:'tc:parseServiceMessagesInside'
Error message is logged
Build FAILED.
I cannot find any specific error messages anywhere in any log. Looking in the Microsoft.NET.Sdk.Publish.TransformFiles.targets file shows that it's failing on GenerateEFSQLScripts - an MSBuild command that executes dotnet ef under the covers.
I thought this might be a case of dotnet ef not being installed on the build agent. But when I manually run the command myself from C:\TeamCity\buildAgent\work\cbf95cc2b4413601\MySolution.Api, it succeeds, and the SQL scripts are successfully created.
I also thought it might just be a case of the command being run in the wrong directory (i.e. in the root MySolution folder rather than the MySolution.Api folder), but explicitly setting the working directly fails at the same point, with the same error.
Has anyone seen this before? Or could point me to where an actual error might be located?
I am building the android app that uses Cloudinary to upload images and videos. I am using AndroidX for both frontend and backend. I have all the related dependencies such as implementation 'com.cloudinary:cloudinary-android:1.30.0' and implementation 'com.linkedin.android.litr:litr:1.1.0', but on building the gradle I am getting the following error:
Failed to resolve: com.linkedin.android.litr:litr:1.1.0
Show in Project Structure dialog
Affected Modules: app
Failed to resolve: com.linkedin.android.litr:litr:1.1.0
Show in Project Structure dialog
Affected Modules: app
and upon running the app, I get the following error:
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.linkedin.android.litr:litr:1.1.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/linkedin/android/litr/litr/1.1.0/litr-1.1.0.pom
- https://repo.maven.apache.org/maven2/com/linkedin/android/litr/litr/1.1.0/litr-1.1.0.pom
- https://www.jitpack.io/com/linkedin/android/litr/litr/1.1.0/litr-1.1.0.pom
Required by:
project :app
project :app > com.cloudinary:cloudinary-android:1.30.0 > com.cloudinary:cloudinary-android-preprocess:1.30.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
Is there anything that I am missing or doing wrong? Any help would be appreciated.
try to type this line in the build.grade(project)
repositories {
maven{
url "https://maven.google.com"
} }
I have configured azure pipeline for running my build.
While running test case step the build ran with status “success” with message: No test result files matching D:\build\V1_w\1\s\test\target\reports*.xml were found, so publishing JUnit test results is being skipped”
And after this when zip file is creating automatically as part of build “create zip with failed tests info” it failed the build with error message: ##[error] Error: Achieve creation failed for archive file: D:\build\V1_w\1\s\tests\target\reports.zip ENOENT
Please help me to resolve this issue.
I have done all the required right configuration but still it’s occurring.
Thanks 🙏
I'm having some deployment issue that results in the following error, anyone can help to take a look?
\> \build.cmd
Restore completed in 1.05 sec for D:\home\site\wwwroot\EchoBot.csproj.
Bots\EchoBot.cs(62,10): error CS1513: } expected [D:\home\site\wwwroot\EchoBot.csproj]
Failed exitCode=1, command=dotnet publish "EchoBot.csproj" --output
"D:\local\Temp\___deployTemp10152" --configuration Release
An error has occurred during web site deployment.
According to the error you posted above, seems to be compile issue.
a closing curly brace (}) that was not found. Check the particular line in EchoBot.cs
using azure devops to build a pipeline. pipeline uses cake scripts to build and publish. facing issue with publish package. below is the diagnostic of publish of nu get step.
2019-09-16T10:00:32.8150943Z NuGet
2019-09-16T10:00:32.8151140Z ========================================
2019-09-16T10:00:32.8151688Z Executing task: NuGet
2019-09-16T10:00:32.8195231Z PushNuGet
2019-09-16T10:00:32.8283167Z Pushing NuGet file C:/__w/2/a/build/A.SDK.TestLibrary/nuget/A.TestLibrary.SDK.1.4.2-abranch-15524.nupkg
2019-09-16T10:00:32.8331210Z No Source property has been set. Depending on your configuration, this may cause problems.
2019-09-16T10:00:32.8620102Z Executing: "C:/__w/2/a/build/tools/NuGet.exe" push "C:/__w/2/a/build/A.SDK.TestLibrary/nuget/A.TestLibrary.SDK.1.4.2-abranch-15524.nupkg" -NonInteractive
2019-09-16T10:00:33.3578097Z Source parameter was not specified.
2019-09-16T10:00:33.3864258Z An error occurred when executing task 'NuGet'.
2019-09-16T10:00:33.3996249Z Error: System.AggregateException: One or more errors occurred. ---> Cake.Core.CakeException: NuGet: Process returned an error (exit code 1).
source parameter not specified cake
Just like the error message shows,
Source parameter was not specified
And your nuget command line is:
"C:/__w/2/a/build/tools/NuGet.exe" push "C:/__w/2/a/build/A.SDK.TestLibrary/nuget/A.TestLibrary.SDK.1.4.2-abranch-15524.nupkg"
Indeed, it does not specify the source of the push command.
To resolve this issue, you should specify the source in that command:
nuget.exe push "YourPackageHere" -source "xxxx"
Check the document push command (NuGet CLI) for some more details.
Hope this helps.