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

时间:2022-12-23 12:52:29

[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





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

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

追索权 Eclipse + NDK error: stray &#39;\24&#39; in program的更多相关文章

  1. Unparseable date&colon; &quot&semi;Mon Aug 15 11&colon;24&colon;39 CST 2016&quot&semi;&comma;时间格式转换异常

    String datestr= "Mon Aug 15 11:24:39 CST 2016";//Date的默认格式显示 Date date=new SimpleDateForma ...

  2. WINDOWS系统Eclipse&plus;NDK&plus;Android &plus; OpenCv

    WINDOWS系统Eclipse+NDK+Android + OpenCv 参考文档博客 1 NDK环境搭建 http://jingyan.baidu.com/article/5d6edee22d90 ...

  3. Eclipse NDK 配置,无需安装Cygwin

    Eclipse NDK 配置,不用安装Cygwin 文章转自http://www.cnblogs.com/chenjiajin/archive/2012/04/12/2444188.html 一.关于 ...

  4. error&colon; stray &&num;39&semi;&bsol;357&&num;39&semi; in program编程出错的总结

    错误: 编译报错:error: stray '\357' in program 原因:在程序中打入了全角字符   具体分析产生原因: 在编程中,由于打字的快速,按下ctrl键后紧接着按下了space键 ...

  5. Error&colon;stray &&num;39&semi;&bsol;243&&num;39&semi; in program

    c++ 程序出现 Error:stray '\243' in program 错误 错误情况: 错误原因: 有不标准的 ASCII 字符出现,一般是中英文问题,比如 :or ;     , or ,等 ...

  6. eclipse里error报错Target runtime com&period;genuitec&period;runtime&period;generic&period;jee60 is not defined&period;

    eclipse里error报错Target runtime com.genuitec.runtime.generic.jee60 is not defined. eclipse里error报错解决办法 ...

  7. 启动eclipse出现&OpenCurlyDoubleQuote;Error opening registry key &&num;39&semi;software&bsol;Javasoft&bsol;Java Runtime Environment&&num;39&semi;”

    启动eclipse出现“Error opening registry key 'software\Javasoft\Java Runtime Environment'”,“java was start ...

  8. adt eclipse 配置问题 error&colon;could not open &period;&period;&period;jvm&period;cfg

    在安装adt eclipse后,打开eclipse提示error:could not open eclipse\jre\lib\amd64\jvm.cfg 据网上显示原因应该是以前安装过java,然后 ...

  9. error&colon; stray &&num;39&semi;&bsol;343&&num;39&semi; in program 问题解决

          当我们从网上copy一段代码后,总会出现这个问题.博主在Arduino环境中也出现了,so,这个问题应该是C语言和C++编译器中才会出现的. test_int:19: error: str ...

随机推荐

  1. js版面向对象图片放大镜

    <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>放 ...

  2. Eclipse导入Tomcat源码(转)

    想要研究下Tomcat的体系结构或者源码,最好将Tomcat的源码导入到ide中,编写实例进行代码跟踪(debug). 这里参考了网上一些资料,将自己操作过程记个流水账. 准备: 1.Tomcat源码 ...

  3. 记录mysql的具体操作明细

    在MySQL中使用init-connect与binlog来实现用户操作追踪记录 2014-07-28 20:55:38 分类: MySQL 前言:测试环境莫名其妙有几条重要数据被删除了,由于在binl ...

  4. PHP 支持中文目录和文件的的遍历:文件编码转换

    在使用 readdir() 遍历指定目录时,使中文目录和文件名都正常显示需要使用 iconv() 进行文件编码转换: <?php header("Content-type:text/h ...

  5. Java四种线程池newCachedThreadPool&comma;newFixedThreadPool&comma;newScheduledThreadPool&comma;newSingleThreadExecutor

    1.new Thread的弊端 执行一个异步任务你还只是如下new Thread吗? Java new Thread(new Runnable() { @Override public void ru ...

  6. Android Apk反编译得到Java源代码

    大家做Android开发,看到别人应用里一些好的功能,是不是很想得到源码,借鉴一下?既然Android是用JAVA开发的,那么我们就能很容易的通过反编译的到应用的源代码.下面我简单介绍下应该怎么操作. ...

  7. 环境判断:区别h5打开还是weixin打开?

    var source_platform = '' , pf_source = 2; //系统平台 //区别是否是 微信浏览器 , source_platform 系统平台 2018.12.6新增 va ...

  8. mysql 数据库的数据类型

  9. c&num; 后台分页 jqgrid

    /// <summary> /// 获取设备数量 /// </summary> /// <param name="Organid">单位ID&l ...

  10. Python基础03&lowbar;pycharm

    pycharm的安装还是很简单的,一路next. 看起来Jet Brains 家的产品长相都差不多啊. 主要是create new project时,路径和解释器的选择,我电脑上有2.7和3.6 所以 ...