Skip to content
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

Windows环境下使用的若干问题反馈 #84

Open
hanlyjiang opened this issue Jul 20, 2019 · 1 comment
Open

Windows环境下使用的若干问题反馈 #84

hanlyjiang opened this issue Jul 20, 2019 · 1 comment

Comments

@hanlyjiang
Copy link

hanlyjiang commented Jul 20, 2019

升级兼容Android9.0的版本后,在windows上使用的几个问题及建议,主要是使用非独立插件时遇到的:

  1. host编译过程中,ThemeProcessor 中写xml的patch文件时,windows上默认写出的不是uft-8 的编码,如果文件内容有中文,会写入成乱码,后续插件编译时aapt compile会失败,导致插件无法编译,建议此处指定编码UTF-8;
  2. plugin.gradle makeHostBaseLine 中build目录没有使用${project.buildDir}替换,对于eclipse迁移的项目,无法正确指向。
    两个修改后的gradle 文件放这里了:https://github.com/hanlyjiang/Android-Plugin-Framework/tree/master/FairyPlugin/agp3_3_1
@limpoxe
Copy link
Owner

limpoxe commented Jul 24, 2019

好的 我参考下,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants