我是 android 新手,我想在我的应用中添加付款选项。所以,我使用了 instamojo。我在 gradle 文件中包含 instamojo 库。但是 gradle 文件抛出错误。
错误:
Error:Failed to resolve: in.juspay:godel:0.6.11.0823
我的毕业文件:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:23.2.0'
compile 'de.hdodenhof:circleimageview:1.2.1'
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:recyclerview-v7:23.2.0'
compile 'com.loopj.android:android-async-http:1.4.7'
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
compile('com.googlecode.json-simple:json-simple:1.1.1') {
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
compile 'com.android.support:multidex:1.0.0'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'com.android.support:design:23.1.1'
compile 'com.google.gms:google-services:3.0.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.google.android.gms:play-services-location:8.4.0'
compile 'com.instamojo:android-sdk:1.2.4'
}
如果我在单独的应用程序中运行 instamojo sdk 意味着工作完美。如果我与我的应用程序集成意味着超过 gradle 错误。
求大神帮忙解决。
提前致谢。