{"id":1455,"date":"2015-01-01T10:24:05","date_gmt":"2015-01-01T02:24:05","guid":{"rendered":"https:\/\/www.ookangzheng.com\/?p=1455"},"modified":"2020-05-24T16:00:27","modified_gmt":"2020-05-24T08:00:27","slug":"ionicframework-%e8%b3%87%e6%96%99%e6%95%b4%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.ookangzheng.com\/ionicframework-%e8%b3%87%e6%96%99%e6%95%b4%e7%90%86\/","title":{"rendered":"ionicFramework \u8cc7\u6599\u6574\u7406"},"content":{"rendered":"
<\/p>\n
\u6211\u9019\u88e1\u4e3b\u8981\u91dd\u5c0d\u81ea\u5df1\u4f7f\u7528ionic\u958b\u767c\u7684HybirdApp \u7a2e\u7a2e\u554f\u984c\u7684\u8a18\u9304\u548c\u89e3\u7b54<\/p>\n
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048<\/span> -validity 10000<\/code><\/pre>\n<\/li>\n- \u63a5\u4e0b\u4f86\u78ba\u4fdd\u60a8\u7684\u96fb\u8166\u53ef\u4ee5\u57f7\u884c jarsigner\u6307\u4ee4\uff0c\u904e\u5f8c\u57f7\u884c\n
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore CordovaApp-release-unsigned.apk alias_name<\/code><\/pre>\n<\/li>\n- \u6700\u5f8c\u57f7\u884czipalign\n
zipalign -v 4<\/span> CordovaApp-release-unsigned.apk HelloWorld.apk<\/code><\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n- \u5347\u7d1aionic Lib\u7684\u6642\u5019\u5982\u4f55\u5347\u7d1a\n
\n- \u5728\u8a72\u6a94\u6848\u76ee\u9304\u4e0b\u57f7\u884c ionic lib update<\/li>\n<\/ol>\n<\/li>\n
- \u5347\u7d1aionic CLI \u5982\u4f55\u5462\uff1f\n
\n- npm update -g ionic<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"
\u6211\u9019\u88e1\u4e3b\u8981\u91dd\u5c0d\u81ea\u5df1\u4f7f\u7528ionic\u958b\u767c\u7684HybirdApp \u7a2e\u7a2e\u554f\u984c\u7684\u8a18\u9304\u548c\u89e3\u7b54 \u5982\u4f55\u5b89\u88ddIonic \u78ba\u4fdd\u96fb\u8166\u5b89\u88dd\u4e86Nodejs\uff0c\u57f7\u884c\u5168\u5c40\u5b89\u88dd npm install -g cordova ionic bower \u5728\u6bd4\u5982Desktop \u5275\u5efaProject, \u57f7\u884c ionic start myApp blank \u5168\u767d, blank, tabs,…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-1455","post","type-post","status-publish","format-standard","hentry","category-front-end"],"_links":{"self":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts\/1455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/comments?post=1455"}],"version-history":[{"count":0,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts\/1455\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/media?parent=1455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/categories?post=1455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/tags?post=1455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}