可以看一下这篇博客:http://chengbs.iteye.com/blog/1234990 里面有提到。
解决方案 »
- 关于LiswView CheckBox 全选问题
- android一个初级问题
- 关于samsung I9000中的包
- android https DNS解析问题
- 在静态Receiver类中不能调用非静态的finishActivity怎么办呢?
- 大家有Android自定义控件方面的资料吗?
- android实时视频通信采用rtp/rtsp/rtmp什么协议合适?
- WebView的loadUrl的网址中汉字问题
- android通过其他组件来控制listview中单选按钮的隐藏和显示
- Android 求问一控件
- Socket代码问题
- android如何实现Notification顺序显示完多条通知后消失
我的android.mk
# the library
# =============================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := core/java/xinocomm/hardware/MagcardInfo.java \
core/java/xinocomm/hardware/IHardwareService.aidl \# $(call all-subdir-java-files)LOCAL_MODULE_TAGS := engLOCAL_MODULE := xinocomminclude $(BUILD_JAVA_LIBRARY)# The JNI component
include $(CLEAR_VARS)
include $(call all-makefiles-under,$(LOCAL_PATH))
Aidl: xinocomm <= vendor/xinocomm/frameworks/base/core/java/xinocomm/hardware/IHardwareService.aidl
vendor/xinocomm/frameworks/base/core/java/xinocomm/hardware/IHardwareService.aidl:18: couldn't find import for class xinocomm.hardware.MagcardInfo
make: *** [out/target/common/obj/JAVA_LIBRARIES/xinocomm_intermediates/src/core/java/xinocomm/hardware/IHardwareService.java] 错误 1
就算创建了具体的实现还是无法在gen里生产编译好的java。只要是parcelable的aidl就不行。其他的aidl都可用生产一个java在gen里。奇怪了,我就做了一次在win7里打开aidl文件时选择始终以某edit编辑器打开,就成这样了,原先还好好的。