so the problem is that i am developing an app using firebase but when i want to test it prints this out with a picture i looked at similar problems how to reinstall avst ok it was not working i replacelt some code in graple not so i turn for help. Can help me someone
Execution failed for task ':app:mergeDebugResources'.
Multiple task action failures occurred:
A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
Resource compilation failed. Check logs for details.
A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
Resource compilation failed. Check logs for details.
A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
Resource compilation failed. Check logs for details.
A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
Resource compilation failed. Check logs for details.
A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
Resource compilation failed. Check logs for details./
Pic to codes https://drive.google.com/folderview?id=1Iyq6urvomzDoyco6_mfvotMzGzBUnHim
Related
I have an issue with starting my project after the upgrade of IDEA.
Current error is the following:
CONFIGURE SUCCESSFUL in 2s
|Running application...
> Task :compileJava NO-SOURCE
startup failed:
General error during semantic analysis: java.lang.NoClassDefFoundError: org.springframework.security.authentication.encoding.PasswordEncoder
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org.springframework.security.authentication.encoding.PasswordEncoder
at org.codehaus.groovy.control.CompilationUnit.convertUncaughtExceptionToCompilationError(CompilationUnit.java:1118)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1098)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:645)
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileGroovy'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileGroovy'.
> Task :compileGroovy FAILED
Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:207)
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
If I try to clean and run-app I get the following:
| Running application...
<-------------> 0% WAITING
IDLE
startup failed:
General error during semantic analysis: java.lang.NoClassDefFoundError: org.springframework.security.authentication.encoding.PasswordEncoder
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':compileGroovy'.
Compilation failed; see the compiler error output for details.
Tried everything I know, project settings, clean cache, invalidate cache and restart... nothing is helping.
I have found a solution:
grails.plugin.springsecurity.authentication.encoding.BCryptPasswordEncoder - using deprecated classes
class CryptoEncoderWrapper implements org.springframework.security.authentication.encoding.PasswordEncoder
you need to change build.gradle to:
compile 'org.grails.plugins:spring-security-core:4.0.0'
BCrypt now has this import
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
Now, this issue is resolved but leads to other issues.
I imported in a dataset with table creation for my app. However, when I try to start my server and during the time of ear deployment, I encounter an error with Flyway migration. The error is :
Database migration failed.: org.flywaydb.core.api.FlywayException: Validate failed: Detected failed migration to version 1 (BASELINE)
I have checked that all database information is correct in dev.xml and have checked for errors in flyway_schema_history but none are present.
I have previously seen a communication link error but now that has disappeared. Could someone shed light on the issue because I don't feel like any of the scripts are running including the BASELINE?
Stack trace of error:
2019-04-10 16:54:48,544 ERROR [com.cognitran.isis.model.migration.TopixFlywayIntegrator] (ServerService Thread Pool -- 2) Database migration failed.: org.flywaydb.core.api.FlywayException: Validate failed: Detected >failed migration to version 1 (BASELINE)```
at org.flywaydb.core.Flyway.doValidate(Flyway.java:1375)
at org.flywaydb.core.Flyway.access$100(Flyway.java:82)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:1257)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:1249)
at org.flywaydb.core.Flyway.execute(Flyway.java:1604)
at org.flywaydb.core.Flyway.migrate(Flyway.java:1249)
I am using Yocto Poky-Thud. I cloned the latest branch of the meta-java layer from https://git.yoctoproject.org/git/meta-java
However, on attempt to build a simple recipe, after one hour or so, I get the following errors below relating to icedtea7 which is not easy to understand. Would anybody have an idea what is the issue?
ERROR: icedtea7-native-2.1.3-r1.0 do_configure: configure failed
ERROR: icedtea7-native-2.1.3-r1.0 do_configure: Function failed:
do_configure (log file is located at
/home/ubuntu/JUMPNOW/bbb/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-
r1.0/temp/log.do_configure.14801)
ERROR: Logfile of failure stored in:
/home/ubuntu/JUMPNOW/bbb/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-
r1.0/temp/log.do_configure.14801
Then further down in the messages :
ERROR: Task (/home/ubuntu/JUMPNOW/poky-thud/meta-java/recipes-
core/icedtea/icedtea7-native_2.1.3.bb:do_configure) failed with exit code
'1'
My app was working perfect until I implemented Dagger to my project and some other minor classes to make my app interact with external server.
Now i cant do anything. Im working on Android Studio 2.0, Ubuntu 15.04. I have no idea of what is causing the problen, so feel free to ask for whatever you want to see.
This is what I get from Gradle console:
An exception has occurred in the compiler (1.8.0_77). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Messages:
Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
I am novice to libGDX, and while setting it for android studio, I encountered following issue:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'FirstGame'.
Could not resolve all dependencies for configuration ':classpath'.
Could not download robovm-dist-compiler.jar (org.robovm:robovm-dist-compiler:1.12.0)
Could not get resource 'https://repo1.maven.org/maven2/org/robovm/robovm-dist-compiler/1.12.0/robovm-dist-compiler-1.12.0.jar'.
SSL peer shut down incorrectly
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.93 secs
I followed the following steps:
https://github.com/libgdx/libgdx/wiki/Project-Setup-Gradle
But, getting the error:
Information:Gradle tasks [clean]
Download https://repo1.maven.org/maven2/org/robovm/robovm-dist-compiler/1.12.0/robovm-dist-compiler-1.12.0.jar
Error:A problem occurred configuring root project 'FirstGame'.
Could not resolve all dependencies for configuration ':classpath'.
Could not download robovm-dist-compiler.jar (org.robovm:robovm-dist-compiler:1.12.0)
Could not get resource 'https://repo1.maven.org/maven2/org/robovm/robovm-dist-compiler/1.12.0/robovm-dist-compiler-1.12.0.jar'.
SSL peer shut down incorrectly
Information:BUILD FAILED
Information:Total time: 3.93 secs
Information:1 error
Information:0 warnings
Information:See complete output in console