Today I purchased Android tablet for native development — Acer Iconina Tab A500 (Honeycomb 3.1) powered with Tegra.
Then I downloaded and installed Tegra Android Development Pack (Windows and Mac) from from http://developer.nvidia.com/tegra-android-development-pack. Of course I turned on ‘USB debugging’ in the Application settings.
I tried to debug sample apps (like es2_globe) by ‘Debug As -> Android NDK Application’ menu command but after building — nothing happens.
Application does not start. But if I choose ‘Debug As -> Android Application’ or ‘Run As -> Android Application’ — everything fine.
Same situation on Mac and Windows.
So, what should I do in order to make NDK debug work ?
Here can be various reasons why your application was not started, and you can see what is wrong in console output, like in the following example where gdbserver was not successfully run and this situation can be fixed rooting device.