Results 10 comments of RexHuang

最新框架是哪个版本?有没有实现onBackPressedSupport

也遇到页面穿透问题 +1。`startwithpop`的原理应该也是`FragmentTransaction`的`replace`方法。我试过直接使用replace就不会出现页面穿透的问题。需要通过研究源码要来看看问题到底处在哪。

![1666936696484](https://user-images.githubusercontent.com/25051889/198514140-abb57ec5-ce66-4b92-94ae-2b3ab7958c5a.png)

我的项目kotlin插件1.5.21 agp 4.2.2 gradle6.7.1 ![image](https://user-images.githubusercontent.com/25051889/198584558-0d11b0f0-3402-4455-9e18-f0c9eb6f5a1b.png) kotlin插件1.5.21一直是能找到这个6个参数的构造方法的 ![image](https://user-images.githubusercontent.com/25051889/198584510-ea54a7a9-cc0d-49ff-a5a3-b6e6d65ec28b.png)

试了一下,依旧是这个报错 ![image](https://user-images.githubusercontent.com/25051889/198585013-a3fbd2b2-7990-4d1c-9f99-ecc6fd83bb4d.png)

demo早上试过,刚刚也试过,都是这里编译不过去 ![image](https://user-images.githubusercontent.com/25051889/198585838-bfc6c40d-963d-4235-84f2-ce249b966d79.png)

1.1.1版本现在可以编译成功运行了。 现在的问题就是: 1. **配置中checkTime按键的时间间隔是不是没有生效**,我的时间间隔配置是500,我看了代码和打印sCheckTime还是1000。 2. **配置中includes单独文件比如kotlin文件的配置问题(ps.我还没对java文件单独配置过)**,我对字节码了解不多,也想请教下class字节码的相关学习。 ![image](https://user-images.githubusercontent.com/25051889/198859178-131c4bb7-fc9f-47ab-ad31-accd99a9038f.png) ![image](https://user-images.githubusercontent.com/25051889/198859370-4263c69c-4c1e-494a-9fbb-0672790946b4.png)

每次都是clean 然后运行, log打印就是1000

1. clean project确实删除了所有build文件夹。然后用Run app重新构建打包运行的。 2. 也试过清除AS缓存了。 3. 后面我想试下直接下载Demo来运行看看能不能修改。Demo工程是否少了gradle/wrapper文件夹来配置gradle的构建?直接运行不过去

看了下Demo的插件代码,但不太懂插件开发。就跟了下插件的流程。 1. 以为是checkTime值因为没加L类型不同,才导致没解析成功。后面发现是checkTime已经解析成功并输出到控制台了。 2. 后面对比了我的项目的配置和Demo的配置,发现**includes这个配置有问题。Demo中也没有includes配置。** **我的项目屏蔽includes配置后,checkTime生效 Demo项目加入includes配置后,checkTime失效,变成默认值1000L** ![JMX6{WQ5 A5C4%`ZUY9C8E7](https://user-images.githubusercontent.com/25051889/198881325-476e0b49-f031-4444-b4a2-c28efe6ffe49.png) 另外:**每次修改了配置之后,clean project都会失败。提示build目录被占用,需要关闭as重新打开项目才能进行clean和run app等操作。** ![image](https://user-images.githubusercontent.com/25051889/198881480-7539adc0-e821-466b-a508-2fb8881dd667.png)