久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='vt8Ia'></tfoot>

      <bdo id='vt8Ia'></bdo><ul id='vt8Ia'></ul>

    <small id='vt8Ia'></small><noframes id='vt8Ia'>

      1. <legend id='vt8Ia'><style id='vt8Ia'><dir id='vt8Ia'><q id='vt8Ia'></q></dir></style></legend>
        <i id='vt8Ia'><tr id='vt8Ia'><dt id='vt8Ia'><q id='vt8Ia'><span id='vt8Ia'><b id='vt8Ia'><form id='vt8Ia'><ins id='vt8Ia'></ins><ul id='vt8Ia'></ul><sub id='vt8Ia'></sub></form><legend id='vt8Ia'></legend><bdo id='vt8Ia'><pre id='vt8Ia'><center id='vt8Ia'></center></pre></bdo></b><th id='vt8Ia'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vt8Ia'><tfoot id='vt8Ia'></tfoot><dl id='vt8Ia'><fieldset id='vt8Ia'></fieldset></dl></div>

        在 Android Studio 2.2 中啟用注釋處理器選項(xiàng)

        enable Annotation Processors option in Android Studio 2.2(在 Android Studio 2.2 中啟用注釋處理器選項(xiàng))

          1. <i id='HBHqP'><tr id='HBHqP'><dt id='HBHqP'><q id='HBHqP'><span id='HBHqP'><b id='HBHqP'><form id='HBHqP'><ins id='HBHqP'></ins><ul id='HBHqP'></ul><sub id='HBHqP'></sub></form><legend id='HBHqP'></legend><bdo id='HBHqP'><pre id='HBHqP'><center id='HBHqP'></center></pre></bdo></b><th id='HBHqP'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='HBHqP'><tfoot id='HBHqP'></tfoot><dl id='HBHqP'><fieldset id='HBHqP'></fieldset></dl></div>

              <tbody id='HBHqP'></tbody>
            • <legend id='HBHqP'><style id='HBHqP'><dir id='HBHqP'><q id='HBHqP'></q></dir></style></legend>

                • <bdo id='HBHqP'></bdo><ul id='HBHqP'></ul>
                  <tfoot id='HBHqP'></tfoot>

                  <small id='HBHqP'></small><noframes id='HBHqP'>

                • 本文介紹了在 Android Studio 2.2 中啟用注釋處理器選項(xiàng)的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我正在嘗試在我的項(xiàng)目中使用 java 8,為此我添加了 jack 編譯器.

                  I'm trying to use java 8 in my project and for that I added the jack compiler.

                  啟用杰克后,我開始遇到使用注釋處理的庫的問題,并在網(wǎng)上查看我讀到我需要 android studio 2.2 和 com.android.tools.build:gradle:2.2.0-alpha6 來編譯生成的庫注釋中的代碼.

                  After enabling jack I started having problems with libraries that use Annotation Processing and looking in the web I read that I need android studio 2.2 and com.android.tools.build:gradle:2.2.0-alpha6 to compile libraries that generate code from annotations.

                  我下載了 Android Studio 2.2 preview 6 并將我的項(xiàng)目轉(zhuǎn)換為它.之后我發(fā)現(xiàn)不再支持 apt gradle 插件,然后我需要將每個(gè)使用 apt 的依賴項(xiàng)更改為使用新的 annotationProcessor 選項(xiàng).

                  I download Android Studio 2.2 preview 6 and converted my project to it. And after that I discovered that the apt gradle plugin is not supported anymore and then I needed to change every dependency that use apt to the use the new annotationProcessor option.

                  例如:

                  apt "org.projectlombok:lombok:$rootProject.lombokVersion"
                  

                  annotationProcessor "org.projectlombok:lombok:$rootProject.lombokVersion"
                  

                  現(xiàn)在,如果我使用make project",項(xiàng)目編譯沒有問題,但如果我嘗試執(zhí)行它,我應(yīng)該由注釋生成的代碼出現(xiàn)錯(cuò)誤.

                  Now if I use "make project" the project is compiled without problems, but if I try to execute it I have errors with the code that should be generated by the annotations.

                  此外,當(dāng)我打開項(xiàng)目時(shí),我收到來自 lombok 插件的警告項(xiàng)目的注釋處理似乎已禁用".當(dāng)我打開項(xiàng)目設(shè)置并轉(zhuǎn)到構(gòu)建 -> 編譯器"時(shí),我找不到注釋處理器.

                  Also when I open the project I receive a warning from the lombok plugin "Annotation processing seems to be disabled for the project". When I open the project settings and go to "Build -> Compiler" I can't find Annotation Processors.

                  所以,我的問題是:如何在 Android Studio 2.2 中啟用注釋處理器?這個(gè)功能被禁用了?如果是,如何從注解生成代碼?

                  So, my question is: How can I enable Annotation Processors in Android Studio 2.2? This feature was disabled? If yes, how can I generate the code from annotations?

                  --編輯--我正在制作一個(gè) PullRequest 來更改項(xiàng)目以使用 Java8 編譯,您可以在此處查看 PR:https://github.com/jonathanrz/myexpenses-android/pull/57

                  --EDIT-- I'm making a PullRequest to change the project to compile with Java8, you can check the PR here: https://github.com/jonathanrz/myexpenses-android/pull/57

                  推薦答案

                  關(guān)閉項(xiàng)目.在Welcome to Android Studio"對(duì)話框中點(diǎn)擊右下角的Configure".

                  Close the project. In the "Welcome to Android Studio" dialog click "Configure" in the bottom right corner.

                  那么,

                  設(shè)置 > 構(gòu)建、執(zhí)行、部署 > 編譯器 > 注釋處理器.勾選啟用注釋處理".

                  Settings > Build, Execution, Deployment > Compiler > Annotation Processors. Tick 'Enable annotation processing'.

                  如果這不起作用.從Welcome to Android Studio"對(duì)話框中刪除項(xiàng)目并從新打開.

                  If that does not work. Delete the project from "Welcome to Android Studio" dialog and open from new.

                  為我工作.

                  這篇關(guān)于在 Android Studio 2.2 中啟用注釋處理器選項(xiàng)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  quot;Char cannot be dereferencedquot; error(“Char 不能被取消引用錯(cuò)誤)
                  Java Switch Statement - Is quot;orquot;/quot;andquot; possible?(Java Switch 語句 - 是“或/“和可能的?)
                  Java Replace Character At Specific Position Of String?(Java替換字符串特定位置的字符?)
                  What is the type of a ternary expression with int and char operands?(具有 int 和 char 操作數(shù)的三元表達(dá)式的類型是什么?)
                  Read a text file and store every single character occurrence(讀取文本文件并存儲(chǔ)出現(xiàn)的每個(gè)字符)
                  Why do I need to explicitly cast char primitives on byte and short?(為什么我需要在 byte 和 short 上顯式轉(zhuǎn)換 char 原語?)

                  • <legend id='rtaXJ'><style id='rtaXJ'><dir id='rtaXJ'><q id='rtaXJ'></q></dir></style></legend>

                          <bdo id='rtaXJ'></bdo><ul id='rtaXJ'></ul>
                              <tbody id='rtaXJ'></tbody>

                          1. <i id='rtaXJ'><tr id='rtaXJ'><dt id='rtaXJ'><q id='rtaXJ'><span id='rtaXJ'><b id='rtaXJ'><form id='rtaXJ'><ins id='rtaXJ'></ins><ul id='rtaXJ'></ul><sub id='rtaXJ'></sub></form><legend id='rtaXJ'></legend><bdo id='rtaXJ'><pre id='rtaXJ'><center id='rtaXJ'></center></pre></bdo></b><th id='rtaXJ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='rtaXJ'><tfoot id='rtaXJ'></tfoot><dl id='rtaXJ'><fieldset id='rtaXJ'></fieldset></dl></div>
                            <tfoot id='rtaXJ'></tfoot>

                            <small id='rtaXJ'></small><noframes id='rtaXJ'>

                            主站蜘蛛池模板: 国产毛片毛片 | 99精品欧美一区二区三区 | 久久精品免费一区二区三 | 久久久久久亚洲精品 | 精品福利视频一区二区三区 | 国产午夜精品福利 | 伊人伊人 | www.97国产| 蜜桃精品视频在线 | 亚洲精品成人免费 | 精品九九九| 久久久免费电影 | 久久小视频 | 精品一级电影 | 亚洲欧洲日本国产 | 欧美国产精品一区二区三区 | 中文字幕av在线播放 | 久久精品国产一区 | 99pao成人国产永久免费视频 | 成年人在线观看视频 | 欧美日韩成人在线 | 国产www.| 成人免费一区二区三区视频网站 | 在线观看中文字幕 | 久久草在线视频 | 色综合99| 91久久国产综合久久 | 中文字幕视频在线观看 | 亚洲一区二区三区在线播放 | 中文字幕日韩av | 欧美日产国产成人免费图片 | 老熟女毛片 | 亚洲电影专区 | a级大毛片 | 一级毛片在线播放 | 亚州成人 | 日韩精品成人 | 天堂色网| 久久久久久免费毛片精品 | 成人午夜精品一区二区三区 | 久久精片 |