Skip to content

Commit eef1199

Browse files
committed
Merge pull request #15 from ThorstenBux/master
Added MD improvements
2 parents cfd56da + 175e7fc commit eef1199

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

4_Android/android_native.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,25 @@ Building native ARToolKit libraries requires a development environment capable o
66

77
*Note: This is by no means a comprehensive guide on how to setup an NDK development environment. If you need assistance in this area, please search online as there are many tutorials and articles covering this topic and it is outside the scope of this user guide.*
88

9-
> Deprecated development tools and methods:
10-
>
11-
> - Eclipse IDE
12-
> - ADT Plugin for Eclipse
13-
> - Android NDK plugin for Eclipse
14-
> - Cygwin
9+
---
10+
**Deprecated development tools and methods:**
11+
12+
- Eclipse IDE
13+
- ADT Plugin for Eclipse
14+
- Android NDK plugin for Eclipse
15+
- Cygwin
16+
17+
---
1518

1619
The following SDKs and tools should be installed and configured correctly on one of the chosen supported development systems.
1720

1821
#####These are required for standard Android JDK development:
1922

2023
- [Standard Edition Java Development Kit][1] 1.7 or greater
2124
- [Android SDK][2] (Downloaded with Android Studio IDE)
22-
- for Mac OS X: default install path: *"/Users/<user>/Library/Android/sdk"*
23-
- for Windows Desktop: recommended install path: *"C:\Users\\<user>\\Android\\sdk"*
25+
- for Mac OS X: default install path: *"/Users/<user>/Library/Android/sdk"*
26+
- for Windows Desktop: recommended install path: *"C:\Users\\<user>\\Android\\sdk"*
27+
2428
- [Android Studio IDE][3] - version 1.5.x
2529

2630
#####Requirements for building native code with the NDK within or outside of the Android Studio IDE:
@@ -44,11 +48,12 @@ When installing Git, from the Git setup wizard:
4448

4549
---
4650

47-
Please try to ensure you have a working Android SDK and NDK environment before continuing. This, unfortunately, is not as easy as it sounds due the constantly evolving Android Studio tool set. Try the Hello-JNI tutorial available from [codelabs.developers.google.com][9]. Try implementing Hello-JNI app using NDK version 11+ for reasons explained below. Strive to use the latest and greatest developers.android.com supported Gradle plugin (com.android.tools.build:gradle-experimental:x.x.x) and Gradle version (http=\://services.gradle.org/distributions/gradle-x.x-all.zip) combination. Depending on the supported combination of experimental Gradle plugin and Gradle version used, there are differing required source updates to the HelloAndroidJni modules' build.gradle file. Finally, once you create the new Hello-JNI Android Studio project and module, reduce the complexity of the module by deleting the Test directory found under app/src/ in the Project pane.
51+
Please try to ensure you have a working Android SDK and NDK environment before continuing. This, unfortunately, is not as easy as it sounds due the constantly evolving Android Studio tool set. Try the Hello-JNI tutorial available from [codelabs.developers.google.com][9]. Try implementing Hello-JNI app using NDK version 11+ for reasons explained below. Strive to use the latest and greatest developers.android.com supported Gradle plugin (com.android.tools.build:gradle-experimental:x.x.x) and Gradle version (http://services.gradle.org/distributions/gradle-x.x-all.zip) combination. Depending on the supported combination of experimental Gradle plugin and Gradle version used, there are differing required source updates to the HelloAndroidJni modules' build.gradle file. Finally, once you create the new Hello-JNI Android Studio project and module, reduce the complexity of the module by deleting the Test directory found under app/src/ in the Project pane.
4852

4953
Keep in mind that the tutorial is written for Android Studio executed on Linux or Mac OS X but Android Studio executed on Windows 10 will work as well.
5054

51-
> Minor Android Studio for Windows Difference:<br/>
55+
> Minor Android Studio for Windows Difference:
56+
>
5257
> Step 2-7: In Android Studio: open "File" menu item, click to select "Settings...", open "Build, Execution, Deployment" twirl, open "Build Tools" twirl, open "Gradle" twirl, under "Project-level settings" group-box, ensure that "Use default gradle wrapper (recommended)" is selected.
5358
5459
For help with the Eclipse to Android Studio IDE transition, see the document https://github.com/artoolkit/artoolkit5/blob/master/AndroidStudioProjects/Docs/AS_Migration.pdf.

0 commit comments

Comments
 (0)