From bac543b565b72fb5e6d3eb9d7b10bb821c24e309 Mon Sep 17 00:00:00 2001 From: zhouweixian Date: Thu, 14 Nov 2019 18:23:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=98=E6=96=B9v0.2.0?= =?UTF-8?q?=E5=88=86=E6=94=AFsetBadgeNumber=E6=89=BE=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E7=AC=A6=E5=8F=B7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v0.2.0版本使用了jpush3.3.6以后才支持setBadgeNumber,而gradle里jpush的版本依然是3.3.4,所以导致build失败。升级到最新jpush版本后解决。 --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 801e2462..195c7019 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -34,9 +34,9 @@ android { } dependencies { - implementation 'cn.jiguang.sdk:jpush:3.3.4' + implementation 'cn.jiguang.sdk:jpush:3.3.9' implementation 'cn.jiguang.sdk:jcore:2.1.2' // implementation 'com.android.support:appcompat-v7:28.+' compileOnly files('libs/flutter.jar') -} \ No newline at end of file +}