File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,20 @@ npm install react-native-tencent-asr
2828- 在 AndroidManifest.xml 添加如下权限:
2929
3030``` xml
31- <uses-permission android : name =" android.permission.RECORD_AUDIO" />
32- <uses-permission android : name =" android.permission.INTERNET" />
33- <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
31+ <uses-permission android : name =" android.permission.RECORD_AUDIO" />
32+ <uses-permission android : name =" android.permission.INTERNET" />
33+ <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
3434```
3535
3636- 拥有tecentcloud asr的sdk包没有发布到maven,因此需要编辑 android/build.gradle, 添加flatDir配置来应用这些包。
3737
3838```
3939allprojects {
40- repositories {
41- flatDir {
42- dirs project(':rn-spotify-sdk ').file('libs')
43- }
44- }
40+ repositories {
41+ flatDir {
42+ dirs project(':react-native-tencent-asr ').file('libs')
43+ }
44+ }
4545}
4646```
4747
You can’t perform that action at this time.
0 commit comments