最近在使用ConstraintLayout 時報錯如下:
Using version 1.0.0-alpha8 of the constraint library, which is obsolete
查詢之後發現是ConstraintLayout版本過低,既然知道了錯誤原因問題就容易解決了。
解決方案:
用SDK Manager更新ConstraintLayout 的版本,然後更改gradle文件中的相應代碼即可解決問題。
最近在使用ConstraintLayout 時報錯如下:
Using version 1.0.0-alpha8 of the constraint library, which is obsolete
查詢之後發現是ConstraintLayout版本過低,既然知道了錯誤原因問題就容易解決了。
解決方案:
用SDK Manager更新ConstraintLayout 的版本,然後更改gradle文件中的相應代碼即可解決問題。