-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repackage 过程中文件夹路径找不到...\debug\25 does not exist(解决方案) #576
Comments
robining
changed the title
repackage 过程中文件夹路径找不到
repackage 过程中文件夹路径找不到...\debug\25 does not exist(解决方案)
May 18, 2018
请问下我们不是只是添加依赖么,怎么去修改源码呢,如果修改,应该怎么找到位置呢,求大神指教 |
@sdgSnow 我当时是fork出来自己再发布一个aar改的哈,最好还是等待官方改吧~ |
@robining 方便把你修改过的AAR发出来参考一下吗 邮箱 [email protected] 非常感谢 |
@Aplombs com.github.robining:RePlugin:v2.2.5-alpha 改动地方可以看这里的提交记录https://github.com/robining/RePlugin/ |
@robining 这个改完之后怎么用到自己的插件项目上呢? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题详细描述 Detailed description of the problem
在项目集成插件的过程中,apply插件后,编译错误app\build\intermediates\transforms\desugar\UatNStore\debug\25 does not exist.
其它重要信息 Other important information
replugin-host-lib/gradle Version:2.2.4
rePlugin-plugin-lib/gradle Version:2.2.4
Logcat上下文 Logcat context
------------------------------中间省略--------------------------------------
FAILURE: Build failed with an exception.
Execution failed for task ':user:app:transformClassesWith___ReClass___ForUatNStoreDebug'.
####问题定位######
分析Replugin源码问题定位到com.qihoo360.replugin.gradle.plugin.inner.Util中
如果Zip内容是空的,那么直接忽略跳过,但是当repackage(zipDir)的时候,传入的dirPath是不存在的,引发的错误
####解决方案######
将上处修改为:
并在com.qihoo360.replugin.gradle.plugin.inner.ReClassTransform中的copyJar方法修改为:
添加jar是否存在判断,如果存在才拷贝
The text was updated successfully, but these errors were encountered: