问题描述
我正在尝试安装 paytm_allinone_react-native。
我使用以下 cmd 安装了它。
npm install paytm_allinone_react-native --save npx react-native 链接
然后我按照他们网站上显示的那样做
在 android/build.gradle
allprojects {
repositories {
...
maven {
url "https://artifactory.paytm.in/libs-release-local"
}
}
}
在 app/build.gradle 中
implementation "com.squareup.okhttp3:okhttp:4.8.0"
implementation "com.squareup.okhttp3:okhttp:4.2.1"
implementation "com.squareup.okhttp3:logging-interceptor:4.2.1"
implementation "com.squareup.okhttp3:okhttp-urlconnection:4.2.1"
implementation('com.paytm.appinvokesdk:appinvokesdk:1.5.4'){
exclude group: "com.squareup.okhttp3",module: 'okhttp3'
}
当我运行 ./gradlew clean 然后 react-native start 然后 react-native run-android
然后在 react-native run-android 我收到这样的错误 = 任务 ':app:processDebugMainfest' 执行失败 我还在项目级 build.gradle 文件中将 minSDKversion 更改为 18,19,21。但不工作。请帮忙....
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)