Error "No matching client found for package name" is shown when trying to build a Cordova client application with push enable into RHMAP

Solution Verified - Updated -

Issue

Error No matching client found for package name is shown when trying to build a Cordova client application with push enable into RHMAP. Following an example.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugGoogleServices'.
> No matching client found for package name 'org.feedhenry.dart.helloworld.cordova'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/data/data/tmp/2bf6ffc2-f3ec-4450-b0d9-549fcdfe68c6/unzip/files/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) code: 1 }

Environment

  • Red Hat Mobile Application Platform (RHMAP) - 3.X, 3.20.2, 4.X, 4.5
  • aerogear-cordova-push - 3.1.2
  • Android

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content