Compilation failed while executing : as

shamruk's Avatar

shamruk

30 Oct, 2013 01:11 AM

Environment: Mac OS 10.9
SDK installation mode: auto (though ivy)
App type: mobile iOS application
Exception: Compilation failed while executing : as
Reason: no "x" permissions for some SDK files
Workaround: chmod -R +x ~/.gradle/gradleFx/sdks/465b36d............... May be there is a way to add this to the gradle.build?
Links: same problem in FDT IDE http://bugs.powerflasher.com/jira/browse/FDT-2475?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel

  1. Support Staff 1 Posted by Yennick Trevels on 30 Oct, 2013 07:44 AM

    Yennick Trevels's Avatar

    I know a project where they had the same problem. I'll try to poll them on how they solved this.
    Meanwhile I've created an issue for this in our bug tracker.

  2. 2 Posted by shamruk on 30 Oct, 2013 09:39 AM

    shamruk's Avatar

    Thanks

  3. shamruk closed this discussion on 30 Oct, 2013 09:40 AM.

  4. Yennick Trevels re-opened this discussion on 30 Oct, 2013 10:32 AM

  5. Support Staff 3 Posted by Yennick Trevels on 30 Oct, 2013 10:32 AM

    Yennick Trevels's Avatar

    Turns out they didn't implement a workaround, but just manually changed the permission.

  6. Yennick Trevels closed this discussion on 30 Oct, 2013 10:32 AM.

  7. shamruk re-opened this discussion on 30 Oct, 2013 12:46 PM

  8. 4 Posted by shamruk on 30 Oct, 2013 12:46 PM

    shamruk's Avatar

    Is there a way to change permissions from gradle script?

  9. Support Staff 5 Posted by Yennick Trevels on 30 Oct, 2013 01:37 PM

    Yennick Trevels's Avatar

    You should be able to do that with standard Groovy:

    def file = new File('myfile.txt');
    file.setWritable(true)
    
  10. 6 Posted by shamruk on 30 Oct, 2013 01:59 PM

    shamruk's Avatar

    I will try, thanks.

  11. shamruk closed this discussion on 30 Oct, 2013 01:59 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac