react-native-webrtc-janus-gateway icon indicating copy to clipboard operation
react-native-webrtc-janus-gateway copied to clipboard

Build failed android

Open Chocolladin opened this issue 5 years ago • 1 comments
trafficstars

Dear,

i followed these commands to build and run for android.

  • install Buck
  • npm start - to start the packager
  • cd android
  • keytool -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 Buck
  • buck 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

Chocolladin avatar Oct 01 '20 15:10 Chocolladin

i can build on android, just upgrade sdk version, minSdk, move to androidx..., but now cannot connect to janus server

vantuan88291 avatar Feb 19 '21 09:02 vantuan88291