Ask Your Question
1

Does NDK come with ADT Bundle or not?

asked 2013-04-09 23:00:30 -0600

Guara gravatar image

updated 2013-04-10 07:34:23 -0600

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.

edit retag flag offensive close merge delete

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 ( 2013-04-10 06:35:12 -0600 )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 ( 2013-04-21 13:13:24 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
3

answered 2013-04-10 07:38:09 -0600

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.

edit flag offensive delete link more

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 ( 2013-04-10 12:11:57 -0600 )edit

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

N0L0ngerAn00b gravatar imageN0L0ngerAn00b ( 2013-04-21 13:27:40 -0600 )edit
0

answered 2013-04-21 13:25:40 -0600

N0L0ngerAn00b gravatar image

updated 2013-04-21 13:28:09 -0600

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.

edit flag offensive delete link more
0

answered 2013-04-22 01:23:32 -0600

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.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-09 23:00:30 -0600

Seen: 88,703 times

Last updated: Apr 22 '13