我需要使用一些原生的C / C ++在我的项目,所以我需要使用NDK。有没有一种简单的方法来设置它在Eclipse?
I need to use some native c/c++ in my project, so I need to use the NDK. Is there an easy way to set it up in eclipse?
感谢。
好吧,以后我花了一些时间尝试,我可以说,对于一个初学者,开始在Eclipse中使用NDK的最好方法是先过这教程: http://marakana.com/forums/android/examples/49.html 简单地创建了JNI文件夹中必要的文件(但不要做别的事情)。然后,你应该阅读 http://mobilepearls.com/labs/ndk-builder-in -eclipse / 并按照步骤。然后,你准备好了。
Ok, after I spent some time experimenting, I can say that the best way for a beginner to start using NDK in eclipse is first to go over this tutorial: http://marakana.com/forums/android/examples/49.html and simply create the necessary files for the jni folder (but don't do anything else). Then you should read this http://mobilepearls.com/labs/ndk-builder-in-eclipse/ and follow the steps. Then you are ready.
上一篇:相机preVIEW是越来越捉襟见肘捉襟见肘、相机、preVIEW
下一篇:“IllegalStateException异常:活动已被破坏”何时“getSupportFragmentManager()”被称为活动启动后已被、被称为、异常、IllegalStateExcepti