其中下面的android-support-v4.jar是第三方给的,放入我们的源码下面编译不通过
LOCAL_STATIC_JAVA_LIBRARIES := jarlib1 jarlib2 jarlib3
LOCAL_CERTIFICATE := platform
LOCAL_PACKAGE_NAME := QQMusic
include $(BUILD_PACKAGE)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := jarlib1:libs/android-support-v4.jar jarlib2:libs/mta-sdk-1.0.0.jar jarlib3:libs/open_sdk.jar
在Android.mk文件中我运用了android-support-v4.jar,把这个移除就ok了
LOCAL_STATIC_JAVA_LIBRARIES := jarlib2 jarlib3
LOCAL_CERTIFICATE := platform
LOCAL_PACKAGE_NAME := QQMusic
include $(BUILD_PACKAGE)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := jarlib2:libs/mta-sdk-1.0.0.jar jarlib3:libs/open_sdk.jar