Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

can't require file that's in a subfolder on android with latest version
Started by carloscosta Sep 12 2019 09:28 AM

3 replies to this topic

Best Answer carloscosta , 13 September 2019 - 12:39 AM

I changed the name from "scripts.menuCreator" to  "scripts.menu_creator" just to sleep well (i doubt this was the problem but just in case).

 

after that I checked corona new builds and there was one posted yesterday (2019.3525). I installed, made another apk...worked flawless again.

 

so I can't reproduce the bug anymore.

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

carloscosta

[GLOBAL: userInfoPane.html]
carloscosta
  • Contributor

  • 671 posts
  • Corona SDK

when i make a build with 2019.3523, on android it crashes.

same code in mac, with older version (don't know the version). it works flawless.

 

Changed anything to use require???

can't i use require('folder.file") anymore?

how to require a file that's in a subfolder on android now if that's not a bug.

I know subfolder doesn't really exist on android but this code always worked fine before.

 

Attached Files



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

First, thanks for reporting this. I'm going to move it to the Android 64-bit testing forum where our engineering team is keeping a closer watch on common issues. This is the first I've heard of this.

 

Can you produce a simple test case that fails and submit a URL with a link to the .zip file please?

 

Thanks

Rob



[TOPIC: post.html]
#3

carloscosta

[GLOBAL: userInfoPane.html]
carloscosta
  • Contributor

  • 671 posts
  • Corona SDK

  Best Answer

I changed the name from "scripts.menuCreator" to  "scripts.menu_creator" just to sleep well (i doubt this was the problem but just in case).

 

after that I checked corona new builds and there was one posted yesterday (2019.3525). I installed, made another apk...worked flawless again.

 

so I can't reproduce the bug anymore.



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

Filenames are case insensitive on Macs and PC's and thus the simulator. Devices running Android or iOS are case sensitive. That's a possibility.

 

Glad you got it solved.

 

Rob




[topic_controls]
[/topic_controls]