您的位置:首页 > 大数据 > 人工智能

[aidl] terminate called after throwing an instance of 'std::logic_error' [aidl] what(): basic_string

2015-01-21 15:09 746 查看
原文链接

使用ant编译android程序时,报错如下

[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,花费了整整一天多的时间去排查,可见代码审查是多么的重要。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐