天天看點

kotlin跟java混編_在kotlin 和 java 混編的時候發現了幾個常見的問題(如: zip is xxxx)及解決方式...

你好,我想問一下你遇到的 zip is xxxx這個問題是怎麼解決的?我也遇到了這個問題。然後換你的插件,遇到下面的報錯,目前還都跑不起來:no sources specified

AspectJ Compiler

Usage: ..

AspectJ-specific options:

-inpath use classes in dirs and jars/zips in as source

( uses platform-specific path delimiter)

-injars use classes in zip files as source

( uses classpath delimiter)

deprecated - use inpath instead.

-aspectpath weave aspects in .class files from dirs and jars/zip into sources

( uses classpath delimiter)

-outjar put output classes in zip file

-outxml generate META-INF/aop.xml

-outxmlfile specify alternate destination output of -outxml

-argfile specify line-delimited list of source files

-showWeaveInfo display information about weaving

-incremental continuously-running compiler, needs -sourceroots

(reads stdin: enter to recompile and 'q' to quit)

-sourceroots compile all .aj and .java files in

( uses classpath delimiter)

-crossrefs generate .ajsym file into the output directory

-emacssym generate .ajesym symbol files for emacs support

-Xlint same as '-Xlint:warning'

-Xlint: set default level for crosscutting messages

( may be ignore, warning, or error)

-Xlintfile specify properties file to set per-message levels

(cf org/aspectj/weaver/XlintDefault.properties)

-X print help on non-standard options

Standard Eclipse compiler options:

Options enabled by default are prefixed with '+'

Classpath options:

-cp -classpath

specify location for application classes and sources

-bootclasspath

specify location for system classes

-d destination directory (if omitted, no directory is created)

-d none generate no .class files

-encoding specify custom encoding for all sources. Each file/directory can override it

when suffixed with '['']' (e.g. X.java[utf8])

Compliance options:

-1.4 + use 1.4 compliance (-source 1.3 -target 1.2)

-1.5 -5 -5.0 use 1.5 compliance (-source 1.5 -target 1.5)

-1.6 -6 -6.0 use 1.6 compliance (-source 1.6 -target 1.6)

-1.7 -7 -7.0 use 1.7 compliance (-source 1.7 -target 1.7)

-1.8 -8 -8.0 use 1.8 compliance (-source 1.8 -target 1.8)

-1.9 -9 -9.0 use 1.9 compliance (-source 1.9 -target 1.9)

-10 for Java 10 (-source 10 -target 10)

-11 for Java 11 (-source 11 -target 11)

-12 for Java 12 (-source 12 -target 12)

-13 for Java 13 (-source 13 -target 13)

-14 for Java 14 (-source 14 -target 14)

-source set source level: 1.3 to 14

-target set classfile target: 1.1 to 14