{"id":2356,"date":"2010-12-16T11:31:13","date_gmt":"2010-12-16T02:31:13","guid":{"rendered":"http:\/\/www.ekesete.net\/log\/?p=2356"},"modified":"2010-12-16T21:26:33","modified_gmt":"2010-12-16T12:26:33","slug":"apk%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%86%85%e9%83%a8%e3%82%92%e6%9b%b8%e3%81%8d%e6%8f%9b%e3%81%88%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.ekesete.net\/log\/?p=2356","title":{"rendered":"apk\u30d5\u30a1\u30a4\u30eb\u5185\u90e8\u3092\u66f8\u304d\u63db\u3048\u308b"},"content":{"rendered":"<p>\u3059\u3067\u306b\u5b8c\u6210\u3057\u3066\u3044\u308bpackage.apk\u5185\u306e\u30ea\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3084so\u30d5\u30a1\u30a4\u30eb\u3092\u624b\u52d5\u3067\u5165\u308c\u66ff\u3048\u305f\u3044\u5834\u5408\u306e\u8a71\u3002<\/p>\n<p>package.apk\u306fzip\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001\u30a2\u30fc\u30ab\u30a4\u30d0\u3067\u5c55\u958b\u3002<br \/>\n\u3053\u3053\u3067\u306fpackage\u30d5\u30a9\u30eb\u30c0\u306b\u5c55\u958b\u3057\u305f\u3068\u3057\u307e\u3059\u3002<br \/>\n\u5909\u66f4\u3057\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304d\u63db\u3048\u3002<\/p>\n<p>\\sdk\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d5\u30a9\u30eb\u30c0\\tools \u3078\u79fb\u52d5<br \/>\napkbuilder.bat\u3068\u3044\u3046\u306e\u304c\u3042\u308b\u306f\u305a\u3002<\/p>\n<blockquote><p>\n>apkbuilder.bat<br \/>\nA command line tool to package an Android application from various sources.<br \/>\nUsage: apkbuilder <out archive> [-v][-u][-storetype STORE_TYPE] [-z inputzip]<br \/>\n            [-f inputfile] [-rf input-folder] [-rj -input-path]<\/p>\n<p>    -v      Verbose.<br \/>\n    -d      Debug Mode: Includes debug files in the APK file.<br \/>\n    -u      Creates an unsigned package.<br \/>\n    -storetype Forces the KeyStore type. If ommited the default is used.<\/p>\n<p>    -z      Followed by the path to a zip archive.<br \/>\n            Adds the content of the application package.<\/p>\n<p>    -f      Followed by the path to a file.<br \/>\n            Adds the file to the application package.<\/p>\n<p>    -rf     Followed by the path to a source folder.<br \/>\n            Adds the java resources found in that folder to the application<br \/>\n            package, while keeping their path relative to the source folder.<\/p>\n<p>    -rj     Followed by the path to a jar file or a folder containing<br \/>\n            jar files.<br \/>\n            Adds the java resources found in the jar file(s) to the application<br \/>\n            package.<\/p>\n<p>    -nf     Followed by the root folder containing native libraries to<br \/>\n            include in the application package.\n<\/p><\/blockquote>\n<p>\u3068\u306e\u3053\u3068\u3002<br \/>\n\u4eca\u56de\u306e\u5834\u5408\u306f<\/p>\n<blockquote><p>\n apkbuilder.bat package.apk -rf package\u30d5\u30a9\u30eb\u30c0 [-nf native\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30eb\u30c0]\n<\/p><\/blockquote>\n<p>-nf\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306fpackage\\lib\u4ee5\u4e0b\u306b\u7f6e\u304f\u306e\u3068\u540c\u3058\u52d5\u4f5c\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\npackage\\lib\u4ee5\u4e0b\u306b\u540c\u3058\u69cb\u6210\u3067\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u3082\u306e\u304c\u3042\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3067\u3001<br \/>\npackage\\lib\u4ee5\u4e0b\u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u308c\u3070-nf\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u304c\u304b\u3076\u3089\u306a\u3044\u5834\u5408\u306b\u306f<\/p>\n<blockquote><p>\n apkbuilder.bat package_new.apk -z package.apk -nf native\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30eb\u30c0\n<\/p><\/blockquote>\n<p>\u307f\u305f\u3044\u306a\u6307\u5b9a\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u3068\u306f\u3044\u3048native\u306eso\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u8ffd\u52a0\u3068\u304b\u3044\u3046\u3053\u3068\u306f\u3042\u307e\u308a\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u3069\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3059\u3067\u306b\u5b8c\u6210\u3057\u3066\u3044\u308bpackage.apk\u5185\u306e\u30ea\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3084so\u30d5\u30a1\u30a4\u30eb\u3092\u624b\u52d5\u3067\u5165\u308c\u66ff\u3048\u305f\u3044\u5834\u5408\u306e\u8a71\u3002 package.apk\u306fzip\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001\u30a2\u30fc\u30ab\u30a4\u30d0\u3067\u5c55\u958b\u3002 \u3053\u3053\u3067\u306fpackage\u30d5\u30a9\u30eb\u30c0\u306b\u5c55\u958b\u3057\u305f\u3068\u3057\u307e\u3059\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.ekesete.net\/log\/?p=2356\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[45],"class_list":["post-2356","post","type-post","status-publish","format-standard","hentry","category-android","tag-android"],"_links":{"self":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts\/2356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2356"}],"version-history":[{"count":15,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts\/2356\/revisions"}],"predecessor-version":[{"id":2374,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=\/wp\/v2\/posts\/2356\/revisions\/2374"}],"wp:attachment":[{"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ekesete.net\/log\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}