1.eclipse-->import-->packages/apps/phone
2.在android的源码中找到以下文件,这是让工程不报错的关键,本人费了不少劲才把它们揪出来!
//三个依赖库导入并置立其它库之上
out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar
out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar
//copy此文件到本地项目的com.android.phone中
out/target/common/obj/APPS/Phone_intermediates/src/src/com/android/phone/EventLogTags.java
//新建一个包com.android.internal.telephony.gsm,放入此文件
frameworks/base/telephony/java/com/android/internal/telephony/gsm/NetworkInfo.aidl
3.还有一些错误可以按eclipse的提示选最下面的clear一下