Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 2nd, 2012  |  syntax: None  |  size: 0.22 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Get android:versionName with shell command
  2. grep versionName ./AndroidManifest.xml
  3.        
  4. android:versionName="1.0">
  5.        
  6. perl -e 'while($line=<>) { if ($line=~ /versionNames*=s*"([^"]+)"/) { print "$1n";}}' <AndroidManifest.xml