title: "Unrecognized App" Android Pay API
body: <p>I'm testing the Android Pay API. I generated the public key by using the command </p>
  
  <pre><code>$ openssl ec -in merchant-key.pem -pubout -text -noout
  </code></pre>
  
  <p>and</p>
  
  <pre><code>echo $PUBLICKEY | xxd -r -p | base64
  </code></pre>
  
  <p>and put it in the "Android Pay" sample app like this</p>
  
  <pre><code>PaymentMethodTokenizationParameters parameters =
                  PaymentMethodTokenizationParameters.newBuilder()
                          .setPaymentMethodTokenizationType(PaymentMethodTokenizationType.NETWORK_TOKEN)
                          .addParameter("publicKey", "Key Here")
                          .build();
  </code></pre>
  
  <p>But everytime I try to test the app, i get this warning/error from the WalletFragment
  "Unrecognized App. Please make sure you trust this app"</p>
  
  <p><a href="https://i.stack.imgur.com/Sejd3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sejd3.jpg" alt="enter image description here"></a></p>