mnlin
2017-12-15 14:36Androidstudio 无法引用自定义的注解处理器 Processor
5自定义了注解处理器,用于方法注入
public class MethodJnjectProcessor extends AbstractProcessor
上传到Bintray的个人仓库后,在项目中引用
annotationProcessor "com.knowledge.mnlin:methodinject-compiler:0.0.1"
却提示找不到资源
Could not resolve all files for configuration ':app:debugAnnotationProcessorClasspath'.
> Could not find methodinject-compiler.jar (com.knowledge.mnlin:methodinject-compiler:0.0.1).
Searched in the following locations:
https://dl.bintray.com/lovingning/maven/com/knowledge/mnlin/methodinject-compiler/0.0.1/methodinject-compiler-0.0.1.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
但事实上这个路径在浏览中打开的话,是可以下载到jar包的
所以说,可以看到jar包可以下载成功的,但gradle的错误显示的也很明显,不知道是什么原因
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- AndroidStudio基础项目Sync过慢
- android-studio
- 1个回答
- Android MaterialDialogs中自定义View如何更新UI
- android-studio
- java
- android
- 2个回答
- Android Studio 应用无法访问本地服务器
- android-studio
- android
- 1个回答
- Android studio获取IMEI码 真机调试闪退
- android-studio
- android
- 2个回答
- android studio预览界面不显示标题栏
- android-studio
- xml
- 4个回答
换一换