dotGitignore
dotGitignore

Reputation: 1627

Implementing the Huawei IAP on Android

does anyone try to implement the Huawei IAP(In-App Purchase) to your android app? because, I'm trying to implement it but I have a problem to the dependency.

It says ERROR: Failed to resolve: com.huawei.hms:iap:4.0.0.300

I'm just trying if this dependency is working and skipped some of the steps on the tutorial

This is the tutorial link https://developer.huawei.com/consumer/en/codelab/HMSInAppPurchase/index.html#5

Hope someone can help..

Thank you,

Upvotes: 2

Views: 457

Answers (1)

ANDREIRTT
ANDREIRTT

Reputation: 42

just add to build.gradle

allprojects {
  repositories {
     .....
     maven {
         url 'http://developer.huawei.com/repo/'
     }
  }

Upvotes: 2

Related Questions