Android system development (5) -- Eclipse for C/C ++, androideclipse
1. Download JDK
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2. Download eclipse for c/c ++
Http://www.eclipse.org/downloads/
The downloaded JDK and Eclipse
3. Install JDK
1. decompress the jdk compressed package
Tar-xvzf jdk-8u20-linux-i586.gz
2. Copy to/usr/local
3. Configure Environment Variables
Vi/etc/profile add Environment Variables
4. Check whether the installation is successful.
Source/etc/profile to make the configuration take effect, and then view the version.
4. Install Eclipse
Decompress eclipse
Tar-xvzf eclipse .....
Then restart (reboot)
Start eclipse
Can I use Eclipse IDE for C/C ++ Developers + Android SDK to develop Android applications?
Pure c/c ++ does not work. Because there is no execution entry, it must rely on java program execution. However, you can just use java program as an entry.
NDK is required for development.
How to Use eclipse to edit c programs?
Eclipse + CDT, available on the official website
For Windows, you also need MingW, CYGWin, and GDB.
GCC and GDB are required for Linux.