我在尝试让provider_authority
调用ContentResolver
函数时遇到问题:
错误:
java.lang.IllegalArgumentException:Authority必须是非空的
代码:
Account p = getAccountInc(context);
String q = context.getString(R.string.provider_authority);
Bundle extra = bundle;
resolver2.requestSync(p,q,extra);
我已经查找了provider_authority是否重复,而在类R中,值是:
public static final int provider_authority=0x7f0e0036;