[]构建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;
 
已邀请:

cuixueying

赞同来自:

目前LayaNative不支持3D项目的打包,建议你可以使用第三方的打包工具对3D项目进行打包!

Wmm13811588724

赞同来自:

那就是说不能在android studio的代码中对3d的使用layaPlayer吗?谢谢,我没有直接打包成apk,我是构建成android 
studio的工程,然后用android studio运行代码的,报的错。

要回复问题请先

商务合作
商务合作