久久久久久久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'>

                            主站蜘蛛池模板: www.国产| 久久天堂网 | 亚洲一区二区三区免费在线 | 男女性毛片 | 欧美一卡二卡在线观看 | 1000部精品久久久久久久久 | 久草视频网站 | 一区二区免费视频 | 精品一区国产 | 亚洲一区二区在线视频 | 国产欧美日韩在线一区 | 欧美激情亚洲激情 | 久久久精品一区 | 日韩欧美在线视频 | 国产精品免费一区二区三区 | 国产日韩一区二区三免费高清 | 亚洲成人三级 | 夜夜摸夜夜操 | 日本不卡一区二区三区在线观看 | 黄色一级特级片 | 欧美freesex黑人又粗又大 | 亚洲精品观看 | 欧美激情精品久久久久久变态 | 午夜无码国产理论在线 | 在线中文字幕视频 | www精品美女久久久tv | 亚洲中午字幕 | 国产网站在线播放 | 亚洲精品区 | 天天影视网天天综合色在线播放 | 久久久精品国产 | 亚洲网站在线观看 | 欧美性网站 | 在线观看国产www | 自拍 亚洲 欧美 老师 丝袜 | 国产最新网址 | 国产精品毛片久久久久久 | 欧美影院 | 国产一区二区在线播放 | 欧美福利一区 | 91在线一区|