Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
316 views
in Technique[技术] by (71.8m points)

Failed compile Ionic with Hypertrack SDK (firebase & android-support-v4 dependencies?)

I have a problem when building android with ionic and hypertrack integration. I have following their requirement for hypertrack integration in ionic https://hypertrack.com/docs/install-sdk-ionic/

The error writed:

  Dependency failing: com.hypertrack:hypertrack:4.9.0 -> com.android.support:support-v4@[26.1.0, 28.0.0], but support-v4 v
  ersion was 27.1.1.

  The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the artifact with the issue.
  -- Project 'app' depends onto com.google.firebase:firebase-core@+
  -- Project 'app' depends onto com.google.firebase:[email protected]
  -- Project 'app' depends onto com.google.android.gms:[email protected]
  -- Project 'app' depends onto com.google.firebase:[email protected]
  -- Project 'app' depends onto com.hypertrack:[email protected]
  -- Project 'app' depends onto com.google.android.gms:[email protected]
  -- Project 'app' depends onto com.android.support:support-v4@27.+
  -- Project 'app' depends onto com.google.android.gms:[email protected]
....

  For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dependency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your build.gradle file.

It seems something conflicts with dependencies against firebase. How it should be solved?

Thanks


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...