[]构建3d示例的Android工程,生成nativie的,导入android Studio中运行,报错
错误:LayaAir3D.max.js:13425:TypeError:Cannot read property 'match'of null var tmp=str.match(ShaderCompile3D.INCLUDE)
我怎么才能在android studio中使用LayaPlayer加速器?如你们构建出的android的nativie的代码中
mProxy = new RuntimeProxy(this);
mPlugin = new GameEngine(this);
mPlugin.game_plugin_set_runtime_proxy(mProxy);
mPlugin.game_plugin_set_option("localize","false");
mPlugin.game_plugin_set_option("gameUrl", "");
mPlugin.game_plugin_init(3);
View gameView = mPlugin.game_plugin_get_view();
this.setContentView(gameView);
isLoad=true;
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
cuixueying
赞同来自:
Wmm13811588724
赞同来自:
studio的工程,然后用android studio运行代码的,报的错。