hyochan / react-native-audio-recorder-player

react-native native module for audio recorder and player.
MIT License
681 stars 203 forks source link

How to build library, including Android specific code #579

Closed neilgd closed 5 months ago

neilgd commented 5 months ago

Hi,

This is a really basic question, but I hope somebody can help.

I can use the library in a react native app no problem, but I'm struggling to build the library itself (I'm hitting an issue and would like to troubleshoot it).

Naively, I thought I could just run npm run build and that would do everything, but this doesn't seem to do much with the Android code.

So, I installed Gradle 8.5 but then get the following error:

> Failed to notify project evaluation listener.                                                                                                                                                                         
   > org/gradle/api/plugins/MavenPlugin

I'm running Windows, and have Android Studio etc. installed.

If you could point me in the right direction I'd really appreciate it.