react-native-webrtc-janus-gateway
react-native-webrtc-janus-gateway copied to clipboard
Build failed android
Dear,
i followed these commands to build and run for android.
- install Buck
npm start- to start the packagercd androidkeytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"./gradlew :app:copyDownloadableDepsToLibs- make all Gradle compile dependencies available to Buckbuck install -r android/app- compile, install and run application
Prior theses commands, i did :
- git clone https://github.com/atyenoria/react-native-webrtc-janus-gateway.git
- cd react-native-webrtc-janus-gateway
- npm install
Unfortunately, on step ./gradlew :app:copyDownloadableDepsToLibs
i get the following build error :
:WebRTCModule:compileReleaseJavaWithJavac :WebRTCModule:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). An exception has occurred in the compiler (1.8.0_251). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found :WebRTCModule:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':WebRTCModule:compileReleaseJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Could you please help,
Regards,
Yours,
Bertrand
i can build on android, just upgrade sdk version, minSdk, move to androidx..., but now cannot connect to janus server