Comments (7)
@TwilightKHQ 你好,能否帮忙查看一下:
1、 工程根目录/.gradle/.rocketxcache/.app/ 下的所有module aar 是否有生成。
2、ClassNotFoundException 报错的类是 qrscan 模块的,还是 qrscan 依赖模块中的 class ?
from rocketx.
- qrscan 的aar没有生成 其他的模块都有
- 报错的类就是qrscan模块的 qrscan是一个单独的模块 没有依赖其他的模块
from rocketx.
@TwilightKHQ 是否使用了: excludeModule = [":qrscan"],看你的 log 有 task ':qrscan:extractDebugAnnotations'
理论是使用了。
目前看起来像是注解上的问题? 检查是否有空的 Def 譬如:@IntDef({})
or @StringDef({}) .
将其删除!
from rocketx.
@TwilightKHQ 请问问题有进展吗?
from rocketx.
@trycatchx
确实是注解的问题,移除掉这个模块下面的两个非空注解之后第一次编译就能通过
但是另一个模块也有IntDef注解 没有出现问题
所以现在问题的根本原因还是没找到
from rocketx.
@TwilightKHQ 好的,理论上只要有空的 def 都是不允许的。另一个模块为什么能编译过去,我这边没法提供帮助。
from rocketx.
我再琢磨琢磨
from rocketx.
Related Issues (20)
- No static field xxx of type I in class Lcom/xxx/xxx/BR; HOT 1
- 请问改为发布到远端maven仓库有示例吗,需要改哪些地方呢 HOT 3
- demo 编译报错 HOT 4
- kapt: java.lang.ClassNotFoundException: com.google.gson.annotations.SerializedName HOT 1
- 使用kapt没生成对应类 HOT 1
- Cannot change dependencies of dependency configuration ':xxx:api' after it has been included in dependency resolution. HOT 1
- Execution failed for task ':xxx:kaptDebugKotlin HOT 2
- AGP 7.2.2 sync 失败 HOT 5
- Cannot change dependencies of dependency configuration ':app:implementation' after it has been included in dependency resolution. HOT 1
- 引入其他asm插桩插件导致编译失败: zip END header not found HOT 1
- a模块布局xml引用b模块资源文件会编译报错,第一次可以编译通过,之后就报错了 HOT 2
- 请教一下,这部分禁用transform任务的逻辑,有没有办法在build.gradle里面写,而不是在插件里? HOT 1
- Execution failed for task ':app:checkDevDebugAarMetadata' HOT 3
- 针对 Flutter 项目需要额外的处理吗 HOT 1
- demo编译爆错 HOT 2
- 项目是老项目,没有适配androidX,使用rocketX插件编译不了
- gradle 编译没法使用
- 目前还不支持 includeBuild
- 没有适配AndroidStudio新UI
- 无法编译通过,报错如下,搜了其他 issue 也没有看出有没有一样的
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocketx.