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

Summary: Support for Android native development
Product: cnd Reporter: obucinac <obucinac>
Component: ToolchainAssignee: Alexander Simon <alexvsimon>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

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.