追索权 Eclipse + NDK error: stray '\\24' in program

為{幸葍}努か 提交于 2020-02-17 23:21:58
[size=16px][b][color=#FF0000]追索权 Eclipse + NDK  error: stray '\24' in program[/color][b][/b][/b][/size]
最近的研究JNI采纳Eclipse+NDKR7B建好开发环境 依照网上教的步骤build 什么都配好了写了个最简单的样例,clean以后就出现该异常非常是头疼。异常信息:
"Compile thumb : TestNdk <= com_example_testndk_JniClient.c


jni/com_example_testndk_JniClient.c:1: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:1: error: stray '#' in program
jni/com_example_testndk_JniClient.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e'
jni/com_example_testndk_JniClient.c:1: error: stray '\210' in program
jni/com_example_testndk_JniClient.c:1:6: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:1:9: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:1:22: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1:29: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\340' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\22' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\23' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\222' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\10' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\237' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\10' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\35' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\36' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\25' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\361' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\266' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\20' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\355' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\5' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\315' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\35' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\323' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\32' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\25' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\21' in program
jni/com_example_testndk_JniClient.c:2:4: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:2: error: stray '\255' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\275' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\205' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\353' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\272' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\237' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\10' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\355' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\233' in program
jni/com_example_testndk_JniClient.c:2:80: error: invalid suffix "N" on integer constant
jni/com_example_testndk_JniClient.c:2: error: stray '\212' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\360' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\23' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\204' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\220' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\235' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\310' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\325' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\307' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\262' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\355' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\274' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\243' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\370' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\227' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\310' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\344' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\305' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\312' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\303' in program
jni/com_example_testndk_JniClient.c:2:113: warning: null character(s) preserved in literal
jni/com_example_testndk_JniClient.c:2:113: warning: missing terminating ' character
jni/com_example_testndk_JniClient.c:2: error: missing terminating ' character
jni/com_example_testndk_JniClient.c:3: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\375' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\257' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\211' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\244' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\231' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\354' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\244' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\345' in program
jni/com_example_testndk_JniClient.c:3: error: stray '#' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\216' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\4' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\255' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\321' in program
jni/com_example_testndk_JniClient.c:3:24: warning: null character(s) preserved in literal
jni/com_example_testndk_JniClient.c:3:24: warning: missing terminating " character
jni/com_example_testndk_JniClient.c:3: error: missing terminating " character
jni/com_example_testndk_JniClient.c:4: error: stray '\250' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\313' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\37' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\332' in program
jni/com_example_testndk_JniClient.c:4: error: stray '#' in program
jni/com_example_testndk_JniClient.c:4:9: error: invalid suffix "m" on integer constant
jni/com_example_testndk_JniClient.c:4: error: stray '\262' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\251' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\33' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\334' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\351' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\240' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\240' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\321' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\274' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\21' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\330' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\16' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\272' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\33' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\352' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\261' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\222' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\330' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\205' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\225' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\4' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\216' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\325' in program
jni/com_example_testndk_JniClient.c:4:44: error: invalid suffix "D" on integer constant
jni/com_example_testndk_JniClient.c:4: error: stray '\211' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\333' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\251' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\232' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\324' in program
jni/com_example_testndk_JniClient.c:4: error: stray '@' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\234' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\244' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\17' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\311' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\333' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\365' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\370' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\236' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\201' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\331' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\301' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\335' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\32' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\212' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\31' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\316' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\20' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\356' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\274' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\217' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\341' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\276' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\231' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\372' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\236' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\376' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\273' in program
jni/com_example_testndk_JniClient.c:6: error: stray '`' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\33' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\262' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\341' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\342' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\17' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\322' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\214' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\230' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\211' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\307' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\323' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\224' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\316' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\360' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\313' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\237' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\177' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\226' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\242' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\235' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\17' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\353' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\206' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\361' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\351' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\366' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\7' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\301' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\25' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\372' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\333' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\347' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\213' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\242' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\210' in program
jni/com_example_testndk_JniClient.c:7:2: warning: missing terminating " character
jni/com_example_testndk_JniClient.c:7: error: missing terminating " character
make: *** [obj/local/armeabi/objs/TestNdk/com_example_testndk_JniClient.o] Error 1


PS
1在NDK-R7B的解压包里面simple中的hello-jni样例上创建项目又没有出现该问题;
2删除jni/com_example_testndk_JniClient.c 所有的代码编译通过没问题。
3仅仅在jni/com_example_testndk_JniClient.c 写入一句代码(敲进去的):#include <stdio.h>
仍然报出异常信息:
"Compile thumb : TestNdk <= com_example_testndk_JniClient.c


jni/com_example_testndk_JniClient.c:1: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:1: error: stray '#' in program
jni/com_example_testndk_JniClient.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e'
jni/com_example_testndk_JniClient.c:1: error: stray '\6' in program
jni/com_example_testndk_JniClient.c:1:6: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\222' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\343' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\246' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\224' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\245' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\207' in program
make: *** [obj/local/armeabi/objs/TestNdk/com_example_testndk_JniClient.o] Error 1


请有合作伙伴的这个问题谁指点一下如何解决,谢谢求!

版权声明:本文博客原创文章,博客,未经同意,不得转载。

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!