google_play_services_version)。错误:处理失败

时间:2018-10-04 13:04:20

标签: android

更新为28 API后,我收到以下错误消息:

Output:  D:\Mahmoud\0MyApp\Mallion_Hasanah\app\build\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml:43: error: resource integer/google_play_services_version (aka thepurplecastle.million_hasanah:integer/google_play_services_version) not found.
error: failed processing manifest.

谁能提供一些见识?

1 个答案:

答案 0 :(得分:-1)

对我来说,我必须从应用程序的Gradle文件中删除此行:

function exclude_category_type_from_search( $query ) {

  if ( $query->is_search ) {
    $query->set( 'cat', '-22, -21' );
  }

}
add_action( 'pre_get_posts', 'exclude_category_type_from_search', 10 );