I'm unable to get WiEngine skeleton project to run

落爺英雄遲暮 提交于 2019-12-08 11:31:42

问题


So I'm trying to port some cocos2d iOS apps over to Android and it looks like WiEngine is the most fully featured port of cocos2d to android ( http://www.wiyun.com/web/wiengine ), however I'm having issues getting the skeleton project to run. The latest problem I'm running into is I get a "Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/wiyun/engine/skeleton/Skeleton" error in the ADB. I'm trying to run it in the emulator which also may be an issue. I'm kind of stuck because i need to see if I can get certain things to work (particle effects etc) before i can justify a hardware purchase.

Originally I tried to import the Skeleton project into eclipse but ran into too many errors so i created a blank android project with the same package name as the skeleton project and added the libraries to the build path through properties>libraries>add external Jars

the project compiles but it crashes as soon as it tries to initialize the Skeleton class here is the console stuff:

http://pastebin.com/XAc0XYiA

Appreciate any help on this.

Thanks,

Nick


回答1:


You have to include JNI accessible precompiled libraries to you project. You can find them on the SDK archive.




回答2:


For running your WiEngine Projects you have to add the WiEngine Library which is available when you download it from Github.

https://github.com/stubma/WiEngine

You can add library: Right click on your Project-> Properties->Android->Library->Add WiEngine



来源:https://stackoverflow.com/questions/7284378/im-unable-to-get-wiengine-skeleton-project-to-run

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!