Runtime error in example app in android build

Well, that’s great, but what tutorial are you referring to? Please provide a link to it. There tens of possible tutorials you may be referring to on Corona’s site alone. If you found the tutorial on some other site, then we are talking about thousands of possibilities.

Again, the reason why I asked you to consider uploading your project was that since it is based on some tutorial, there shouldn’t be anything proprietary there that you would need to protect. Furthermore, I have seen countless cases where someone has “copied source directly, but the code still doesn’t work”, which is usually because the code source or other files were not in fact copied as is, but some changes were made.

But, in this case, point me to the tutorial and I’ll see if I can build it without issues.

This one. The tutorial from getting started section of corona docs. I was step-by-step copy/pasted the code from the tutorial. My full project in my previous message on google drive. 

https://docs.coronalabs.com/guide/programming/02/index.html

On that specific page, you have a notification that reads:

“For reference purposes, the program up to this point is available here. If your project doesn’t behave as expected, please compare this source code with your own.”

There’s a similar notification on every subsequent chapter that also includes a link to the source files up to that specific chapter. Before I take a swing at that, have you tried downloading those source files and building for Android using them?

Yeah, the one downloaded from tutorial source is building well. 

But I’m checking code and it is similar. 

Well, at least now we know that the tutorial itself isn’t the problem, which is good. But then we get to the grueling part, which is: “everything is supposed to work, but somehow it isn’t.”

There may be a typo somewhere in the code or with some file, or there may be some Mac specific issue that I have no clue about. I also took a quick glance at the build.settings files and your version has a lot of extra content that the tutorial’s version doesn’t have. Perhaps your culprit is hidden there? Try switching the build.settings and see if it works then.

Yeah, 

I’ve tried to switch build.settings file and all worked. Thanks for help and patience :slight_smile:

Now will try to give it a close look on my build.settings to find out what is the cause of build problem. 

No problem. Remember, one like per day keeps the bugs away. :stuck_out_tongue:

Nah, but on a more serious note, this was one of those issues that would have been very difficult to solve without having access to your project. Especially since the real culprit was in a different file than where the problem was believed to be.