Я использовал команду для создания своего приложения.
. / Gradlew: app: Assemblyrelease.
At task: app: dexBuilderRelease. У меня ошибка.
Caused by: org.gradle.tooling.BuildException: Failed to process: ........./app/build/intermediates/transforms/sensorsAnalyticsAutoTrack/googlePlay/release/223.jar
at com.android.build.gradle.internal.dexing.DexWorkAction.run(DexWorkAction.kt:59)
at org.gradle.workers.internal.AdapterWorkAction.execute(AdapterWorkAction.java:57)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:67)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:63)
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:97)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:63)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$$Lambda$839.00000000978A4420.execute(Unknown Source)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
Caused by: java.lang.NullPointerException
at Version.fakeStackEntry(Version_2.0.88.java:0)
at java.util.IdentityHashMap.containsKey(IdentityHashMap.java:352)
at java.util.Collections$SetFromMap.contains(Collections.java:5513)
at com.android.tools.r8.dex.P$g.a(:2)
at com.android.tools.r8.dex.P$g.addString(:1)
at com.android.tools.r8.graph.f0.collectIndexedItems(:3)
at com.android.tools.r8.graph.Z.collectIndexedItems(:2)
at com.android.tools.r8.graph.V.collectIndexedItems(:2)
at com.android.tools.r8.graph.T.collectIndexedItems(:4)
at com.android.tools.r8.graph.V.collectIndexedItems(:1)
at com.android.tools.r8.graph.V.a(:2)
at com.android.tools.r8.graph.V$$Lambda$3484.000000009B598550.accept(Unknown Source)
at com.android.tools.r8.graph.V.a(:8)
at com.android.tools.r8.graph.V.a(:1)
at com.android.tools.r8.graph.b0.b(:2)
at com.android.tools.r8.graph.b0.collectIndexedItems(:23)
at com.android.tools.r8.graph.V.collectIndexedItems(:1)
at com.android.tools.r8.dex.P.a(:48)
at com.android.tools.r8.dex.P$i.a(:42)
at com.android.tools.r8.dex.P$e.a(:77)
at com.android.tools.r8.dex.b.a(:15)
at com.android.tools.r8.dex.b.b(:24)
at com.android.tools.r8.D8.d(:92)
at com.android.tools.r8.D8.b(:1)
at com.android.tools.r8.D8$$Lambda$3181.00000000A24B3020.run(Unknown Source)
at com.android.tools.r8.utils.W.a(:30)
at com.android.tools.r8.D8.run(:11)
at com.android.builder.dexing.D8DexArchiveBuilder.convert(D8DexArchiveBuilder.java:116)
... 36 more
Но когда я использую Android кнопку запуска Studio, все в порядке. Какая разница между ними?