简体   繁体   中英

Execution fail task ':capacitor-cordova-android-plugins:processDebugGoogleServices'. No matching client found for package 'capacitor.android.plugins'

Error while building the app in studio. enter image description here

add google-services.json file in android/app and android/capacitor-cordova-android-plugin

edit package name in android/capacitor-cordova-android-plugin/menifests/AndroidManifest.xml and android/app/build.gradle

package must same as in services.json file.

Note - In gradle u need to change applicationId.

open the manifest file in "capacitor-cordova-android-plugins" folder in android studio replace "capacitor.android.plugins" with your app package name(like io.ionic.starter)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM