Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from CharlesLee-Ice/master
Browse files Browse the repository at this point in the history
update Android README
  • Loading branch information
plutoless committed Apr 11, 2019
2 parents 620cc00 + ef36a62 commit b4ab326
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion OpenLive-Voice-Only-Android/LICENSE
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
6 changes: 4 additions & 2 deletions OpenLive-Voice-Only-Android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions OpenLive-Voice-Only-Android/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,添加链接地址是最重要的一步。)
Expand All @@ -46,7 +46,7 @@ compile fileTree(dir: 'libs', include: ['*.jar'])
也可以使用 `Gradle` 直接编译运行。

## 运行环境
- Android Studio 2.0 +
- Android Studio 3.0 +
- 真实 Android 设备 (Nexus 5X 或者其它设备)
- 部分模拟器会存在功能缺失或者性能问题,所以推荐使用真机

Expand Down
4 changes: 2 additions & 2 deletions OpenLive-Voice-Only-Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

buildscript {
repositories {
jcenter()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
Expand All @@ -15,8 +15,8 @@ buildscript {

allprojects {
repositories {
jcenter()
google()
jcenter()
}
}

Expand Down

0 comments on commit b4ab326

Please sign in to comment.