To compile this properly, you may have to manually link the module. To do this:
go to android\settings.gradle and add the lines
include ':react-native-recording'
project(':react-native-recording').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-recording/lib/android')
then go to android\app\src\main\java\com\...\MainApplication.java and add the following lines
To compile this properly, you may have to manually link the module. To do this: go to
android\settings.gradle
and add the linesthen go to
android\app\src\main\java\com\...\MainApplication.java
and add the following linesas an import statement, and
under the
new MainReactPackage()
line in theprotected List<ReactPackage> getPackages() {
method. Finally, openandroid\app\build.gradle
and addinside of
dependencies {
, then navigate to your project directory and entercd android && gradlew
in cmd (windows).Hope this helps someone!