[android NDK] 1, error: unknown type name 'class' 原因:定义类的实现方法所在的问题的后缀名不是*.cpp 解决方法:将.c改成.cpp 转载于:https://www.cnblogs.com/black/p/5171621.html