Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android X との互換性がないため、Android でアプリを実行しているときにこのエラーが発生しました。を有効にしても、この問題を解決できませんmultiDex true。助けてください
multiDex true
私は自分compileSDKを30に変更targetSDKVersionし30、同様に変更minSDKVersionし21、アプリレベルのbuild.gradleに変更したところ、うまくいき始めました。また、Android build.gradle でからclasspath'com.android.tools.build:gradle:3.5.0'に変更しました。classpath'com.android.tools.build:gradle:4.1.0'
compileSDK
30
targetSDKVersion
minSDKVersion
21
classpath'com.android.tools.build:gradle:3.5.0'
classpath'com.android.tools.build:gradle:4.1.0'