<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panfiderebibamasuta</author_name>
  <author_url>https://blog.hatena.ne.jp/panfiderebibamasuta/</author_url>
  <blog_title>ITエンジニア見習いのメモブログ</blog_title>
  <blog_url>https://elvertechnicalnote.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>apkしか手元にない状態でどうしてもversionNameとversionCodeを知る必要があったのでメモ。Androidmanifest.xmlをapkファイルから取得して、そこからversionNameとversionCodeを取得します。 方法 aaptコマンドを利用する (aaptコマンドは/sdk/build-tools/sdkバージョン以下に存在します) aapt dump xmltree [apk名] AndroidManifest.xml &gt; [出力テキストファイル名] 以上です。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Felvertechnicalnote.hatenablog.jp%2Fentry%2F2018%2F04%2F06%2F162638&quot; title=&quot;【Android】versionNameとversionCode情報をapkから取得する - ITエンジニア見習いのメモブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-04-06 16:26:38</published>
  <title>【Android】versionNameとversionCode情報をapkから取得する</title>
  <type>rich</type>
  <url>https://elvertechnicalnote.hatenablog.jp/entry/2018/04/06/162638</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
