Hi
I am trying to solve this issue from few days but still can not get any
solution please guide how can I fix it.
I am running Jenkins on Windows 10 when I compile Android application I am
getting error
:*compileLint*
:*lint*
Ran lint on variant debug: 1 issues found
Ran lint on variant release: 1 issues found
D:\jenkinsjobs\workspace\local.properties:2: Error: Windows file separators (\)
must be escaped (\\); use C:\\Users\\kirshan\\AppData\\Local\\Android\\sdk
[PropertyEscape]
sdk.dir=C:\\Users\\kirshan\\AppData\\Local\\Android\\sdk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "PropertyEscape":
All backslashes and colons in .property files must be escaped with a
backslash (\). This means that when writing a Windows path, you must escape
the file separators, so the path \My\Files should be written as
key=\\My\\Files.
1 errors, 0 warnings
Wrote XML report to D:\jenkinsjobs\workspace\build\reports\lint.xml
:*lint* FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':lint'.
> Lint found errors in the project; aborting build.
Fix the issues identified by lint, or add the following to your build script to
proceed with errors:
...
android {
lintOptions {
abortOnError false
}
}
...
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/b1c916de-01f0-4b90-a530-93362d29c9a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.