This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 199705 - Support for Android native development
Summary: Support for Android native development
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 7.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-26 12:33 UTC by obucinac
Modified: 2011-06-26 12:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description obucinac 2011-06-26 12:33:43 UTC
The difference is that Android have its own makefile format, and system libraries implementation. Instead of tools like gcc, g++, ld, gdb... android uses predefined scripts. Debugging requires starting gdbserver on emulator or device. Building native application on android creates two executable files, one stripped to the bones, without any debugging information regardless of a compiler debug flag (placed in /system/bin on target platform), and another which will contain debug information, and is placed in symbols directory on the host platform. When debugging, you need to debug the second one. Project properties should include location of android source code tree, and selected toolchain.