我认为它不能重命名的应用程序/ src目录/主
注释的事情永远不会发生,因为当我们同步项目,摇篮它将取代主要默认
当我将我的主转换为其他任何问题时,它无法识别清单。 所以我指定了gradle.build中的清单路径。
如果您在android的build.gradle中添加此项目,您可以构建该项目。
sourceSets {
main {
manifest.srcFile 'src/bk/AndroidManifest.xml'
}
}
我得到了这样的警告。
Error:(33, 28) No resource found that matches the given name (at 'label' with value '@string/app_name').
Error:(24, 24) No resource found that matches the given name (at 'theme' with value '@style/AppTheme').
Error:(22, 23) No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher').
Error:(23, 24) No resource found that matches the given name (at 'label' with value '@string/app_name').
由于警告应用程序无法找到与其关联的drawables/strings,因为我们间接显示了清单路径。
我可能是错的。根据我的知识,我添加了我的假设。