Java 无法将OAuth导入Android?

Java 无法将OAuth导入Android?,java,android,api,oauth,Java,Android,Api,Oauth,我在本网站上以雅虎天气文档为例: 我无法导入OAuth库,我知道我需要将库的链接放在build.gradle文件中,但问题是我在internet上找不到任何使其工作的链接 我需要的图书馆: import net.oauth.OAuth; import net.oauth.OAuthAccessor; import net.oauth.OAuthConsumer; import net.oauth.OAuthException; import net.oauth.OAuthMessage; 我的

我在本网站上以雅虎天气文档为例:

我无法导入OAuth库,我知道我需要将库的链接放在build.gradle文件中,但问题是我在internet上找不到任何使其工作的链接

我需要的图书馆:

import net.oauth.OAuth;
import net.oauth.OAuthAccessor;
import net.oauth.OAuthConsumer;
import net.oauth.OAuthException;
import net.oauth.OAuthMessage;
我的build.grade文件:

dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
    implementation 'com.android.volley:volley:1.1.1'
    implementation 'com.google.code.gson:gson:2.8.6'
}
我已经尝试了
实现'org.scribe:scribe:1.3.5'

检查