1.webview设置proxy后用户名密码校验
webview.setWebViewClient(new WebViewClient () {
public void onReceivedHttpAuthRequest(WebView view,
HttpAuthHandler handler, String host, String realm) {
handler.proceed("login", "pass");
}
});
2.android studio配置gradle的maven库
allprojects {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
}
}
1.adb在D:\software\dev\Android\sdk\platform-tools下