久久久久久久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 中啟用注釋處理器選項

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

          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 中啟用注釋處理器選項的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

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

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

                  啟用杰克后,我開始遇到使用注釋處理的庫的問題,并在網上查看我讀到我需要 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 并將我的項目轉換為它.之后我發現不再支持 apt gradle 插件,然后我需要將每個使用 apt 的依賴項更改為使用新的 annotationProcessor 選項.

                  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"
                  

                  現在,如果我使用make project",項目編譯沒有問題,但如果我嘗試執行它,我應該由注釋生成的代碼出現錯誤.

                  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.

                  此外,當我打開項目時,我收到來自 lombok 插件的警告項目的注釋處理似乎已禁用".當我打開項目設置并轉到構建 -> 編譯器"時,我找不到注釋處理器.

                  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 中啟用注釋處理器?這個功能被禁用了?如果是,如何從注解生成代碼?

                  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?

                  --編輯--我正在制作一個 PullRequest 來更改項目以使用 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

                  推薦答案

                  關閉項目.在Welcome to Android Studio"對話框中點擊右下角的Configure".

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

                  那么,

                  設置 > 構建、執行、部署 > 編譯器 > 注釋處理器.勾選啟用注釋處理".

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

                  如果這不起作用.從Welcome to Android Studio"對話框中刪除項目并從新打開.

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

                  為我工作.

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

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

                  相關文檔推薦

                  quot;Char cannot be dereferencedquot; error(“Char 不能被取消引用錯誤)
                  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 操作數的三元表達式的類型是什么?)
                  Read a text file and store every single character occurrence(讀取文本文件并存儲出現的每個字符)
                  Why do I need to explicitly cast char primitives on byte and short?(為什么我需要在 byte 和 short 上顯式轉換 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'>

                            主站蜘蛛池模板: 国产一区二区在线免费 | 亚洲三区在线观看 | 精品久久久一区 | 另类一区| 91在线精品秘密一区二区 | 国产美女精品视频免费观看 | 男女又爽又黄视频 | 亚洲精品日韩在线 | 精品国产乱码久久久久久闺蜜 | av色站 | 日韩视频在线播放 | 亚洲精品在线免费看 | 91在线视频观看 | 中文字幕一区二区三区精彩视频 | 青青草免费在线视频 | 伊人亚洲 | 性欧美xxxx | 成人免费精品视频 | 色综合久久久久 | 亚洲精品国产电影 | 日韩综合在线播放 | 狠狠干天天干 | 成人精品一区二区 | 欧美一区二区三区国产精品 | 黑人精品欧美一区二区蜜桃 | 欧美中文 | 中文天堂网 | 中国一级特黄视频 | 精品在线观看一区二区 | 日韩午夜网站 | 国色天香综合网 | 久久久99国产精品免费 | 操到爽 | 午夜专区 | 国产欧美在线 | 在线免费中文字幕 | av香蕉 | 啪视频在线 | 国产一级特黄真人毛片 | 91久久久久久久 | 99久久精品免费看国产四区 |