問題タブ [android-viewbinding]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
880 参照

android - アンドロイドViewBinding では機能しませんでした

この「新しい」Android ビュー バインディングに問題があります。<include> XML レイアウト ファイルで を使用しようとすると、例外が発生し ます。<include layout="@layout/teaser_agreement" />

インクルード ファイルは単なる基本的なレイアウト ファイルです。<include>タグを、含める必要があるレイアウトコードに直接置き換えると、すべて正常に機能します。

これは、生成されたクラスの例外です。

助言がありますか?

Thx、ミルコ