NDK bundle download from command line

2,001 views
Skip to first unread message

Andrew S

unread,
Jan 30, 2017, 3:12:39 PM1/30/17
to android-ndk
Hi!

We have a build server running Ubuntu managed by SSH (no GUI installed). And we would like to use the same build environment as Android Studio uses, including same and latest version of NDK bundle. 

The problem is that there is no NDK bundle in package list (which is visible in Android Studio package manager):

android list sdk --all

I know there is a separate NDK download available, but its a bit different and we have to update it manually.

Is it possible to have the same package manager functionality & packages just like in Android Studio but in command line?

Best,
Andrew.

Dan Albert

unread,
Jan 30, 2017, 3:27:30 PM1/30/17
to android-ndk
The standalone SDK manager (which is also the command line version exposed via `android list sdk`) is actually an older tool fed different data than the Studio SDK manager. Lately we've started shipping a new command line SDK manager that should match the one available in Studio: https://developer.android.com/studio/command-line/sdkmanager.html

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/2223ade4-00cd-4098-8763-6deb789040cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew S

unread,
Jan 30, 2017, 10:44:34 PM1/30/17
to android-ndk
Hi Dan!

This is exactly what we need, thanks!

Only CMake package name looks confusing, it includes version in its name 'cmake;3.6.3155560'. It looks like it won't update itself to a new version with sdkmanager --update.

Andrew.



The standalone SDK manager (which is also the command line version exposed via `android list sdk`) is actually an older tool fed different data than the Studio SDK manager. Lately we've started shipping a new command line SDK manager that should match the one available in Studio: https://developer.android.com/studio/command-line/sdkmanager.html
On Mon, Jan 30, 2017 at 11:11 AM, Andrew S <andrew.s...@gmail.com> wrote:
Hi!

We have a build server running Ubuntu managed by SSH (no GUI installed). And we would like to use the same build environment as Android Studio uses, including same and latest version of NDK bundle. 

The problem is that there is no NDK bundle in package list (which is visible in Android Studio package manager):

android list sdk --all

I know there is a separate NDK download available, but its a bit different and we have to update it manually.

Is it possible to have the same package manager functionality & packages just like in Android Studio but in command line?

Best,
Andrew.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.

Dan Albert

unread,
Jan 30, 2017, 11:02:17 PM1/30/17
to android-ndk
Interesting. Could you file a bug at b.android.com? Sounds like something that we should get fixed.

To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.

To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.

Andrew S

unread,
Jan 31, 2017, 5:55:11 AM1/31/17
to android-ndk
Reply all
Reply to author
Forward
0 new messages