{"id":167282,"date":"2020-10-12T08:53:05","date_gmt":"2020-10-12T00:53:05","guid":{"rendered":"http:\/\/4563.org\/?p=167282"},"modified":"2020-10-12T08:53:05","modified_gmt":"2020-10-12T00:53:05","slug":"%e4%bd%bf%e7%94%a8-android-studio-%ef%bc%8c%e5%90%84%e4%bd%8d%e6%98%af%e5%a6%82%e4%bd%95%e6%88%90%e5%8a%9f%e5%af%bc%e5%85%a5%e6%88%96%e6%89%93%e5%bc%80%e4%bb%96%e4%ba%ba%e7%9a%84%e5%bc%80%e6%ba%90","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=167282","title":{"rendered":"\u4f7f\u7528 android studio \uff0c\u5404\u4f4d\u662f\u5982\u4f55\u6210\u529f\u5bfc\u5165\u6216\u6253\u5f00\u4ed6\u4eba\u7684\u5f00\u6e90\u9879\u76ee\u5e76\u7f16\u8bd1\u8fd0\u884c\u7684\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4f7f\u7528 android studio \uff0c\u5404\u4f4d\u662f\u5982\u4f55\u6210\u529f\u5bfc\u5165\u6216\u6253\u5f00\u4ed6\u4eba\u7684\u5f00\u6e90\u9879\u76ee\u5e76\u7f16\u8bd1\u8fd0\u884c\u7684\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u65e0\u8bba\u662f\u4ec0\u4e48\u6837\u7684\u7f16\u7a0b\u5f00\u53d1\uff0c\u826f\u597d\u7684 ide \u80fd\u5e26\u7ed9\u6211\u826f\u597d\u7684\u5f00\u53d1\u4f53\u9a8c\u3002\u4e4b\u524d\u5f00\u53d1 android \u7528\u8fc7 eclipse\uff0c\u540e\u6765\u7531\u4e8e\u8c37\u6b4c\u9752\u7750 Idea\uff0c\u4e8e\u662f\u5f00\u59cb\u8f6c\u5411\u4f7f\u7528 android studio \u3002<\/p>\n<p>\u4f7f\u7528\u8d77\u6765\u611f\u89c9\u57fa\u672c\u6bd4 eclipse \u8981\u597d\uff0c\u552f\u4e00\u7684\u81f4\u547d\u7f3a\u9677\uff0c\u5c31\u662f\u5bfc\u5165\u522b\u4eba\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u5c24\u5176\u662f\u90a3\u4e9b\u6ca1\u6709\u63d0\u4f9b\u901a\u8fc7 grade \u7684 implementation \u65b9\u5f0f\u5bfc\u5165\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u5c31\u5f97\u624b\u52a8\u6253\u5f00\u6587\u4ef6\u9009\u62e9\u5bf9\u8bdd\u6846\uff0c\u9009\u62e9\u5f00\u6e90\u9879\u76ee\u7684 build.gradle \u5e76\u6253\u5f00\u8fdb\u884c\u52a0\u8f7d\uff0c\u8fd9\u4e2a\u671f\u95f4\u53ef\u80fd\u4f1a\u7206\u51fa\u5404\u79cd\u9519\u8bef\uff0c\u8981\u80fd\u6210\u529f\u7f16\u8bd1\u8fd0\u884c\uff0c\u6839\u636e\u767e\u5ea6\u7684\u6559\u7a0b\u5c31\u5f97\u6539\u4e00\u5806\u4e1c\u897f\uff0c\u6539\u4e86\u8fd8\u4e0d\u4e00\u5b9a\u80fd\u6210\u529f\uff0c\u5c31\u56e0\u4e3a\u8fd9\u4e2a\u60c5\u51b5\u5bfc\u81f4\u5b66\u4e60\u4e00\u4e9b\u522b\u4eba\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u8fde\u7f16\u8bd1\u8fd0\u884c\u8fde\u8dd1\u90fd\u8dd1\u4e0d\u8d77\u6765\uff0c\u5f88\u90c1\u95f7\u3002<\/p>\n<p>\u4e0d\u77e5\u9053\u5404\u4f4d\u6709\u6ca1\u6709\u8fd9\u79cd\u7cdf\u7cd5\u7684\u4f7f\u7528\u7ecf\u5386\uff0c\u5404\u4f4d\u662f\u5982\u4f55\u6253\u5f00\u522b\u4eba\u7684\u5f00\u6e90\u7684 android \u9879\u76ee\uff0c\u5e76\u6210\u529f\u7f16\u8bd1\u8fd0\u884c\u7684\uff1f\u63d0\u4f9b\u4e00\u4e0b\u6b63\u786e\u7684\u6253\u5f00\u65b9\u5f0f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>26<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3702954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nicocho <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f00 VPN\uff0c\u63d0\u793a\u4e0b\u8f7d\u5c31\u4e0b\uff0c\u4e3b\u8981\u8fd8\u662f build.gradle \u91cc\u7684\u7248\u672c\u4e0d\u5339\u914d\u95ee\u9898\u3002<br \/>\u8fd8\u6709\uff0c\u5efa\u8bae android studio \u7248\u672c\u6700\u597d\u4e0d\u8981\u7528\u6700\u65b0\u7684\uff0c<br \/>\u591a\u6574\u51e0\u6b21\uff0c\u4e60\u60ef\u5c31\u7b80\u5355\u4e86\uff5e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nicocho \u6211\u8bf4\u7684\uff0c\u4e0d\u662f\u68af\u5b50\u7684\u95ee\u9898\uff0c\u662f\u7528 android studio \u5bfc\u5165\u522b\u4eba\u7684\u5f00\u6e90\u9879\u76ee\u7684\u4f7f\u7528\u4f53\u9a8c\u95ee\u9898\uff0c\u6211\u6ca1\u7528\u65b0\u7248\u672c\uff0c\u7528\u7684\u662f android studio 3.4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702956\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yingqi7 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 \u611f\u89c9\u6700\u5927\u7684\u95ee\u9898\u662f\u7248\u672c\u517c\u5bb9\u548c\u5f00\u6e90\u9879\u76ee\u4e14\u80f3\u818a\u5c11\u817f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702957\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : winterbells <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u6709 gradle \u7684\u9879\u76ee\u662f\u591a\u8001\u7684\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702958\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yingqi7 \u4f60\u8bf4\u7684\u5f88\u5bf9\uff0c\u6211\u73b0\u5728\u5f88\u90c1\u95f7\uff0c\u4e00\u4e9b\u53d1\u5e03\u65e5\u671f\u8d85\u8fc7 2 \u5e74\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u8fd1\u5e74\u53c8\u6ca1\u66f4\u65b0\uff0c\u6253\u5f00\u5c31\u53ef\u80fd\u62a5\u9519\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702959\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @winterbells \u4e0d\u4e00\u5b9a\uff0c\u6709 gradle \u7684\u5f00\u6e90\u9879\u76ee\uff0c\u6253\u5f00\u52a0\u8f7d\u4e5f\u6709\u62a5\u9519\u7684\u53ef\u80fd\u3002\u6211\u6700\u70e6\u8fd9\u79cd\u60c5\u51b5\uff0c\u800c\u4e14\u6539 grade \u7248\u672c\u4e5f\u4e0d\u4e00\u5b9a\u4f1a\u6709\u6548\u679c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702960\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : winterbells <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 \u6709\u4e9b\u76f4\u63a5\u4e0b\u8f7d\u7684\u6211\u4f1a\u624b\u52a8\u6539 lib \u7248\u672c<br \/>\u4f46\u4e00\u822c\u90fd\u662f\u5728\u7ebf\u770b\u770b\u5173\u952e\u5730\u65b9\uff0c\u7f16\u8bd1\u8dd1\u4e00\u4e2a\u6ca1\u6709\u5fc5\u8981                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702961\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Anarchy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5bfc\u5165\u9879\u76ee\u9996\u5148\u4e0d\u8981\u63d0\u793a\u5347\u7ea7 gradle \u7248\u672c\u5c31\u70b9\u4e86\uff0c\u5f53\u7136\u6709\u7684 gradle \u7248\u672c\u592a\u8001\u5c31\u6ca1\u529e\u6cd5\u4e86\u4e00\u70b9\u4e00\u70b9\u6539\u95ee\u9898\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702962\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : StonyGround <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5bfc\u5165\u4e4b\u524d\uff0c\u5148\u624b\u52a8\u6539 gradle \u3001sdk \u7248\u672c\uff0c\u6539\u6210\u81ea\u5df1\u7535\u8111\u4e0a\u6709\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702963\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shiguiyou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c06\u9879\u76ee\u6587\u4ef6\u5939\u4e0b\u9762\u7684 build.gradle \u91cc\u9762\u7684 google()\u6539\u4e3a\u963f\u91cc\u4e91\u7684\u5730\u5740\u5c31\u884c\u4e86\uff0c\u901f\u5ea6\u5f88\u5feb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702964\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Daming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5343\u4e07\u4e0d\u8981\u624b\u6b20\u5347\u7ea7 gradle!!<br \/>&#8220;Android Gradle Plugin is ready to update.&#8221; \u65e0\u89c6\u6389                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702965\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hallujah <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5174\u8da3\u4f7f\u7136\u7528\u8fc7\u4e00\u9635\uff0c\u5bfc\u5165 GitHub \u4e09\u4e94\u4e2a\u9879\u76ee\uff0c\u6328\u4e2a\u6539\u9519\u8bef\uff0c\u767e\u5ea6\u4e0b\u90fd\u662f\u9700\u8981\u6211\u6539 gradle \u7248\u672c\u7684\uff0c\u6539\u4e86\u4e5f\u4e0d\u884c\uff0c\u6539\u4e86\u597d\u51e0\u5904\u90fd\u4e0d\u884c\uff0c\u9042\u5378\u8f7d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702966\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @shiguiyou \u4e0d\u662f\u5899\u7684\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702967\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenjiajia9411 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4f60\u8bf4\u7684\u662f\u5f00\u6e90\u5e93\u7684\u8bdd\uff0c\u4f60\u53ef\u4ee5\u81ea\u5df1\u6253\u6210 aar \u5305\u7136\u540e implementation \u8fdb\u6765\uff0c\u751a\u81f3\u76f4\u63a5\u7528 jitpack \u4e4b\u7c7b\u7684\u3002<br \/>\u5373\u4f7f\u6ca1\u6cd5\u6253\u5305\uff0c\u90a3\u4e5f\u5e94\u8be5\u5bfc\u5165\u6a21\u5757\u800c\u4e0d\u662f\u5bfc\u5165 gradle \u3002<br \/>\u5982\u679c\u662f\u5b8c\u6574\u9879\u76ee\u7684\u8bdd\uff0c\u76f4\u63a5\u6253\u5f00\u4e00\u822c\u4e0d\u4f1a\u6709\u4ec0\u4e48\u95ee\u9898\uff0c\u6709\u95ee\u9898\u8ddf\u7740\u62a5\u9519\u5bf9\u5e94\u4fee\u6539\u5c31\u884c\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702968\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @winterbells <\/p>\n<p>@chenjiajia9411 <\/p>\n<p>\u4e00\u822c\u6709\u4e00\u4e9b\u5f00\u6e90\u9879\u76ee\uff0c\u7528 android studio \u6253\u5f00\uff0c\u4ee5\u201candroid\u201d\u89c6\u89d2\u770b\u5f85\uff0c\u4f1a\u6709\u4e00\u4e2a app \u6587\u4ef6\u5939\uff0c\u548c\u4e00\u4e2a library \u6587\u4ef6\u5939\uff0c\u8fd9\u4e2a library \u6587\u4ef6\u5939\u7684\u5185\u5bb9\uff0c\u4f1a\u4e0d\u4f1a\u5c31\u662f\u6838\u5fc3\u5185\u5bb9\uff0c\u4f46\u662f\u5982\u679c\u8981\u62ff\u51fa\u6765\u653e\u5230\u6211\u7684\u9879\u76ee\uff0c\u8981\u600e\u4e48\u5f04\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702969\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 \u62ff\u51fa\u6765\u653e\u5230\u6211\u7684\u9879\u76ee\u91cc\uff0c\u8fdb\u884c\u4f7f\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702970\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenjiajia9411 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 #15 \u4e24\u79cd\u65b9\u5f0f\u968f\u4f60\u559c\u597d\uff1a<br \/>1.\u9879\u76ee\u6253\u5f00\u4e4b\u540e\u76f4\u63a5 Make Project \uff08\u6216\u8005\u4f60\u77e5\u9053 module \u662f\u4ec0\u4e48\u7684\u8bdd\uff0cMake module &#8220;library&#8221;\u66f4\u5feb\uff09\uff0c\u7136\u540e\u5728\u9879\u76ee\u6839\u76ee\u5f55 \/library\/build\/outputs\/aar \u4e0b\u4f1a\u51fa\u73b0\u4e00\u4e2a aar \u6587\u4ef6\uff0c\u628a\u5b83\u590d\u5236\u5230\u4f60\u7684\u9879\u76ee\u7684 lib \u6587\u4ef6\u5939\u4e0b\uff0c\u518d\u4ee5 implementation (name: \u6587\u4ef6\u540d\u4e0d\u5e26\u6269\u5c55\u540d, ext: &#8216;aar&#8217;)\u5f15\u5165\u5373\u53ef\u3002<br \/>2.\u76f4\u63a5\u5728\u4f60\u7684\u9879\u76ee\u91cc File-New-Import Module\uff0c\u9009\u62e9\u4f60\u8981\u7684\u9879\u76ee\u91cc\u7684 library \u6587\u4ef6\u5939\u5e76\u6539\u4e00\u4e2a\u4f60\u9700\u8981\u7684\u6a21\u5757\u540d\uff0cfinish \u4e4b\u540e\u518d\u4ee5 implementation project(&#8216;:\u6a21\u5757\u540d&#8217;)\u5f15\u5165\uff08\u5e76\u4e14\u8981\u5728 setting.gradle \u5185\u6dfb\u52a0 include:&#8217;:\u6a21\u5757\u540d&#8217;\uff09\u3002<br \/>\u4f46\u662f\u8bf4\u771f\u7684\uff0c\u4e00\u822c\u5f00\u6e90\u9879\u76ee\u90fd\u4f1a\u53d1\u5e03\u5230 jcenter \u4e4b\u7c7b\u7684\uff0c\u518d\u4e0d\u6d4e\u7528 jitpack \u81ea\u5df1\u6253\u4e2a\u5305\uff0c\u8981\u4f60\u81ea\u5df1\u7f16\u8bd1\u7684\u662f\u4e2a\u4ec0\u4e48\u9879\u76ee\u6211\u60f3\u89c1\u8bc6\u4e00\u4e0b\u3002\uff08\u6216\u8005\u4e00\u822c\u8fd9\u79cd\u662f\u4f5c\u8005\u8fd8\u6ca1\u6709\u5199\u597d\u4e0d\u65b9\u4fbf\u53d1\u5e03\u7248\u672c\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u4f60\u4e0b\u4e0b\u6765\u5e94\u8be5\u4e5f\u662f\u4e0d\u80fd\u7528\u7684\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702971\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : winterbells <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 \u548c\u4f60\u65b0\u5efa\u4e00\u4e2a\u6a21\u5757\u539f\u7406\u662f\u4e00\u6837\u7684<\/p>\n<p>@chenjiajia9411 \u6211\u4eec\u6709\u5f88\u591a\u90fd\u90fd\u662f\u62f7\u6e90\u7801\u8fc7\u6765\u7684\u3002\u4e00\u822c\u4e0d\u66f4\u65b0\u4e86\uff0c\u6216\u8005\u66f4\u65b0\u6162\uff0c\u6709\u4e9b\u5730\u65b9\u8981\u52a0\u4fdd\u62a4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702972\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chenjiajia9411 \u6211\u662f Yasea \u5427\uff0cgithub \u4e0a\u6709\uff0c\u5c31\u662f\u56fd\u4eba\u5f00\u6e90\u7684\u8457\u540d rtmp \u63a8\u6d41\u9879\u76ee\uff0c\u7b97\u662f\u6bd4\u8f83\u8001\u7684\u5f00\u6e90\u9879\u76ee,\u7528\u6211\u7535\u8111\u4e0a\u7684 android studio 3.4 \u6253\u5f00\uff0c\u6539\u4e86 project \u7684 grade \u7248\u672c\u5230\u662f\u80fd\u8dd1\u8d77\u6765\u8fd0\u884c\uff0c\u6211\u6ca1\u6709\u627e\u5230\u6ca1\u6709 implementation \u5bfc\u5165\u65b9\u5f0f\u6216\u4f60\u6240\u8bf4\u7684 arr \u6587\u4ef6\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702973\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 \u5f00\u5934\u8bf4\u9519\u4e86\uff0c\u662f Yasea \u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702974\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenjiajia9411 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 #19 <br \/>https:\/\/jitpack.io\/#begeekmyfriend\/yasea\/-SNAPSHOT<br \/>`implementation &#8216;com.github.begeekmyfriend:yasea:-SNAPSHOT&#8217;`<br \/>Jitpack \u662f\u53ef\u4ee5\u7528\u7684\u554a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702975\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c22\u8c22\uff0c\u6211\u5176\u5b9e\u6ca1\u7528\u8fc7 Jitpack                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702976\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chenjiajia9411 \u8c22\u8c22\u63d0\u4f9b\uff0c\u5176\u5b9e\u53e6\u5916\u8fd8\u6709\u95ee\u9898\uff0c\u7528 implementation \u5bfc\u5165\u4e00\u4e9b\u8d44\u6e90\u4f1a\u51fa\u73b0\u5982\u4e0b\u9519\u8bef\u201c<\/p>\n<p>ERROR: Failed to resolve: com.github.begeekmyfriend:yasea:-SNAPSHOT<br \/>Show in Project Structure dialog<br \/>Affected Modules: app<br \/>\u201d<br \/>grade project \u91cc\uff0c\u6211\u662f\u600e\u4e48\u5199\u7684<br \/>repositories {<br \/> google()<br \/> maven { url &#8220;https:\/\/jitpack.io&#8221; }<br \/> jcenter()<\/p>\n<p> }<br \/>\u8fd9\u4e2a\u9519\u8bef\u6211\u4e0d\u592a\u660e\u767d\u600e\u4e48\u89e3\u51b3\uff0c\u4f60\u80fd\u6307\u70b9\u4e00\u4e0b\u4e48                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702977\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenjiajia9411 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 #23 \u4f60\u662f\u4e0d\u662f\u5199\u5728\u4e86 buildscript \u7684 repositories \u91cc\uff1f\u5e94\u8be5\u628a jitpack \u76ee\u5f55\u5199\u8fdb allprojects \u7684 repositories \u91cc\u3002<br \/>\u50cf\u8fd9\u6837\uff1a<\/p>\n<p>&#8220;&#8220;<br \/>buildscript {<br \/> repositories {<br \/> google()<br \/> mavenCentral()<br \/> gradlePluginPortal()<br \/> maven { url &#8216;https:\/\/storage.googleapis.com\/r8-releases\/raw&#8217; }<br \/> maven { url &#8216;https:\/\/dl.bintray.com\/kotlin\/kotlin-eap&#8217; }<br \/> maven { url &#8216;https:\/\/kotlin.bintray.com\/kotlinx&#8217; }<br \/> maven { url &#8216;http:\/\/oss.jfrog.org\/artifactory\/oss-snapshot-local&#8217; }<br \/> maven {<br \/> url &#8216;https:\/\/oss.sonatype.org\/content\/repositories\/snapshots&#8217;<br \/> }<br \/> mavenLocal()<br \/> }<br \/> dependencies {<br \/> \/\/gradle plugin<\/p>\n<p> \/\/ NOTE: Do not place your application dependencies here; they belong<br \/> \/\/ in the individual module build.gradle files<br \/> }<br \/>}<\/p>\n<p>allprojects {<br \/> repositories {<br \/> google()<br \/> jcenter()<br \/> mavenCentral()<br \/> maven { url &#8216;https:\/\/jitpack.io&#8217; }<br \/> maven { url &#8216;https:\/\/repo.spring.io\/snapshot&#8217; }<br \/> maven { url &#8216;https:\/\/oss.jfrog.org\/libs-snapshot&#8217; }<br \/> maven { url &#8216;https:\/\/oss.jfrog.org\/artifactory\/oss-snapshot-local\/&#8217; }<br \/> maven { url &#8216;https:\/\/dl.bintray.com\/kotlin\/kotlin-eap&#8217; }<br \/> maven { url &#8216;https:\/\/kotlin.bintray.com\/kotlinx&#8217; }<br \/> maven { url &#8216;https:\/\/maven.aliyun.com\/repository\/releases&#8217; }<br \/> maven {<br \/> url &#8216;https:\/\/oss.sonatype.org\/content\/repositories\/snapshots&#8217;<br \/> }<br \/> maven {<br \/> url &#8216;https:\/\/repository.apache.org\/content\/groups\/snapshots&#8217;<br \/> }<br \/> flatDir {<br \/> dirs &#8216;libs&#8217;<br \/> }<br \/> mavenLocal()<br \/> }<br \/>}<br \/>&#8220;&#8220;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702978\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chenjiajia9411 \u660e\u767d\u4e86\uff0c\u8c22\u8c22\u6307\u5bfc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3702979\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : silencelixing <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f53\u7136\u662f\u7528\u68af\u5b50\uff0c\u7528\u68af\u5b50\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u6210\u529f\u7387                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 android studio&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/167282"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167282"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/167282\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167282"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}