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

Should consider building a new release. #53

Open
linux40 opened this issue Apr 9, 2019 · 0 comments
Open

Should consider building a new release. #53

linux40 opened this issue Apr 9, 2019 · 0 comments

Comments

@linux40
Copy link

linux40 commented Apr 9, 2019

I'm not a android developer, but I try to build a new release my self for compatibility with Android P. However, exception occurs during the building:

Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details                           
Could not write standard input to Gradle build daemon.                                                                  
java.io.IOException: Stream closed                                                                                      
        at java.lang.ProcessBuilder$NullOutputStream.write(java.base@9-internal/ProcessBuilder.java:443)                
        at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:116)                                       
        at java.io.BufferedOutputStream.flushBuffer(java.base@9-internal/BufferedOutputStream.java:81)                  
        at java.io.BufferedOutputStream.flush(java.base@9-internal/BufferedOutputStream.java:142)                       
        at org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:66)    
        at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:51)               
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)       
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)                        
        at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-internal/ThreadPoolExecutor.java:1158)         
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-internal/ThreadPoolExecutor.java:632)         
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)        
        at java.lang.Thread.run(java.base@9-internal/Thread.java:804)                                                   
                                                                                                                        
FAILURE: Build failed with an exception.                                                                                
                                                                                                                        
* What went wrong:                                                                                                      
Unable to start the daemon process.                                                                                     
This problem might be caused by incorrect configuration of the daemon.                                                  
For example, an unrecognized jvm option is used.                                                                        
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html     
Please read the following process output to find out more:                                                              
-----------------------                                                                                                 
Unrecognized option: --add-opens                                                                                        
Error: Could not create the Java Virtual Machine.                                                                       
Error: A fatal exception has occurred. Program will exit.                                                               
                                                                                                                        
                                                                                                                        
* Try:                                                                                                                  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
 --scan to get full insights.                                                                                           
                                                                                                                        
* Get more help at https://help.gradle.org

My java version is as follows on Ubuntu 18.04

openjdk version "9-internal"                                                                                            
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)                                           
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode) 

The list of my sdk packages is very long but they are installed via this link (currently last version of command line tools).

@linux40 linux40 changed the title Should consider build a new release. Should consider building a new release. Apr 9, 2019
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

1 participant