我正在运行示例应用程序......我正在使用this模块.....但我得到这样的错误......
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':react-native-google-analytics-bridge'.
> Could not find support-v4.aar (com.android.support:support-v4:25.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/25.2.0/support-v4-25.2.0.aar
我的模块版本是:" react-native-google-analytics-bridge":" ^ 5.2.2"
答案 0 :(得分:2)
在这种失败的情况下,有时模块链接不顺利。请尝试按照链接中的说明手动链接模块:https://github.com/idehub/react-native-google-analytics-bridge/wiki/Manual-installation 和/或尝试替换" support-v4:25.2.0"使用compile' com.android.support:support-v13:23.1.1'。 位置:Android / App / build.gradle