From b77f795b3dd77ef1e55897cbffd878c3a068dbd5 Mon Sep 17 00:00:00 2001 From: Jenly Date: Thu, 4 Mar 2021 17:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d99f3e8..b4659bc 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ AppUpdater for Android 是一个专注于App更新,一键傻瓜式集成App版 @Override public void onClick(View v) { new AppUpdater.Builder() - .serUrl(mUrl) + .setUrl(mUrl) .build(getContext()) .start(); AppDialog.INSTANCE.dismissDialog(); @@ -128,7 +128,7 @@ AppUpdater for Android 是一个专注于App更新,一键傻瓜式集成App版 @Override public void onClick(View v) { new AppUpdater.Builder() - .serUrl(mUrl) + .setUrl(mUrl) .setFilename("AppUpdater.apk") .build(getContext()) .setHttpManager(OkHttpManager.getInstance())//不设置HttpManager时,默认使用HttpsURLConnection下载,如果使用OkHttpClient实现下载,需依赖okhttp库