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

提示:value_public_attrs.arsc.flat文件未生成,请检查路径 #80

Open
huakaihualuochunyoulai opened this issue Apr 15, 2019 · 2 comments

Comments

@huakaihualuochunyoulai
Copy link

你好,主要是想用集成一个独立的第三方apk功能
集成编译时 提示:
value_public_attrs.arsc.flat文件未生成,请检查路径

我在应用host.gradle时是将host.gralde放到了本地,写法如下:
apply from "host.gradle"

请问下是什么原因引起的 value_public_attrs.arsc.flat文件未生成

@limpoxe
Copy link
Owner

limpoxe commented Apr 16, 2019

检查一下aapt2命令是否在环境变量中,编译脚本需要调用aapt2

@IaMJamesHuang
Copy link

如果确认appt2在环境变量中,可以手动运行一下host.gradle运行的aapt2 -compile 命令,如果提示xml解析失败可能是编码问题,在gradle.properties里指定一下org.gradle.jvmargs=-Dfile.encoding=UTF-8

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

3 participants