Skip to content

Commit

Permalink
Fix Readme.md issues and other minor modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ggfan committed Sep 19, 2016
1 parent 2b00aa2 commit c6f78d2
Show file tree
Hide file tree
Showing 50 changed files with 53 additions and 61 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ Known Issues

For samples using `Android.mk` build system with `ndk-build` see the [android-mk](https://github.com/googlesamples/android-ndk/tree/android-mk) branch.

Debugging
---------
- [hello-jni-codelab](https://codelabs.developers.google.com/codelabs/android-studio-jni/index.html?index=..%2F..%2Findex#0)
- [REFERENCE.md](REFERENCE.md)

Support
-------
Expand Down
2 changes: 1 addition & 1 deletion audio-echo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion bitmap-plasma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Bitmap Plasma
=============
Bitmap Plasma is an Android sample that uses JNI to render a plasma effect in an Android [Bitmap](http://developer.android.com/reference/android/graphics/Bitmap.html) from C code.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion bitmap-plasma/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion endless-tunnel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ integration. For example, this game contains textures and geometry
hard-coded in code, which works for small demo games like this one,
but doesn't scale well to real games.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion endless-tunnel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gles3jni/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ OpenGL ES 2.0 path:
- Explicit assignment of attribute locations, eliminating the need to query
assignments.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion gles3jni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion hello-gl2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It uses JNI to do the rendering in C++ over a
[GLSurfaceView](http://developer.android.com/reference/android/opengl/GLSurfaceView.html)
created from a regular Android Java Activity.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion hello-gl2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion hello-jni/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Hello JNI
=========
Hello JNI is an Android sample that uses JNI to call C code from a Android Java Activity.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion hello-jni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion hello-jniCallback/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This sample is an Aadd-on to Hello JNI sample to demonstrate calling back to Jav
- create a java class instance from C code
- call java class static and non-static member functions

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion hello-jniCallback/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion hello-libs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Hello-libs
=========
Hello-Libs is an Android sample that demos native lib management in Android Studio.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with external lib support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with external lib support.
it includes 2 modules:
* app -- uses one shared lib and one static lib from $project/distribution/
* gen-libs -- generates one shared and one static lib, and copy them into $project/distribution
Expand Down
2 changes: 1 addition & 1 deletion hello-libs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
7 changes: 0 additions & 7 deletions hello-libs/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
include ':app'

// If you want to generate libs, just uncomment out the following
// and dependency in app/build.gradle

// include ':gen-libs'



2 changes: 1 addition & 1 deletion hello-neon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If there are lot of NEON files in the project, make a NEON lib:
(this approach is not shown)


This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.


Pre-requisites
Expand Down
2 changes: 1 addition & 1 deletion hello-neon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion native-activity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Native Activity
===============
Native Activity is an Android sample that initializes a GLES 2.0 context and reads accelerometer data from C code using [Native Activity](http://developer.android.com/reference/android/app/NativeActivity.html).

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion native-activity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion native-audio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Native Audio
============
Native Audio is an Android sample that plays and records sounds with the C++ OpenSLES API using JNI. The recorder / players created are not in fast audio path.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion native-audio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion native-codec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To add your own files:
- from android device, select your stream


This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion native-codec/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion native-media/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ placed in app/src/main/assets/clips/NativeMedia.ts and encoded as:
For demonstration purposes we have supplied such a .ts file, any
actual stream must be created according to the MPEG-2 specification.

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion native-media/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion native-plasma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Native Plasma
=============
Native Plasma is an Android sample that renders a plasma effect in a Bitmap from C code using [Native Activity](http://developer.android.com/reference/android/app/NativeActivity.html).

This sample uses the new [Gradle Experimental Android plugin](http://tools.android.com/tech-docs/new-build-system/gradle-experimental) with C++ support.
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.

Pre-requisites
--------------
Expand Down
2 changes: 1 addition & 1 deletion native-plasma/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/bitmap-plasma/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/gles3jni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/hello-gl2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/hello-jni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/hello-libs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/hello-neon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/native-activity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/native-audio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/native-codec/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/native-media/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/native-plasma/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/san-angeles/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/teapots/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion other-builds/ndkbuild/two-libs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion san-angeles/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta2'
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

Expand Down
Loading

0 comments on commit c6f78d2

Please sign in to comment.