Android

作者: PeterWang2017 | 来源:发表于2017-04-18 14:52 被阅读0次

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/' }
    }
}

3.用adb向Genymotion模拟器内拷贝文件

1.adb在D:\software\dev\Android\sdk\platform-tools下

相关文章

网友评论

      本文标题:Android

      本文链接:https://www.haomeiwen.com/subject/oenfzttx.html