You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/09/26 10:30:23 UTC

[GitHub] [incubator-weex] tony21cn opened a new issue #2941: [Android] project can not build on Windows system (0.26)

tony21cn opened a new issue #2941: [Android] project can not build on Windows system (0.26)
URL: https://github.com/apache/incubator-weex/issues/2941
 
 
   ## Describe the bug
   <!-- A clear and concise description of what the bug is. -->
   settings.gradle function: updateSubmodule use '**bash**' for Windows system, so it can not work well. maybe you can add like follow:
   ```java
   def updateSubmodule(){
       def command = "git submodule update --init --remote"
       def bash = "bash"
       if(System.properties['os.name'].contains('Windows')) {
           bash = "cmd"
       }
       exec {
           executable bash
           args "-c", command
       }
   }
   ```
   
   ## To Reproduce
   <!-- Steps to reproduce the behavior.  Include a MCVE using http://dotwe.org/vue , crash stacktrace or  share your app project. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve -->
   
   ## Environment
   <!-- 
   * Device: [e.g. iPhone6]
   * OS: [e.g. iOS8.1]
   * Version [e.g. 22]
   * Build from source [e.g. yes/no] -->
   
   ## Expected behavior
   <!-- A clear and concise description of what you expected to happen. -->
   
   ## Screenshots
   <!-- If applicable, add screenshots to help explain your problem. -->
   
   ## Additional context
   <!-- Add any other context about the problem here.-->
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services