title: Can I test Google Play In-App Review in Android Emulator?
body: <p>I'm learning <a href="https://developer.android.com/guide/playcore/in-app-review#when-to-request" rel="nofollow noreferrer">Google Play In-App Review</a> .</p>
  <p>I run Code A in Android Emulator, I hope to display Google in-app review UI just like Image A, but I get only the info &quot;aa&quot; which means request failed.</p>
  <p>Can I test Google Play In-App Review in Android Emulator?</p>
  <p><strong>Code A</strong></p>
  <pre><code>val manager = ReviewManagerFactory.create(mContext)
     
      val request = manager.requestReviewFlow()
     //val manager = FakeReviewManager(mContext)
   
      request.addOnCompleteListener { request -&gt;
                  if (request.isSuccessful) {
                      // We got the ReviewInfo object
                      val reviewInfo = request.result
  
  
                      val flow = manager.launchReviewFlow(mActivity, reviewInfo)
                      flow.addOnCompleteListener { _ -&gt;
                          // The flow has finished. The API does not indicate whether the user
                          // reviewed or not, or even whether the review dialog was shown. Thus, no
                          // matter the result, we continue our app flow.
                          Log.e(&quot;my&quot;,&quot;cc&quot;)
                      }
  
                      Log.e(&quot;my&quot;,&quot;bb&quot;)
  
                  } else {
                      Log.e(&quot;my&quot;,&quot;aa&quot;)
                      // There was some problem, continue regardless of the result.
                  }
       }
  </code></pre>
  <p><strong>Image A</strong>
  <a href="https://i.stack.imgur.com/2Nxyz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Nxyz.jpg" alt="enter image description here" /></a></p>