Home > Mobile >  ./gradlew bundle command builds. Aab file
./gradlew bundle command builds. Aab file

Time:10-07

When open the databinding./gradlew bundle build. Aab file failure, mistakes are as follows:


Task: app: kaptDebugKotlin FAILED
E: Java. Lang. NoClassDefFoundError: javax.mail/XML/bind/JAXBException
The at Java. The base/Java. Lang. Class. GetDeclaredConstructors0 (Native Method)
At Java. The base/Java. Lang. Class. PrivateGetDeclaredConstructors (3138) Class. Java:
At Java. The base/Java. Lang. Class. GetConstructor0 (3343) Class. Java:
At Java. The base/Java. Lang. Class. NewInstance (556) Class. Java:
The at org. Jetbrains. Kotlin. Cli. JVM. Plugins. ServiceLoaderLite. LoadImplementations (ServiceLoaderLite. Kt: 50)
The at org. Jetbrains. Kotlin. Kapt3. ClasspathBasedKapt3Extension $$efficientProcessorLoader loadProcessors $1. DoLoadProcessors (Kapt3Extension. Kt: 83)
The at org. Jetbrains. Kotlin. Kapt3. Base. ProcessorLoader. LoadProcessors (ProcessorLoader. Kt: 45)
The at org. Jetbrains. Kotlin. Kapt3. Base. ProcessorLoader. LoadProcessors $default (28) ProcessorLoader. Kt:
The at org. Jetbrains. Kotlin. Kapt3. ClasspathBasedKapt3Extension. LoadProcessors (Kapt3Extension. Kt: 88)
The at org. Jetbrains. Kotlin. Kapt3. AbstractKapt3Extension. AnalysisCompleted (Kapt3Extension. Kt: 171)
The at org. Jetbrains. Kotlin. Kapt3. ClasspathBasedKapt3Extension. AnalysisCompleted (Kapt3Extension. Kt: 98)
Piler at org.jetbrains.kotlin.cli.jvm.com. TopDownAnalyzerFacadeForJVM $analyzeFilesWithJavaIntegration $2. Invoke (TopDownAnalyzerFacadeForJVM. Kt: 96)
Piler at org.jetbrains.kotlin.cli.jvm.com. TopDownAnalyzerFacadeForJVM. AnalyzeFilesWithJavaIntegration (TopDownAnalyzerFacadeForJVM kt: 106)
Piler at org.jetbrains.kotlin.cli.jvm.com. TopDownAnalyzerFacadeForJVM. AnalyzeFilesWithJavaIntegration $default (TopDownAnalyzerFacadeForJVM. Kt: 82)
Piler at org.jetbrains.kotlin.cli.jvm.com. The KotlinToJVMBytecodeCompiler $analyze $1. Invoke (KotlinToJVMBytecodeCompiler. Kt: 384)
Piler at org.jetbrains.kotlin.cli.jvm.com. The KotlinToJVMBytecodeCompiler $analyze $1. Invoke (KotlinToJVMBytecodeCompiler. Kt: 70)
At org.jetbrains.kotlin.cli.com, mon. Messages. AnalyzerWithCompilerReport. AnalyzeAndReport (AnalyzerWithCompilerReport. Kt: 107)
Piler at org.jetbrains.kotlin.cli.jvm.com. KotlinToJVMBytecodeCompiler. Analyze (KotlinToJVMBytecodeCompiler kt: 375)
The at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.com pileModules $cli (KotlinToJVMBytecodeCompiler. Kt: 123)
The at org. Jetbrains. Kotlin. Cli. JVM. K2JVMCompiler. The doExecute (K2JVMCompiler. Kt: 131)
The at org. Jetbrains. Kotlin. Cli. JVM. K2JVMCompiler. The doExecute (K2JVMCompiler. Kt: 54)
At org.jetbrains.kotlin.cli.com, mon. CLICompiler. ExecImpl (CLICompiler kt: 84)
At org.jetbrains.kotlin.cli.com, mon. CLICompiler. ExecImpl (CLICompiler kt: 42)
At org.jetbrains.kotlin.cli.com, mon. CLITool. Exec (CLITool kt: 103)
At org.jetbrains.kotlin.daemon.Com pileServiceImpl $compile $1 $1 $2. Invoke (CompileServiceImpl. Kt: 442)
At org.jetbrains.kotlin.daemon.Com pileServiceImpl $compile $1 $1 $2. Invoke (CompileServiceImpl. Kt: 102)
At org.jetbrains.kotlin.daemon.Com pileServiceImpl $doCompile $$$$lambda ifAlive inlined $2. Invoke (CompileServiceImpl. Kt: 1023)
At org.jetbrains.kotlin.daemon.Com pileServiceImpl $doCompile $$$$lambda ifAlive inlined $2. Invoke (CompileServiceImpl. Kt: 102)
At org.jetbrains.kotlin.daemon.com, mon. DummyProfiler. WithMeasure (PerfUtils kt: 137)
At org.jetbrains.kotlin.daemon.Com pileServiceImpl. CheckedCompile (CompileServiceImpl. Kt: 1065)
At org.jetbrains.kotlin.daemon.Com pileServiceImpl. DoCompile (CompileServiceImpl. Kt: 1022)
At org.jetbrains.kotlin.daemon.CompileServiceImpl.com running (CompileServiceImpl kt: 441)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
The at Java. The base/JDK. Internal. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. The base/Java. Lang. Reflect. Method. Invoke (566) Method. The Java:
At Java rmi/sun. Rmi. Server UnicastServerRef. Dispatch (UnicastServerRef. Java: 359)
At Java rmi/sun. Rmi. Transport. Transport $1. The run (200) transport. Java:
At Java rmi/sun. Rmi. Transport. Transport $1. The run (197) transport. Java:
The at Java. The base/Java. Security. The AccessController. DoPrivileged (Native Method)
At Java rmi/sun. Rmi. Transport. Transport. ServiceCall (196) transport. Java:
At Java rmi/sun. Rmi. Transport. TCP. TCPTransport. HandleMessages (TCPTransport. Java: 562)
At Java rmi/sun. Rmi. Transport. TCP. TCPTransport $ConnectionHandler. Run0 (TCPTransport. Java: 796)
At Java rmi/sun. Rmi. Transport. TCP. TCPTransport $ConnectionHandler. Lambda $run $0 (677) TCPTransport. Java:
The at Java. The base/Java. Security. The AccessController. DoPrivileged (Native Method)
At Java rmi/sun. Rmi. Transport. TCP. TCPTransport $ConnectionHandler. Run (676) TCPTransport. Java:
The at Java. The base/Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1128)
At Java. The base/Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 628)
At Java. The base/Java. Lang. Thread. The run (834) Thread. Java:
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related