title: cordova and crashlytics beta build script
body: <p>I am trying to write a script file that builds my apk and uploads it to Crashlytics beta without success.</p>
  
  <pre><code>echo "\n &gt; cordova build android\n"
  cordova build android --release
  
  echo "\n &gt; signing apk\n"
  jarsigner \
    -storepass $STOREPASS \
    -sigalg SHA1withRSA \
    -digestalg SHA1 \
    -keystore $KEYSTORE \
    $APK_PATH \
    $NAME
  
  mkdir -p releases
  zipalign -f -v 4 \
    $APK_PATH \
    $TARGET_PATH
  </code></pre>
  
  <p>the script works perfectly but when I run</p>
  
  <pre><code>java -jar scripts/crashlytics-devtools.jar \
    -projectPath $PROJECT_PATH \
    -androidManifest $PROJECT_PATH/AndroidManifest.xml \
    -androidRes $PROJECT_PATH/res \
    -androidAssets $PROJECT_PATH/assets \
    -apiKey $FABRIC_API_KEY \
    -apiSecret $FABRIC_BUILD_SECRET \
    -uploadDist $APK \
    -verbose
  </code></pre>
  
  <p>it gives me a <code>Exception in thread "main" com.crashlytics.tools.android.DeveloperTools$PluginException: Crashlytics halted compilation because it can't extract Crashlytics build info from the APK</code></p>
  
  <p>Any help?</p>