First time here? Check out the FAQ!

Ask Your Question
1

Does NDK come with ADT Bundle or not?

asked Apr 10 '13

Guara gravatar image

updated Apr 10 '13

Andrey Pavlenko gravatar image

Hi,

I am doing the configuration process to start programming in C/C++ on Android, but I got build errors when I imported the samples from the <opencv-2.4.5-android-sdk> folder into the Package Explorer. I thought that was the problem with the '.cmd' thing, but it doesn't even shows the 'C/C++ Build' option in the 'Project Properties' window.

I did the procedure that says to use the ADT Bundle instead of downloading each tool, so I just wanna know if the NDK and the CDT is already included on it as it says: "...in addition to Android SDK Tools includes Eclipse + ADT + NDK/CDT plugins..."

Btw my laptop has Windows 7.

Preview: (hide)

Comments

Basically this is a question you should adress at a forum specified for ADT. This forum handles OpenCV problems, not development environment problems...

StevenPuttemans gravatar imageStevenPuttemans (Apr 10 '13)edit

Thanks +1 for asking the same question that I was about to ask (found you through a simple Google search ("does the ADT bundle include the NDK?")

N0L0ngerAn00b gravatar imageN0L0ngerAn00b (Apr 21 '13)edit

3 answers

Sort by » oldest newest most voted
3

answered Apr 10 '13

Andrey Pavlenko gravatar image

ADT Bundle includes Eclipse plugins for native development (CDT & NDK plugins) but doesn't includes NDK itself. To see what plugins are in your Eclipse open Help -> About dialog. Also don't forget to set NDKROOT env var in either eclipse workspace or system settings, since OpenCV4Android samples projects rely on it.

Preview: (hide)

Comments

I figure out the problem. No target was set on the Project Build Target (Properties->Android) for any of the samples. Anyway, thanks for reminding me to set the env var, that helped me with the C/C++ samples.

Guara gravatar imageGuara (Apr 10 '13)edit

+1 for clarifying the distinction between the plugin and the NDK itself.

N0L0ngerAn00b gravatar imageN0L0ngerAn00b (Apr 21 '13)edit
0

answered Apr 21 '13

N0L0ngerAn00b gravatar image

updated Apr 21 '13

Following the tip provided by @AndreyPavlenko my ADT Bundle (latest & greatest) shows the following:

image description

No explicit reference to NDK but I believe the above answer by @AndreyPavlenko is correct, so the only question remaining is which of these plugins actually covers NDK.

Preview: (hide)
0

answered Apr 22 '13

Andrey Pavlenko gravatar image

See the screenshot: Eclipse-about-details.png

'Android Native Development Tools' is the NDK plugin, as you see it keeps CDT inside.

Preview: (hide)

Question Tools

Stats

Asked: Apr 10 '13

Seen: 88,708 times

Last updated: Apr 22 '13