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

implementation ShapeView后,编译出现AAPT错误。 #17

Closed
eagle518 opened this issue Sep 27, 2021 · 7 comments
Closed

implementation ShapeView后,编译出现AAPT错误。 #17

eagle518 opened this issue Sep 27, 2021 · 7 comments

Comments

@eagle518
Copy link

我的工程只要添加ShapeView库,编译出现以下出错,不得解:

xxx\src\main\res\values\strings.xml:1238:5-115: AAPT: warn: multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?.

去除ShapeView即编译正常。

@getActivity
Copy link
Owner

小伙子,框架的 Demo 会出现这个问题吗?

@eagle518
Copy link
Author

小伙子,框架的 Demo 会出现这个问题吗?

不会,在我另外两个工程里也不会;现在也不知道是跟这个项目的哪个配置之类的冲突了,找了几小时没找到原因。

@getActivity
Copy link
Owner

小伙子,我自己的话怎么试都是没有出现这个问题的,所以只能靠你自己去排查问题了,等你排查到原因了再反馈给我吧。

@getActivity
Copy link
Owner

小伙子,你看看这边还有其他问题不,没有的话我就关闭 issue 了。

@getActivity
Copy link
Owner

超过三天没有响应,关闭此 issue。

@eagle518
Copy link
Author

今日有空继续这个工程的集成,发现是attrs.xml里的一个name冲突引起这个错误提示,是android studio的锅。

@getActivity
Copy link
Owner

@eagle518 OK 的,小伙子,后续如果有遇到其他问题欢迎再反馈给我。

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