对接华为支付时需要在插件里声明个 <provider android:name="com.huawei.hms.update.provider.UpdateProvider" android:authorities="${applicationId}.hms.update.provider" android:exported="false" android:grantUriPermissions="true"></provider> <provider android:name="com.huawei.hms.device.provider.CheckHmsProvider" android:authorities="${applicationId}.hms.device.validate.spoofprovider" android:exported="false" android:grantUriPermissions="false" /> 打包的时候看到插件的Manifest里有 android:grantUriPermissions="false",但在运行插件时会报错。因为CheckHmsProvider里有个判断grantUriPermissions为true时有抛个异常,导致插件闪退。  明明传的false,但是代码里收到的是true....