需要你手工建一个包,同时创AIDL文件,把下面的内容copy过去。http://www.netmite.com/android/mydroid/1.5/frameworks/base/telephony/java/com/android/internal/telephony/ITelephony.aidl
解决方案 »
- new ImageSwitcher.LayoutParams(-1, -1)什么意思?为什么要设置为-1
- 模拟器死掉
- android界面向左倾斜,似推门的效果,如何实现求解,求代码
- Android蓝牙通信是怎么获取串口数据?请做过蓝牙通信的高手们帮忙看一下
- android小知识汇总帖
- 请问如何用 command 连接 wpa2-enterprise 无线加密?
- android操作系统手机的“启动数据访问功能”
- JNI传递十六进制字符串参数问题
- Android 自定义surfaceview作为背景
- 谁有Android SDK Build Tools revision 19.1.0?
- 一个android的新浪微博sdk的问题
- WindowManager addView崩溃
you have to change the access policy of the jar (in the build section, in eclipse) – njzk2 Dec 18 '12 at 9:49
It's not eclipse thing,I work in build system environment,working on system app,and one of my app needs to import com.android.internal.policy.impl.xxxs.java,but build system show errors like com.android.internal.policy.impl does not exist. – futurexiong Dec 18 '12 at 10:49
A/ check in the jar if the class is indeed present. if it is, B/ check the content of the manifest. there may be the access rules there that forbids biding to it – njzk2 Dec 18 '12 at 13:30
Finally I add LOCAL_JAVA_LIBRARIES := android.policy framework in Android.mk, and it works.
futurexiong
11828
add a comment
就是在整个android工程,包含全部源代码,先整体编译一下android工程,再编译你的应用