From 63f2f6544800bfeb5047beebb3ef49f456713d5b Mon Sep 17 00:00:00 2001 From: guanghuafan Date: Mon, 22 May 2017 09:32:49 -0700 Subject: [PATCH] Force to android-O target for AAudio sample --- aaudio/README.md | 5 +++-- aaudio/echo/build.gradle | 6 +++--- aaudio/hello-aaudio/build.gradle | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/aaudio/README.md b/aaudio/README.md index c479a84..785230a 100644 --- a/aaudio/README.md +++ b/aaudio/README.md @@ -7,8 +7,9 @@ These samples demonstrate how to use AAudio API: [AAudio](https://android-dot-devsite.googleplex.com/ndk/guides/audio/aaudio/aaudio.html) is still in its early stage of development, this [android-ndk thread](https://groups.google.com/forum/#!topic/android-ndk/Ox7L8V5ZF5s) addresses some of the possible questions surrounding the new API. Pre-requisites ------------ -* Android Device with recording capability, running Android O DP2 or above (Developer's Preivew) API +------------- +* Android Device with recording capability +* Android O DP2 or above (Developer's Preivew) API * An external headphone (with a microphone) plugged into Android Device * NDK-r15 [Beta2](https://developer.android.com/ndk/downloads/index.html) and above * [Android Studio 2.3.0+](https://developer.android.com/studio/index.html) diff --git a/aaudio/echo/build.gradle b/aaudio/echo/build.gradle index 54b214d..4dca80f 100644 --- a/aaudio/echo/build.gradle +++ b/aaudio/echo/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 + compileSdkVersion 'android-O' buildToolsVersion '25.0.2' defaultConfig { applicationId 'com.google.sample.com.google.sample.aaudio.echo' - minSdkVersion 25 - targetSdkVersion 25 + minSdkVersion 'android-O' + targetSdkVersion 'android-O' versionCode 1 versionName '1.0' ndk { diff --git a/aaudio/hello-aaudio/build.gradle b/aaudio/hello-aaudio/build.gradle index 079deb4..8f36e96 100644 --- a/aaudio/hello-aaudio/build.gradle +++ b/aaudio/hello-aaudio/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 + compileSdkVersion 'android-O' buildToolsVersion '25.0.2' defaultConfig { applicationId 'com.google.sample.com.google.sample.aaudio.play' - minSdkVersion 25 - targetSdkVersion 25 + minSdkVersion 'android-O' + targetSdkVersion 'android-O' versionCode 1 versionName '1.0' ndk {