GoldenOwlAsia / react-native-twitter-signin

MIT License
167 stars 304 forks source link

Getting Error in Android while building after installing this library. #187

Open Saad9624 opened 2 years ago

Saad9624 commented 2 years ago

Execution failed for task ':app:mergeDebugAssets'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.twitter.sdk.android:twitter-core:3.3.0.

Saad9624 commented 2 years ago

@GoldenowlConsultingCompany

saurabhjayx commented 2 years ago

same issue, please resolve

BroHammie commented 2 years ago

I needed to add jcenter() as a new repository in my android/build.gradle like:


allprojects {
    repositories {
        ...
        jcenter()
    }
}
anctsys commented 2 years ago

Error in Android after installing react-native-google-signin/google-signin library

After install the library npm i @react-native-twitter-signin/twitter-signin Follow the procedure https://rnfirebase.io/auth/social-auth

Installation broken

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.twitter.sdk.android:twitter-core:3.3.0.
     Searched in the following locations:
       - file:/node_modules/react-native/android/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - file:/node_modules/jsc-android/dist/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - https://repo.maven.apache.org/maven2/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - https://dl.google.com/dl/android/maven2/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - https://www.jitpack.io/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
     Required by:
         project :app > project :react-native-twitter-signin_twitter-signin

@BroHammie , i found jcenter from android/build.gradle why did you use it ? @Saad9624 , you have an other solution

Jaybee4real commented 2 years ago

@BroHammie Still failing with jcenter, is there something I am missing or is there another solution?

tannguyen05 commented 2 years ago

@BroHammie thank you so much

allprojects { repositories { ... jcenter() } }

dziekonskik commented 1 year ago

any solution on that please?