Generating projects for Android...

46 views
Skip to first unread message

Tarmo Pikaro

unread,
Dec 30, 2016, 2:43:10 PM12/30/16
to Premake Development
Hi !

I have raised issue on Android support - https://github.com/premake/premake-core/issues/665

Found also that there exists some non-official patch - mentioned here: https://groups.google.com/forum/#!topic/premake-development/_Li3KtW6zvA/discussion

But what I have tried - it does not works out of box.

Command line arguments: --scripts=$(ProjectDir)/. --file=test.lua android

Produces error like this:

** Warning: module 'premake-vsandroid' should return function from _preload.lua
Building configurations...
Running action 'android'...
Error: .../premake-core/modules/premake-vsandroid/_preload.lua:248: attempt to i
ndex field 'vsandroid' (a nil value)
stack traceback:
        .../premake-core/modules/premake-vsandroid/_preload.lua:248: in function
 'onProject'
        ...:/prototyping/tools/premake-core/src/base/action.lua:108: in function
 'call'
        ...prototyping/tools/premake-core/src/_premake_main.lua:330: in function
 '?'
        ...totyping/tools/premake-core/src/base/_foundation.lua:108: in function
 'callArray'
        ...prototyping/tools/premake-core/src/_premake_main.lua:371: in function
 <...prototyping/tools/premake-core/src/_premake_main.lua:370>

I've could also start to code official support to premake, if you can give me some assistance on how scripts works internally, and how whole feature could be integrated.

Skype / audio would be better to chat. 
Reply all
Reply to author
Forward
0 new messages