This repository contains a project that represents a solid foundation for a Android NDK+SDK hybrid project, it also contains a working Cocos2dx project as a branch on top of it. It can compile both ADT project, and a CDT project within itself, contains builder to generate JNI interface, linked header files for syntax highlighting of both Java (S…
C Java D
Failed to load latest commit information.
.externalToolBuilders
jni
obj/local/armeabi/objs/mylib
res
src/com/myproject
.classpath
.cproject
.gitignore
.project
ANDROID_NDK
ANDROID_SDK
AndroidManifest.xml
README.md
proguard-project.txt
project.properties

README.md

About

This repository contains a project that represents a solid foundation for a Android NDK+SDK hybrid project. It can compile both ADT project, and a CDT project within itself, contains builder to generate JNI interface, linked header files for syntax highlighting of both Java (SDK) and C++ (NDK)

Usage

It is assumed you already have:

  • Android SDK installed and setup
  • Android NDK installed and setup
    • You should be able to compile and install the sample 'hellojni' application
  • Eclipse for java installed
  • Eclipse ADT plugin for Android SDK development http://developer.android.com/sdk/eclipse-adt.html
    • You should be able to compile and run, a hello-world project from eclipse
  • Eclipse C++ plugin "CDT" installed [install new software -> programing languages]

How to build

  • Fix symbolic links in project root (ANDROID_SDK/ANDROID_NDK) to point to your own paths
  • The project should build

Support information