# How to get non-asset file in mobileplatform such as android?

**URL:** <https://forums.unrealengine.com/t/how-to-get-non-asset-file-in-mobileplatform-such-as-android/399601>\
**Category:** Mobile\
**Tags:** package, Mobile, unreal-engine, iOS, Android, question\
**Created:** [July 3, 2017, 12:55pm UTC](https://forums.unrealengine.com/t/how-to-get-non-asset-file-in-mobileplatform-such-as-android/399601 "2017-07-03T12:55:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asqbtcupid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@asqbtcupid](https://forums.unrealengine.com/u/asqbtcupid)\
**Post date:** [July 3, 2017, 12:55pm UTC](https://forums.unrealengine.com/t/how-to-get-non-asset-file-in-mobileplatform-such-as-android/399601/1 "2017-07-03T12:55:04Z")

</div>

I have made an plugin to implement Lua to UE4,I put luasource code in the /content folder,When package i add the luasource directory to additional non-asset setting.In the c++ code,I use FPaths::GameDir()+"/content" to find the lua source code file.It works well in windows platform while not success in Android.This is my project, [GitHub - asqbtcupid/unreal.lua: lua solution for UnrealEngine4](https://github.com/asqbtcupid/unreal.lua) ,So my question is How to find a non-asset file in content folder in mobile platform, such as Android and IOS.thank you

---

<div class="post-metadata">

**Author:** ![TedGillXDD1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TedGillXDD1](https://forums.unrealengine.com/u/TedGillXDD1)\
**Post date:** [August 15, 2022, 6:04am UTC](https://forums.unrealengine.com/t/how-to-get-non-asset-file-in-mobileplatform-such-as-android/399601/2 "2022-08-15T06:04:42Z")

</div>

In iOS you can easily get the project content path by the code below

```auto
NSString* path = [NSString stringWithFormat:@"%@%@", [[NSBundle mainBundle]resourcePath], @"/cookeddata/your game name/content"];

```

The only thing you should notice is that the characters in the ios path have to be lowercase.  
But I still have the problem in Android apk. Is anyone can provide a solution to solve this problem?
