搞错了,ndk可以自动编译.h里面的代码的 2010/12/24 赵杨阳 <[email protected]>: > You can try to implement in a .cpp file and when you need to use the class, > #include "xxx.cpp"? > > 2010/12/24 袁堂夫 <[email protected]> >> >> As you know that template classes are implemented in the ".h" >> header files, and the ndk is not build the ".h" files. >> >> When the ndk link the obj files, it will failed that the template >> classes are not implemented. >> >> Who can help me fix this? Thank you very much, please~ >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

