From 93d75d2403342b9da0903b10556ff2140c610314 Mon Sep 17 00:00:00 2001 From: XinwenCheng Date: Fri, 2 Mar 2018 17:21:29 +0800 Subject: [PATCH] Add prevention rule to proguard-rules.pro file. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 3a7815f..365630c 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,13 @@ To add the client library dependency from Android Studio: 8. Click `OK` to add the new dependency. 9. Download the appropriate JNI library `libandroid_platform.so` from [this page](https://github.com/Microsoft/Cognitive-Speech-STT-Android/tree/master/SpeechSDK/libs) and put into your project's directory `app/src/main/jniLibs/armeabi/` or `app/src/main/jniLibs/x86/`. +To add prevention rule from proguard-rules.pro file: + +``` +# Microsoft +-keep class com.microsoft.**{*;} +``` + ## The Sample This sample demonstrates the following features using a wav file or external microphone input: