Hi Everyone,


I am trying to build a Android project in CentOS machine as part of 
Continuous Integration.

Dev team builds in Windows environment and it works fine in their machine.


*I have set http_proxy and https_proxy in /etc/environment.*


*I have set proxy info in gradle.properties.I have setup Android build 
tools ,build and platform tools.*


In CentOS machine, Initially I was getting this error.


* What went wrong:
A problem occurred configuring project ':app'.> java.lang.NullPointerException 
(no error message)
* Try:Run with --info or --debug option to get more log output.



Then following this thread, 
https://github.com/ionic-team/ionic-cli/issues/218 I created 
gradle.properties in $ANDROID_HOME/platforms/android-25

*Now I am seeing this error.*


Preparing "Install SDK Patch Applier v4".Warning: An error occurred while 
preparing SDK package SDK Patch Applier v4: Unable to tunnel through proxy. 
Proxy returns "HTTP/1.1 407 Proxy Authentication Required".:
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 
407 Proxy Authentication Required

* What went wrong:
A problem occurred configuring project ':app'.> Failed to install the following 
SDK components:
  [Android Support Repository, Google Repository]
  Please install the missing components using the SDK manager in Android Studio.


1) Any idea why I am still getting 407 proxy authentication required?

2) I tried to download packages "Android Support Repository and Google 
Repository" using *sdkmanager** "extras;google-android-support"*, but it is 
failing with message

"Warning: Failed to find package extras;google-android-supportsdkmanager" 

Thanks in advance.

Vishnu

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/26105aa5-141e-4623-9b98-7bb442c77d57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to