找回密码
 注册
搜索
查看: 1103|回复: 4

[讨论] 求助!高通android编译时出现/bin/bash如下错误,请教高手!小弟刚刚学android.

[复制链接]
发表于 2012-6-12 20:34:09 | 显示全部楼层 |阅读模式
target R.java/Manifest.java: FrameworkCoreTests_install_use_perm_good (out/target/common/obj/APPS/FrameworkCoreTests_install_use_perm_good_intermediates/src/R.stamp)
target R.java/Manifest.java: FrameworkCoreTests_install_uses_feature (out/target/common/obj/APPS/FrameworkCoreTests_install_uses_feature_intermediates/src/R.stamp)
target Prebuilt: libarity (out/target/product/msm7627a_sku3/obj/JAVA_LIBRARIES/libarity_intermediates/javalib.jar)
target Prebuilt: my-jar-lib (out/target/product/msm7627a_sku3/obj/JAVA_LIBRARIES/my-jar-lib_intermediates/javalib.jar)
target Prebuilt: tyd_libarity (out/target/product/msm7627a_sku3/obj/JAVA_LIBRARIES/tyd_libarity_intermediates/javalib.jar)
Target persist fs image: out/target/product/msm7627a_sku3/persist.ori.img - yaffs2
Target persist fs image: out/target/product/msm7627a_sku3/persist.ori.img - ext4
/bin/bash: -c: line 0: 查找““”的匹配字符时发现意外的EOF
/bin/bash: -c: line 1:语法错误:不可预料的文件末尾
make: *** [out/target/product/msm7627a_sku3/persist.ori.img] 错误? 1
make: *** 正在删除文件”out/target/product/msm7627a_sku3/persist.ori.img“
make: *** 正在等待未完成的任务....



小弟刚学,是不是环境哪里没有配好?还有,高通可以在哪里看到编译时的错误信息吗?
发表于 2012-6-14 11:28:48 | 显示全部楼层
/bin/bash: -c: line 0: 查找““”的匹配字符时发现意外的EOF
/bin/bash: -c: line 1:语法错误:不可预料的文件末尾

Judging by these error messages that were shown during your build, there are some procedures to help you how to debug when errors come up.

1> First, try positioning yourself to the first error message while compiling.

In your case, it's so easy to get the first error message, which is saying "/bin/bash: -c: line 0: can't match another double quotes". As a result, /bin/bash started complaining about "syntax error: unexpected end of file."

2> Narrow it down if not finding out root cause
$ make clean ( or make clobber) # to get an clean env
$ make -j4 showcommands # to show every command excuted in more details

3> Repeat 1 to 2

Hope that there is a little bit help out there. And, enjoy Android. :)
点评回复

使用道具 举报

 楼主| 发表于 2012-6-13 16:13:47 | 显示全部楼层
在ubuntu 的root权限下可以编译通过,在普通用户权限下无法编译通过。不知道什么原因.难道是配置的时候哪个文件的配置权限出现问题?搞不明白。
点评回复

使用道具 举报

 楼主| 发表于 2012-6-13 09:18:55 | 显示全部楼层
java1.6.0_30版本
点评回复

使用道具 举报

发表于 2012-6-13 08:49:29 | 显示全部楼层
java版本是多少?
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-24 02:04 , Processed in 0.043248 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表