From 33b1e1e5a49a0d8e13111a492cb0c157a5525298 Mon Sep 17 00:00:00 2001 From: laoyuyu <511455842@QQ.com> Date: Mon, 11 Dec 2017 19:47:23 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E5=B8=B8=E8=A7=81=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 常见问题.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/常见问题.md b/常见问题.md index 5ec67b1..92885e3 100644 --- a/常见问题.md +++ b/常见问题.md @@ -2,17 +2,17 @@ 1. 检查下你的工程中有没有使用apply plugin: 'android-apt',如果有的话将其转换为annotationProcessor。 2. 检查下annotationProcessor 和 compile 版本是否一致,不一致的话对导致生成代理文件失败 3. 如果你是Android studio的module中引用的Aria,那么你还需要再app模块中添加同样的导入代码 - ``` + ``` compile 'com.arialyy.aria:aria-core:{version code}' annotationProcessor 'com.arialyy.aria:aria-compiler:{version code}' - ``` + ``` 4. 如果以上设置都无效或控制台打印下面的错误 ``` Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. ``` - 请在app的build.gradle文件的defaultConfig块中添加以下代码 - ``` + 请在app的build.gradle文件的defaultConfig块中添加以下代码 + ``` android { compileSdkVersion 26 buildToolsVersion "26.0.2"