0.11.0 • Published 6 years ago

@aar/react-native-sound v0.11.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

请务必先安装并配置好 react-native-sound(版本需要一致)

注意 0.10.12 版本对应版本是 0.10.12-0

安装

$ yarn add @aar/react-native-sound

配置

引用aar

1、编辑 android/settings.gradle,找到下面两行代码删掉:

include ':react-native-sound'
project(':react-native-sound').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sound/android')

2、编辑 android/build.gradle,在 allprojects.repositories中添加如下配置:

flatDir{
  dirs "$rootDir/../node_modules/@aar/react-native-sound"
}

如果是多个 flatDir,用 "," 隔开即可

3、编辑 android/app/build.gradle,将 implementation project(':react-native-sound') 改为 implementation(name:'react-native-sound', ext:'aar')

0.11.0

6 years ago

0.10.12-0

6 years ago

0.10.12-2

6 years ago

0.10.12-1

6 years ago

0.10.12

6 years ago

0.0.1

6 years ago