java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/util/ArrayMap;

后端 未结 4 1018
囚心锁ツ
囚心锁ツ 2020-12-17 10:16

Today i found this error while trying to run my app. I made the following attempts towards solving it. - First i removed multidex support, but i can still see the slices of

4条回答
  •  孤城傲影
    2020-12-17 10:42

    for me I found this change fixed my issue. I had a repo that built find in July this year. Then as I kept my build environment up to date with flutter etc, it wouldn't build this project but built my other project fine. I found this difference:

    --- a/android/build.gradle
    +++ b/android/build.gradle
    @@ -5,8 +5,8 @@ buildscript {
         }
    
         dependencies {
    -        classpath 'com.android.tools.build:gradle:3.2.1'
    -        classpath 'com.google.gms:google-services:4.2.0'
    +        classpath 'com.android.tools.build:gradle:3.3.0'
    +        classpath 'com.google.gms:google-services:4.3.0'
         }
     }
    

提交回复
热议问题