차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판마지막 판양쪽 다음 판 | ||
ndk자동빌드 [2014/03/01 16:21] – 새로 만듦 kim7463 | ndk자동빌드 [2014/03/01 16:54] – kim7463 | ||
---|---|---|---|
줄 3: | 줄 3: | ||
Start by right clicking on your android project (named hello-neon in the below screenshots) with JNI resources, and select Properties. In the resulting dialog, choose the Builders entry in the list to the left and press the New... button: | Start by right clicking on your android project (named hello-neon in the below screenshots) with JNI resources, and select Properties. In the resulting dialog, choose the Builders entry in the list to the left and press the New... button: | ||
+ | |||
+ | {{: | ||
A new dialog will open presenting a list of builder types. Select the Program type and press the OK button: | A new dialog will open presenting a list of builder types. Select the Program type and press the OK button: | ||
+ | |||
+ | {{ : | ||
줄 17: | 줄 21: | ||
${workspace_loc:/ | ${workspace_loc:/ | ||
The result should look something like the below: | The result should look something like the below: | ||
+ | |||
+ | {{ : | ||
Now continue with the refresh tab. Make sure the two checkboxes Refresh resources upon completion. and Recursively include sub-folders are checked. Choose the Specific resources radio button and press the Specify Resources... button: | Now continue with the refresh tab. Make sure the two checkboxes Refresh resources upon completion. and Recursively include sub-folders are checked. Choose the Specific resources radio button and press the Specify Resources... button: | ||
+ | {{ : | ||
Since the ndk-build process will generate files in the lib folder, we want Eclipse to discover changes made there without having to refresh manually. So select the lib folder in the project (create one if necessary) and press the Finish button: | Since the ndk-build process will generate files in the lib folder, we want Eclipse to discover changes made there without having to refresh manually. So select the lib folder in the project (create one if necessary) and press the Finish button: | ||
+ | {{ : | ||
Now skip the Environment tab and go to the final Build Options tab. Make sure the Run the builder: During auto builds checkbox is checked. | Now skip the Environment tab and go to the final Build Options tab. Make sure the Run the builder: During auto builds checkbox is checked. | ||
+ | {{ : | ||
Since the NDK build only needs to happen when editing files in the jni folder, check that folder and press the Finish button. | Since the NDK build only needs to happen when editing files in the jni folder, check that folder and press the Finish button. | ||
+ | {{ : | ||
Now finally press OK in the builder configuration dialog - the new NDK builder should now be up and running. Try editing any file in the jni folder and check that the Console view produces output from the build process: | Now finally press OK in the builder configuration dialog - the new NDK builder should now be up and running. Try editing any file in the jni folder and check that the Console view produces output from the build process: | ||
+ | {{ : |