首页 > 移动平台 > 详细

【Android】ant编译aidl的错误

时间:2014-03-21 16:26:42      阅读:674      评论:0      收藏:0      [点我收藏+]

使用ant编译Android应用程序工程时,出现的错误:

错误信息(Cygwin):

[aidl] This application has requested the Runtime to terminate it in an unusual way. 
[aidl] Please contact the application‘s support team for more information.

错误信息(Linux):

[aidl] terminate called after throwing an instance of ‘std::logic_error‘
[aidl] what(): basic_string::_S_construct null not valid

 

解决方法:

请检查你的 src/**/*.aidl 中是否缺少一行 "package xxx.yyy.zzz;"。

 

问题总结:

代码中小小的Bug,花费了整整一天多的时间去排查,可见代码审查是多么的重要。。

【Android】ant编译aidl的错误,布布扣,bubuko.com

【Android】ant编译aidl的错误

原文:http://www.cnblogs.com/scue/p/3615954.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!