Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Failed to access the "build.settings" file. error
Started by dave_wilden Feb 17 2017 06:18 AM

- - - - -
5 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

dave_wilden

[GLOBAL: userInfoPane.html]
dave_wilden
  • Observer

  • 2 posts
  • Corona SDK

Hi,

 

I have a very simple program which built fine for Android on my original Corona installation. I wanted to try out the Live Builds option, so updated to the latest daily build.  The same program now loads and runs OK in the simulator but comes up with an error when I try to build it for Android (regardless of whether the Live Build box is ticked)

 

 

ERROR: Could not create build.properties:
 Failed to access the "build.settings" file.
Android build failed (5) after 0 seconds

 

 

I tried to reinstall the latest public release, but the installation failed, as it said I have a later version.

 

Can anyone tell me how to fix the problem, or failing that how to downgrade to an official release.

 

Thanks

 

Dave

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 21,327 posts
  • Corona Staff

What happens if you try to build the HelloWorld sample app?

 

Rob



[TOPIC: post.html]
#3

dave_wilden

[GLOBAL: userInfoPane.html]
dave_wilden
  • Observer

  • 2 posts
  • Corona SDK

Rob,

 

Thanks for the reply.  I tried the HelloWorld app and it worked fine.

 

I then realised that the problem was that the main.lua file I was using  was not in a normal Corona project folder and hence there was no build-settings file, which was what the error was saying, of course. Duh!

 

What is puzzling me is how everything built OK until I loaded the new version of Corona. Presumably it must have been picking up the setting file from a default folder?

 

Any was everything is now OK, and the new live build option is awesome!

 

Regards

 

Dave



[TOPIC: post.html]
#4

leemacread

[GLOBAL: userInfoPane.html]
leemacread
  • Observer

  • 11 posts
  • Corona SDK

hi  - mine has stopped working following an update today??

 

same error as above - cannot find build settings, but the build settings file is in with the main.lua.

 

corona samples work and compile

 

i just cannot compile the stuff i've done

 

any ideas

 

cheers.



[TOPIC: post.html]
#5

leemacread

[GLOBAL: userInfoPane.html]
leemacread
  • Observer

  • 11 posts
  • Corona SDK

sorted it

 

found in my build.settings the last line was 

 

'return settings'

 

?? not sure where that line come from - must have copied it from somewhere.?

 

anyway removed that last line and everything worked / i can compile my stuff once again.



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 21,327 posts
  • Corona Staff

Glad you solved it!

 

Rob




[topic_controls]
[/topic_controls]