good day!:
The problem comes when I use the git repository, and I want edit the AndroidManifest.xml, Android Studio show this dialog:
But to compile the project isn't affect, I don't understand, I add my repository files this way:
sourceSets {
main {
manifest.srcFile '/git/repository/src/myproject/AndroidManifest.xml'
assets.srcDirs = ['src/main/assets', 'res/assets/', 'src/main/assets/']
res.srcDirs = ['/git/repository/src/myproject/res/']
java.srcDirs = ['/git/repository/src/myproject/java/']
}
main.assets.srcDirs += '/git/repository/src/myproject/assets/'
}
Thanks advance.
你能检查一下gitignore文件中是否添加了AndroidManifest.xml吗?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.