无法访问OnReceiveContentViewBehavior 现象 症结 可能是appcompat版本过高 implementation 'androidx.appcompat:appcompat:1.3.1' 修复 降低版本 implementation 'androidx.appcompat:appcompat:1.2.0'