您必须
intValue在Integer实例上调用该方法以获得其原始值。使用
FindClass替代
GetObjectClass(如在你的代码),以获得对类java.lang.Integer中的引用,然后
GetMethodID与
CallObjectMethod实际调用的
intValue方法。

您必须
intValue在Integer实例上调用该方法以获得其原始值。使用
FindClass替代
GetObjectClass(如在你的代码),以获得对类java.lang.Integer中的引用,然后
GetMethodID与
CallObjectMethod实际调用的
intValue方法。