diff --git a/OpenLive-Voice-Only-Android/LICENSE b/OpenLive-Voice-Only-Android/LICENSE index ef2bbdd..ef5b711 100644 --- a/OpenLive-Voice-Only-Android/LICENSE +++ b/OpenLive-Voice-Only-Android/LICENSE @@ -1,5 +1,5 @@ The MIT License (MIT) -Copyright (c) 2016 Agora Lab, Inc (http://www.agora.io/) +Copyright (c) 2019 Agora Lab, Inc (http://www.agora.io/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/OpenLive-Voice-Only-Android/README.md b/OpenLive-Voice-Only-Android/README.md index f688b04..ebc1095 100755 --- a/OpenLive-Voice-Only-Android/README.md +++ b/OpenLive-Voice-Only-Android/README.md @@ -25,9 +25,11 @@ A tutorial demo can be found here: [Agora-Android-Voice-Tutorial-1to1](https://g - The recommended way to integrate: Add the address which can integrate the Agora Voice SDK automatically through JCenter in the property of the dependence of the "app/build.gradle": + ``` -compile 'io.agora.rtc:voice-sdk:2.1.0' +implementation 'io.agora.rtc:voice-sdk:2.4.0' ``` + (This sample program has added this address and do not need to add again. Adding the link address is the most important step if you want to integrate the Agora Voice SDK in your own application.) - Alternative way to integrate: @@ -45,7 +47,7 @@ compile fileTree(dir: 'libs', include: ['*.jar']) Or use `Gradle` to build and run. ## Developer Environment Requirements -- Android Studio 2.0 or above +- Android Studio 3.0 or above - Real devices (Nexus 5X or other devices) - Some simulators are function missing or have performance issue, so real device is the best choice diff --git a/OpenLive-Voice-Only-Android/README.zh.md b/OpenLive-Voice-Only-Android/README.zh.md index 706d91d..0a76c9b 100644 --- a/OpenLive-Voice-Only-Android/README.zh.md +++ b/OpenLive-Voice-Only-Android/README.zh.md @@ -26,7 +26,7 @@ 在项目对应的模块的 "app/build.gradle" 文件的依赖属性中加入通过 JCenter 自动集成 Agora 音频 SDK 的地址: ``` -compile 'io.agora.rtc:voice-sdk:2.1.0' +implementation 'io.agora.rtc:voice-sdk:2.4.0' ``` (该示例程序已添加此链接地址,无需再添加,如果要在自己的应用中集成 Agora 音频 SDK,添加链接地址是最重要的一步。) @@ -46,7 +46,7 @@ compile fileTree(dir: 'libs', include: ['*.jar']) 也可以使用 `Gradle` 直接编译运行。 ## 运行环境 -- Android Studio 2.0 + +- Android Studio 3.0 + - 真实 Android 设备 (Nexus 5X 或者其它设备) - 部分模拟器会存在功能缺失或者性能问题,所以推荐使用真机 diff --git a/OpenLive-Voice-Only-Android/build.gradle b/OpenLive-Voice-Only-Android/build.gradle index 55db43f..a88b3fd 100644 --- a/OpenLive-Voice-Only-Android/build.gradle +++ b/OpenLive-Voice-Only-Android/build.gradle @@ -2,8 +2,8 @@ buildscript { repositories { - jcenter() google() + jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.4' @@ -15,8 +15,8 @@ buildscript { allprojects { repositories { - jcenter() google() + jcenter() } }