diff --git a/arouter-api/src/main/java/com/alibaba/android/arouter/core/LogisticsCenter.java b/arouter-api/src/main/java/com/alibaba/android/arouter/core/LogisticsCenter.java index a8ddfd69..ee84bef5 100644 --- a/arouter-api/src/main/java/com/alibaba/android/arouter/core/LogisticsCenter.java +++ b/arouter-api/src/main/java/com/alibaba/android/arouter/core/LogisticsCenter.java @@ -221,6 +221,8 @@ private static void setValue(Postcard postcard, Integer typeDef, String key, Str // TODO : How to description parcelable value with string? } else if (typeDef == TypeKind.OBJECT.ordinal()) { postcard.withString(key, value); + } else { // Compatible compiler sdk 1.0.3, in that version, the string type = 18 + postcard.withString(key, value); } } else { postcard.withString(key, value); diff --git a/gradle.properties b/gradle.properties index 62597506..d08c862c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ MIN_SDK_VERSION=12 TARGET_SDK_VERSION=25 arouter_compiler_version=1.0.4 -arouter_api_version=1.0.8 +arouter_api_version=1.0.9 arouter_annotation_version=1.0.3 bintrayRepo=maven