Thanks for quick response. Yes I tried many pattern but all fails :(
tried also shell commands to alter local.property fie as guided 
here 
https://wiki.jenkins-ci.org/display/JENKINS/Building+an+Android+app+and+test+project
 


On Sunday, 30 August 2015 13:09:13 UTC+2, walter.kelt wrote:
>
> Seems that the error message is documenting the issue nicely. Have you 
> tried the suggested resolution of escaping the backslash ?
>
> Sent from my iPad
>
> On Aug 30, 2015, at 6:50 AM, Kirshan Luhana <[email protected] 
> <javascript:>> wrote:
>
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/b1c916de-01f0-4b90-a530-93362d29c9a9%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/b1c916de-01f0-4b90-a530-93362d29c9a9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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/29446125-de09-4a21-afba-cc4d8d70d2b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to