User Tag List

Results 1 to 7 of 7

Thread: Build error No such file or directory

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Baggins69's Avatar
    Join Date
    Aug 2012
    Location
    Brisbane, Australia
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Build error No such file or directory

    Hello,

    I'm having a problem getting the MacOS version of Fusion when I compile for Android (or Fire TV) and the log file is a simple one line error message in the log file stating “env: sh\r: No such file or directory”. Nothing else.

    My setup
    MACOS: Mojave (10.14.4)
    Fusion: R293.10 (MacOS, Dec 3 2021)
    Java: Ver. 8, Update 311
    Android Studio (Arctic Fox): 2030.3.1 Patch 4
    Android SDK: Android API 32, Android 12 (S), Android 11 (R)

    Trying to build a Android / OUYA application

    I don’t get the error if I use Fusion R293.1, but any higher version gives me the error. Not I don’t get the error when running my Windows 10 version only on my Mac. I setup another VM with the above installed the above and nothing else and I get the same problem as my actual Mac which has other items installed to help eliminate the problem.

    I also try Goggle search for the error and the only type on information I find is related to gradle, so not sure whether this helps.

    Would really appreciate any help getting this resolved.
    Thanks.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,299
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    @Baggins please open android studio in your MAC, press the button menu (3 dots) and run sdk manager please check that you have platform tools, + platfom sdk all needed to be installed, then check

    java home path is correct and according to android studio or fusion (this can be checked inside android studio in path from selection in left view of the sdk manager).

    Others, mention that you may need to verify that your MAC is using /bin/bash for login shell, this can be checked in advanced settings

    Others point to this solution which make file in dos format UNIX compatible, from terminal


    vim gradlew:set fileformat=unix:wq
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,384
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    I can reproduce it Fernando, I'm on it.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,299
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Thanks you Yves.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,384
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    One of the Mac files of the Android runtime had been saved in Windows format because of an unexpected automatic conversion in a recent build, sorry for this.

    Fernando will send you an updated runtime (as he already sent you a new version).

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,299
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    @Baggins PM sent with new file

    Let us know your results.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Baggins69's Avatar
    Join Date
    Aug 2012
    Location
    Brisbane, Australia
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    @Baggins PM sent with new file

    Let us know your results.
    Thank Fernando, I have installed the patch and can confirm that it is working as expected.
    Please pass on my thanks for Yves for just a quick fix.

    Awesome,
    Thanks
    Scott

Similar Threads

  1. Replies: 1
    Last Post: 8th January 2019, 09:04 PM
  2. Android Build file error
    By Chokrevevans in forum Android Export Module 2.5
    Replies: 2
    Last Post: 10th October 2016, 04:28 PM
  3. Android build error - file not found
    By larckson in forum Android Export Module 2.5
    Replies: 10
    Last Post: 22nd August 2015, 03:30 AM
  4. Getting a file's directory
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd October 2006, 08:47 AM
  5. Getting a file's directory
    By YAS in forum Extension Development
    Replies: 0
    Last Post: 21st October 2006, 09:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •