# can't require file that's in a subfolder on android with latest version

**URL:** <https://forums.solar2d.com/t/cant-require-file-thats-in-a-subfolder-on-android-with-latest-version/149934>\
**Category:** Android 64-bit testing\
**Created:** [September 12, 2019, 5:28pm UTC](https://forums.solar2d.com/t/cant-require-file-thats-in-a-subfolder-on-android-with-latest-version/149934 "2019-09-12T17:28:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![carloscosta](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/c/8edcca/32.png) [@carloscosta](https://forums.solar2d.com/u/carloscosta)\
**Post date:** [September 12, 2019, 5:28pm UTC](https://forums.solar2d.com/t/cant-require-file-thats-in-a-subfolder-on-android-with-latest-version/149934/1 "2019-09-12T17:28:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 12, 2019, 9:27pm UTC](https://forums.solar2d.com/t/cant-require-file-thats-in-a-subfolder-on-android-with-latest-version/149934/2 "2019-09-12T21:27:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![carloscosta](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/c/8edcca/32.png) [@carloscosta](https://forums.solar2d.com/u/carloscosta)\
**Post date:** [September 13, 2019, 8:39am UTC](https://forums.solar2d.com/t/cant-require-file-thats-in-a-subfolder-on-android-with-latest-version/149934/3 "2019-09-13T08:39:20Z")

</div>

I changed the name from “scripts.menuCreator” to&nbsp; “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.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 13, 2019, 12:19pm UTC](https://forums.solar2d.com/t/cant-require-file-thats-in-a-subfolder-on-android-with-latest-version/149934/4 "2019-09-13T12:19:07Z")

</div>

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
