Hi!
Anyone have this error when trying export android project on mac os? (Gideros 2018.3)
Java Path:/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/jre
Android SDK Path:/Users/macbook/Library/Android/sdk
Lua error:[string "require "lfs"..."]:33: bad argument #1 to 'max' (number expected, got nil)
Export failed! See details above.
Please help me! Thanks!
Coming soon
Comments
Likes: vitalitymobile
Likes: vitalitymobile
Thanks!
But In my export project panel, I cannot find Plugins button.
So basically, I just open the example project, File/ Export project And then press OK
Also, I can not find where to enable or disable Macros, search in both Project setting and Gideros Studio Settings.
Thanks for your help!
EDIT: it seems that there is an unusual folder name in your android SDK/platform directory. Gideros expects them to be named android-x where x is a number but somehow your must be having one such folder where x isn’t a number
Likes: vitalitymobile
We can now export if remove that folder. Maybe you want to update "android tooling detection routine ". Thank so much @hgy29 !!!!
Another question remains is where plugins button and how to disable macros?
There is no more plugins button, you can add/remove plugins by right clicking on the 'Plugins' folder in your project tree. For macros, you can't disbale them, just use them or not, but macros weren't the issue after all.
Likes: vitalitymobile
I just ask how to disable Macros because some library script (For example Moses https://github.com/Yonaba/Moses) using include as function name and conflict with Macros keyword, so I have to rename function if want to use in the project.
All problem now is gone! Thank so much @hgy29 !