Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed android #12

Open
Chocolladin opened this issue Oct 1, 2020 · 1 comment
Open

Build failed android #12

Chocolladin opened this issue Oct 1, 2020 · 1 comment

Comments

@Chocolladin
Copy link

Chocolladin commented Oct 1, 2020

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 :

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

@vantuan88291
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants