Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find support-v4.aar (com.android.support:support-v4:25.2.0)

Tags:

react-native

i am running sample application...... I am using this module..... But i am getting error like 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

My module version is :"react-native-google-analytics-bridge": "^5.2.2"

Here is the screenshot: enter image description here

like image 763
Harika Avatar asked Jun 13 '18 05:06

Harika


1 Answers

enter image description hereIn such cases of failure, sometimes the module linking doesn't go well.Please try to link the module manually as described in the link :https://github.com/idehub/react-native-google-analytics-bridge/wiki/Manual-installation and/or try replace "support-v4:25.2.0" with compile 'com.android.support:support-v13:23.1.1'. Location: Android/App/build.gradle

like image 143
Himanshu G Avatar answered Nov 15 '22 09:11

Himanshu G