Skip to content

Commit a757606

Browse files
committed
update AGP fix 「Failed to transform appcompat-resources-1.7.0.aar Cannot invoke "String.length()" because "<parameter1>" is null」
1 parent 1295583 commit a757606

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

android/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ android {
8585
configurations.all {
8686
resolutionStrategy {
8787
///为了 https://github.com/pichillilorenzo/flutter_inappwebview/issues/2150
88-
force 'androidx.webkit:webkit:1.8.0'
88+
///force 'androidx.webkit:webkit:1.8.0'
8989
///为了 Failed to transform appcompat-resources-1.7.0.aar
90+
///这玩意导致的 Failed to transform appcompat-resources-1.7.0.aar Cannot invoke "String.length()" because "<parameter1>" is null 居然要升级 AGP 8.6.1 才能适配,有毒
9091
//force "androidx.appcompat:appcompat:1.6.1"
9192
}
9293
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.0.1" apply false
21+
id "com.android.application" version "8.6.1" apply false
2222
id "org.jetbrains.kotlin.android" version "1.8.10" apply false
2323
}
2424

pubspec.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -325,14 +325,13 @@ packages:
325325
source: hosted
326326
version: "6.1.0+1"
327327
flutter_inappwebview_android:
328-
dependency: "direct overridden"
328+
dependency: transitive
329329
description:
330-
path: flutter_inappwebview_android
331-
ref: d89b1d32638b49dfc58c4b7c84153be0c269d057
332-
resolved-ref: d89b1d32638b49dfc58c4b7c84153be0c269d057
333-
url: "https://github.com/holzgeist/flutter_inappwebview"
334-
source: git
335-
version: "1.0.13"
330+
name: flutter_inappwebview_android
331+
sha256: "3556d47c28369162b92c53243fa1f3e6672fc6c0b180d06d482f62c93fc87d56"
332+
url: "https://pub.flutter-io.cn"
333+
source: hosted
334+
version: "1.1.0"
336335
flutter_inappwebview_internal_annotations:
337336
dependency: transitive
338337
description:

pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ dependency_overrides:
2020
#gql_http_link: 0.3.2
2121
#http_parser: 4.0.0
2222
# fix inappwebview R8 issue https://github.com/pichillilorenzo/flutter_inappwebview/issues/2193
23-
flutter_inappwebview_android:
24-
git:
25-
url: https://github.com/holzgeist/flutter_inappwebview
26-
path: flutter_inappwebview_android
27-
ref: d89b1d32638b49dfc58c4b7c84153be0c269d057
23+
# flutter_inappwebview_android:
24+
# git:
25+
# url: https://github.com/holzgeist/flutter_inappwebview
26+
# path: flutter_inappwebview_android
27+
# ref: d89b1d32638b49dfc58c4b7c84153be0c269d057
2828

2929
dependencies:
3030
flutter:

0 commit comments

Comments
 (0)