'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
Solution 1:[1]
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.
Solution 2:[2]
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)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | sanskar soni |
Solution 2 | Hemant Rajpoot |