Re: The SDK directory '/root/opt/android-sdk-linux' does not exist.

2016-09-20 Thread pradeep palem
Hi Nico ,

Issue was resolved ... Thanks alot for your help .

Regards,
Pradeep 

On Tuesday, September 20, 2016 at 9:55:31 PM UTC+5:30, Nico Schmoigl wrote:
>
> Hi Pradeep,
>
> your SDK is the root's home directory, dude. Usually, the unix 
> permissions[1] do not permit to access this directory for other users 
> (check with ls -al /root ). 
> I would suggest to move the SDK to some other location on your filesystem 
> (for example as /opt). Remember to adjust the environment variables 
> accordingly and try again via the usual command line before running it in 
> Jenkins.
>
> Cheers,
> Nico
>
> [1] 
> https://en.wikipedia.org/wiki/File_system_permissions#Notation_of_traditional_Unix_permissions
>
> Am Dienstag, 20. September 2016 17:29:21 UTC+2 schrieb pradeep palem:
>>
>> Hi All,
>>
>> I am trying to android build  from jenkins server.
>>
>> I have set the* env varibles* as below in /etc/profile and created a 
>> local.properties file the workspace .
>>
>> export ANDROID_HOME="/root/opt/android-sdk-linux"
>> export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
>>
>> *In local.properties file :*
>>
>> sdk.dir=/root/opt/android-sdk-linux
>>
>> I can able to build from linux command line as ROOT user but not other 
>> users. And even cant able to build from jenkins server .
>>
>>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/23ec2eaf-1d6e-4597-b375-7de2aaf8cc4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: The SDK directory '/root/opt/android-sdk-linux' does not exist.

2016-09-20 Thread Nico Schmoigl
Hi Pradeep,

your SDK is the root's home directory, dude. Usually, the unix 
permissions[1] do not permit to access this directory for other users 
(check with ls -al /root ). 
I would suggest to move the SDK to some other location on your filesystem 
(for example as /opt). Remember to adjust the environment variables 
accordingly and try again via the usual command line before running it in 
Jenkins.

Cheers,
Nico

[1] 
https://en.wikipedia.org/wiki/File_system_permissions#Notation_of_traditional_Unix_permissions

Am Dienstag, 20. September 2016 17:29:21 UTC+2 schrieb pradeep palem:
>
> Hi All,
>
> I am trying to android build  from jenkins server.
>
> I have set the* env varibles* as below in /etc/profile and created a 
> local.properties file the workspace .
>
> export ANDROID_HOME="/root/opt/android-sdk-linux"
> export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
>
> *In local.properties file :*
>
> sdk.dir=/root/opt/android-sdk-linux
>
> I can able to build from linux command line as ROOT user but not other 
> users. And even cant able to build from jenkins server .
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/798961d3-f6c2-4fc0-8503-e63e04f861f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


The SDK directory '/root/opt/android-sdk-linux' does not exist.

2016-09-20 Thread pradeep palem
Hi All,

I am trying to android build  from jenkins server.

I have set the* env varibles* as below in /etc/profile and created a 
local.properties file the workspace .

export ANDROID_HOME="/root/opt/android-sdk-linux"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"

*In local.properties file :*

sdk.dir=/root/opt/android-sdk-linux

I can able to build from linux command line as ROOT user but not other 
users. And even cant able to build from jenkins server .

I configure env variables in jenkins configuration too.

It is not able to pick the sdk installation folder.

*Error*:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory '/root/opt/android-sdk-linux' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.


Please help me on this ..

Thanks in advance .


Regards,

Pradeep 



-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5dbb70e4-42ea-42ee-877b-2d9b83d82575%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.