title: Android NDK thrid party static library - ndk build giving error : jni/libAT_int.a:1:1: invalid character
body: <p>I'm trying to integrate static library libAT_int.a<br>
  I have successfully integrated it in iOS app.</p>
  
  <p><strong>lipo -info libAT_int.a 
  Architectures in the fat file: libAT_int.a are: armv6 armv7</strong> </p>
  
  <p>But when i'm integrating it with Android NDK. I'm getting error during ndk build
  <strong>error: jni/libAT_int.a:1:1: invalid character</strong></p>
  
  <p><strong>Android.mk  has following content :</strong></p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  
  LOCAL_MODULE    := AT  
  ifeq ($(APP_ABI), armeabi-v7a)
    LOCAL_SRC_FILES := libAT_int.a  
  else
    LOCAL_SRC_FILES := libAT_int.a  
  endif
  LOCAL_CPP_FEATURES += rtti exceptions
  LOCAL_CPP_EXTENSION := .cpp .h
  
  
  include $(PREBUILT_STATIC_LIBRARY)  
  
  include $(CLEAR_VARS)   
  
  LOCAL_MODULE    := MusicSDK
  LOCAL_SRC_FILES := MusicSDK.cpp
  
  LOCAL_CPP_FEATURES += rtti exceptions
  LOCAL_CPP_EXTENSION := .cpp .h
  
  LOCAL_STATIC_LIBRARIES := AT  
  
  
  include $(BUILD_SHARED_LIBRARY)  
  </code></pre>