Add2App: Fix crash resulted from hard-code module 'app' #27154
Conversation
|
@kangwang1988 |
If I have multiple modules under one project, this still can't meet my needs. Only the last sentence (setBinding) will take effect. Only the last sentence( ccc) takes effect 如果我一个工程里有多个APP共用一个flutter lib ,我只能在 settings.gradle 配置一个APP去依赖flutter,如何才能让三个APP都能成功依赖那一个flutter |
|
It is changed back in the stable branch, very strange. Project appProject = project.rootProject.findProject(':app') // Stable channel |
Currently, hard coded resource copy can't handle the case when developers use a Application module with name other than 'app'.
This will fix: #26948
Besides,
wiki: https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps
should be updated when this fix is finally landed if possible.