To find the id of your Android platform run this in the cmd prompt: android list targetįind the id in the list and run the following command from your NDK Project Directory Root : android update project -target 10 -path. To do this we need to target an Android platform. Building the NDK Projectįirst we have to update the Android project, so that it knows what to build. The Android.mk file defines how your NDK project is built. Here is where your Android.mk file and C/C++ files will live. The most important part of an NDK application is the /jni folder. These files simply call back to your C/C++ Code. Your Java Files directory is where the main Java to C/C++ connecting files are stored. The Resources folder will contain only strings.xml which is where the name of your project is located.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |