我们编译ndk的程序时出现的错误 Method 'NewStringUTF' could not be resolved ,解决方法如下。工程目录区,右键点击项目名称 --> Properties --> C/C++ General --> Code Analysis ,后面如下图:
取消掉 Method cannot be resolved前面的对勾。然后clean项目,再编译。
我们编译ndk的程序时出现的错误 Method 'NewStringUTF' could not be resolved ,解决方法如下。工程目录区,右键点击项目名称 --> Properties --> C/C++ General --> Code Analysis ,后面如下图:
取消掉 Method cannot be resolved前面的对勾。然后clean项目,再编译。