Downloading android packages via sdk manager in CentOS

vishnuvpotti

New member
Sep 22, 2017
2
0
0
Hi All,

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"

Any idea how to install those packages?

Thanks in advance.
Vishnu
 
Issues when trying to Build Android Project in a CentOS machine behind Corp proxy

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, I was getting this error.

Code:
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.

how do i download them using sdkmanager? I mean I couldn't find the name of packages.
 
I am guessing that this thread ought to be moved into one of the developer forums for the right eyes to see it.
 

Forum statistics

Threads
952,146
Messages
6,955,480
Members
3,162,574
Latest member
AnonymousVPN