0

Im trying to get sinch going, and I am following their tutorial form here. https://www.sinch.com/tutorials/android-messaging-tutorial-using-sinch-and-parse/

step one is download the skelton and do the gradle build, however first error was unsporrted version of gradle. android studio fixed it automatically and re-imported. and then i get this error:

Error:(15, 0) Gradle DSL method not found: 'runProguard()' Possible causes:

  • The project 'messenger' may be using a version of Gradle that does not contain the method. Open Gradle wrapper file
  • The build file may be missing a Gradle plugin. Apply Gradle plugin
  • I'm new to android programming and android studio, so I'm kinda lost. How can i get this built and continue with the tutorial?

    4

    2 回答 2

    1

    To comply with the newer versions of Gradle, change 'runProguard' to 'minifyEnabled'

    于 2015-04-13T15:29:47.580 回答
    1

    in my case, i am using sinch 3.11.1. it is aar file. so you need to import aar file. after that you can use sinch on your project. to import aar file you can follow this video (it is not mine):

    https://www.youtube.com/watch?v=J-GbMTa1fX0

    hope it helps.

    于 2017-09-19T07:58:50.713 回答