ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not download twitter.aar (com.twitter.sdk.android:twitter:3.1.0)
add jcenter()
also inside your repositories and then sync again
repositories {
jcenter()
}
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not download okhttp.jar (com.squareup.okhttp3:okhttp:4.3.1)
From this answer: you can add it like this
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.8.0'
and to get dependencies from maven you need to add this to your repositories
repositories {
mavenCentral()
}
Related Topics
Prevent Ussd Dialog and Read Ussd Response
Change Viewpager Animation Duration When Sliding Programmatically
How to Change the Toolbar Text Size
Difference Between Extending Lifecycleactivity,Activity,Actionbaractivity & Appcompactactivity
How to Keep Android Applications Always Be Logged in State
How to Add a Button to a Preferencescreen
How to Show Snackbar at Top of the Screen
Encoding H.264 from Camera with Android Mediacodec
How to Compile C into an Executable Binary File and Run It in Android from Android Shell
Retrofit Uploading Multiple Images to a Single Key
Scaled Bitmap Maintaining Aspect Ratio
Android Application Class Lifecycle
How to Add New Activity to Existing Project in Android Studio
Technical Details of Android Garbage Collector