使用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,花费了整整一天多的时间去排查,可见代码审查是多么的重要。。

更多相关文章

  1. android 设置bitmap 设置图片的大小
  2. Android(安卓)Studio1.5 配置Android(安卓)annotations
  3. 【方案汇总】在C/C++中使用Android(安卓)Log导致编译失败的问题
  4. 定制Android版本的chromium之笔记
  5. 【Android】Android(安卓)Studio使用gradle导出jar包并混淆代码
  6. Android的SeekBar和RateBar的使用-android学习之旅(三十二)
  7. COCOS2D-X编译成android的项目
  8. [转]android 基础知识
  9. 坑爹的Android新ADT

随机推荐

  1. 详解mysql中if函数的正确使用姿势
  2. MySQL 8.0.18 Hash Join不支持left/right
  3. 关于MySQL死锁问题的深入分析
  4. Windows下MySQL8.0.18安装教程(图解)
  5. Mysql字符串截取及获取指定字符串中的数
  6. 解决大于5.7版本mysql的分组报错Expressi
  7. MacOS下mysql 8.0.18 安装配置方法图文教
  8. java连接mysql底层封装详解
  9. Java连接Mysql 8.0.18版本的方法详解
  10. MySQL limit使用方法以及超大分页问题解