java.io.IOException: Cannot find PROCESSED_RES output for Main [Dynamic Feature Module]

流过昼夜 提交于 2019-12-11 06:35:37

问题


Adding a dynamic module into multi module project that already has 6 flavours.

Got this error,

ERROR: Unable to resolve dependency for ':dynMod@debug/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: dynMod

Created similar product flavours in dynamic module solved the issue. I did actually take builds and tested. Now not sure what went wrong but i'm getting this,

java.io.IOException: Cannot find PROCESSED_RES output for Main{type=MAIN, fullName=flavor1Debug, filters=[], versionCode=-1, versionName=null}

Can anyone help, please.


回答1:


The project had abiSplit configuration. Disabling it solved the issue.

//    splits {
//        abi {
//            enable true
//            universalApk true
//        }
//    }


来源:https://stackoverflow.com/questions/56542195/java-io-ioexception-cannot-find-processed-res-output-for-main-dynamic-feature

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!