import{_ as o,r as i,o as c,c as t,a as s,b as a,e as l,d as n}from"./app.87c2e303.js";const r={},p=l(`<h1 id="\u5FEB\u901F\u5F00\u59CB" tabindex="-1"><a class="header-anchor" href="#\u5FEB\u901F\u5F00\u59CB" aria-hidden="true">#</a> \u5FEB\u901F\u5F00\u59CB</h1><blockquote><p>\u96C6\u6210 <code>YukiReflection</code> \u5230\u4F60\u7684\u9879\u76EE\u4E2D\u3002</p></blockquote><h2 id="\u73AF\u5883\u8981\u6C42" tabindex="-1"><a class="header-anchor" href="#\u73AF\u5883\u8981\u6C42" aria-hidden="true">#</a> \u73AF\u5883\u8981\u6C42</h2><ul><li><p>Windows 7 \u53CA\u4EE5\u4E0A/macOS 10.14 \u53CA\u4EE5\u4E0A/Linux \u53D1\u884C\u7248(Arch/Debian)</p></li><li><p>Android Studio 2021.1 \u53CA\u4EE5\u4E0A</p></li><li><p>IntelliJ IDEA 2021.1 \u53CA\u4EE5\u4E0A</p></li><li><p>Kotlin 1.7.0 \u53CA\u4EE5\u4E0A</p></li><li><p>Android Gradle Plugin 7.0 \u53CA\u4EE5\u4E0A</p></li><li><p>Gradle 7.0 \u53CA\u4EE5\u4E0A</p></li><li><p>Jvm 11 \u53CA\u4EE5\u4E0A</p></li></ul><h2 id="\u9879\u76EE\u8981\u6C42" tabindex="-1"><a class="header-anchor" href="#\u9879\u76EE\u8981\u6C42" aria-hidden="true">#</a> \u9879\u76EE\u8981\u6C42</h2><p>\u9879\u76EE\u9700\u8981\u4F7F\u7528 <code>Android Studio</code> \u6216 <code>IntelliJ IDEA</code> \u521B\u5EFA\u4E14\u7C7B\u578B\u4E3A Android \u9879\u76EE\u5E76\u5DF2\u96C6\u6210 <code>Kotlin</code> \u73AF\u5883\u4F9D\u8D56\u3002</p><h2 id="\u96C6\u6210\u4F9D\u8D56" tabindex="-1"><a class="header-anchor" href="#\u96C6\u6210\u4F9D\u8D56" aria-hidden="true">#</a> \u96C6\u6210\u4F9D\u8D56</h2><p><strong>(\u53EF\u9009)</strong> \u5728\u4F60\u7684\u9879\u76EE <code>build.gradle</code> \u4E2D\u6DFB\u52A0\u4F9D\u8D56\u3002</p><blockquote><p>\u793A\u4F8B\u5982\u4E0B</p></blockquote><div class="language-groovy ext-groovy line-numbers-mode"><pre class="shiki" style="background-color:#22272e;"><code><span class="line"><span style="color:#ADBAC7;">repositories {</span></span>
<span class="line"><span style="color:#ADBAC7;">    google()</span></span>
<span class="line"><span style="color:#ADBAC7;">    mavenCentral()</span></span>
<span class="line"><span style="color:#ADBAC7;">    </span><span style="color:#768390;">// MavenCentral \u6709 2 \u5C0F\u65F6\u7F13\u5B58\uFF0C\u82E5\u65E0\u6CD5\u96C6\u6210\u6700\u65B0\u7248\u672C\u8BF7\u6DFB\u52A0\u6B64\u5730\u5740</span></span>
<span class="line"><span style="color:#ADBAC7;">    maven { url </span><span style="color:#96D0FF;">&quot;https://s01.oss.sonatype.org/content/repositories/releases&quot;</span><span style="color:#ADBAC7;"> }</span></span>
<span class="line"><span style="color:#ADBAC7;">}</span></span>
<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p>\u5728\u4F60\u7684 app <code>build.gradle</code> \u4E2D\u6DFB\u52A0\u4F9D\u8D56\u3002</p><blockquote><p>\u793A\u4F8B\u5982\u4E0B</p></blockquote><div class="language-groovy ext-groovy line-numbers-mode"><pre class="shiki" style="background-color:#22272e;"><code><span class="line"><span style="color:#ADBAC7;">dependencies {</span></span>
<span class="line"><span style="color:#ADBAC7;">    </span><span style="color:#768390;">// \u57FA\u7840\u4F9D\u8D56</span></span>
<span class="line"><span style="color:#ADBAC7;">    implementation </span><span style="color:#96D0FF;">&#39;com.highcapable.yukireflection:api:&lt;yuki-version&gt;&#39;</span></span>
<span class="line"><span style="color:#ADBAC7;">}</span></span>
<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p>\u8BF7\u5C06 <strong>&lt;yuki-version&gt;</strong> \u4FEE\u6539\u4E3A <a href="../about/changelog">\u8FD9\u91CC</a> \u7684\u6700\u65B0\u7248\u672C\u3002</p>`,14),d={class:"custom-container danger"},u=s("p",{class:"custom-container-title"},"\u7279\u522B\u6CE8\u610F",-1),v=n("\u5982\u679C\u4F60\u7684\u9879\u76EE\u76EE\u524D\u6B63\u5728\u4F7F\u7528 "),h={href:"https://github.com/fankes/YukiHookAPI",target:"_blank",rel:"noopener noreferrer"},A=n("YukiHookAPI"),b=n("\uFF0C\u8BF7\u4E0D\u8981\u91CD\u590D\u96C6\u6210 "),_=s("strong",null,"YukiReflection",-1),m=n("\uFF0C\u56E0\u4E3A "),y=s("strong",null,"YukiHookAPI",-1),g=n(" \u5DF2\u7ECF\u5305\u542B\u4E86\u5176\u4E2D\u7684\u529F\u80FD\u4E14\u5B58\u5728\u9488\u5BF9\u76F8\u5173\u529F\u80FD\u7684\u6539\u52A8\uFF0C\u91CD\u590D\u96C6\u6210\u4F1A\u9020\u6210\u529F\u80FD\u6027\u51B2\u7A81\u5F15\u53D1\u5F02\u5E38\uFF0C\u6B64\u65F6\u4F60\u5E94\u8BE5\u524D\u5F80 "),k=s("strong",null,"YukiHookAPI",-1),C=n(" \u7684 "),D={href:"https://fankes.github.io/YukiHookAPI/zh-cn/",target:"_blank",rel:"noopener noreferrer"},B=n("\u6587\u6863"),f=n(" \u67E5\u770B\u5BF9\u5E94\u4F7F\u7528\u6559\u7A0B\u3002"),x=l(`<p>\u5728\u4F60\u7684 app <code>build.gradle</code> \u4E2D\u4FEE\u6539 <code>Kotlin</code> \u7684 Jvm \u7248\u672C\u4E3A 11 \u53CA\u4EE5\u4E0A\u3002</p><blockquote><p>\u793A\u4F8B\u5982\u4E0B</p></blockquote><div class="language-groovy ext-groovy line-numbers-mode"><pre class="shiki" style="background-color:#22272e;"><code><span class="line"><span style="color:#ADBAC7;">android {</span></span>
<span class="line"><span style="color:#ADBAC7;">    compileOptions {</span></span>
<span class="line"><span style="color:#ADBAC7;">        sourceCompatibility </span><span style="color:#F47067;">JavaVersion.</span><span style="color:#6CB6FF;">VERSION_11</span></span>
<span class="line"><span style="color:#ADBAC7;">        targetCompatibility </span><span style="color:#F47067;">JavaVersion.</span><span style="color:#6CB6FF;">VERSION_11</span></span>
<span class="line"><span style="color:#ADBAC7;">    }</span></span>
<span class="line"><span style="color:#ADBAC7;">    kotlinOptions {</span></span>
<span class="line"><span style="color:#ADBAC7;">        jvmTarget </span><span style="color:#F47067;">=</span><span style="color:#ADBAC7;"> </span><span style="color:#96D0FF;">&#39;11&#39;</span></span>
<span class="line"><span style="color:#ADBAC7;">    }</span></span>
<span class="line"><span style="color:#ADBAC7;">}</span></span>
<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>`,3);function F(I,q){const e=i("ExternalLinkIcon");return c(),t("div",null,[p,s("div",d,[u,s("p",null,[v,s("a",h,[A,a(e)]),b,_,m,y,g,k,C,s("a",D,[B,a(e)]),f])]),x])}const E=o(r,[["render",F],["__file","quick-start.html.vue"]]);export{E as default};
