跳到主要內容

嚴重: Internal compiler error -

日前Buildcode出現以下錯誤:
java.lang.AssertionError
        at com.android.sched.scheduler.MultiWorkersScheduleInstance.process(Mult                             iWorkersScheduleInstance.java:490)
        at com.android.jack.Jack.run(Jack.java:597)
        at com.android.jack.Jack.checkAndRun(Jack.java:367)
        at com.android.jack.CommandLine.runJack(CommandLine.java:66)
        at com.android.jack.Main.main(Main.java:73)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                             java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                             sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.android.jack.launcher.Main.main(Main.java:94)

Internal compiler error (version 1.1-mr2 'Brest' (175100 000a2f91edbe638090dc577                             801ba49592229fd8b)).
Warning: This may have produced partial or corrupted output.
make: *** [out/target/common/obj/JAVA_LIBRARIES/sdk_v20_intermediates/classes.ja                             ck] Error 3
make: *** Deleting file `out/target/common/obj/JAVA_LIBRARIES/sdk_v20_intermedia                             tes/classes.jack'
十月 26, 2017 4:23:54 下午 com.android.jack.CommandLine runJack
嚴重: Internal compiler error (version 1.1-mr2 'Brest' (175100 000a2f91edbe63809                             0dc577801ba49592229fd8b)):
java.lang.AssertionError
        at com.android.sched.scheduler.MultiWorkersScheduleInstance.process(Mult                             iWorkersScheduleInstance.java:490)
        at com.android.jack.Jack.run(Jack.java:597)
        at com.android.jack.Jack.checkAndRun(Jack.java:367)
        at com.android.jack.CommandLine.runJack(CommandLine.java:66)
        at com.android.jack.Main.main(Main.java:73)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                             sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.android.jack.launcher.Main.main(Main.java:94)

java.lang.AssertionError
        at com.android.sched.scheduler.MultiWorkersScheduleInstance.process(Mult                             iWorkersScheduleInstance.java:490)
        at com.android.jack.Jack.run(Jack.java:597)
        at com.android.jack.Jack.checkAndRun(Jack.java:367)
        at com.android.jack.CommandLine.runJack(CommandLine.java:66)
        at com.android.jack.Main.main(Main.java:73)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                             java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                             sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.android.jack.launcher.Main.main(Main.java:94)

Internal compiler error (version 1.1-mr2 'Brest' (175100 000a2f91edbe638090dc577                             801ba49592229fd8b)).
Warning: This may have produced partial or corrupted output.
make: *** [out/target/common/obj/JAVA_LIBRARIES/sdk_v18_intermediates/classes.ja                             ck] Error 3
make: *** Deleting file `out/target/common/obj/JAVA_LIBRARIES/sdk_v18_intermedia                             tes/classes.jack'

#### make failed to build some targets (01:55:31 (hh:mm:ss)) ####

結論:
make -j1
在乾淨的環境下,先用make -j1 ,之後就可以下8或16或32

留言

這個網誌中的熱門文章

IOS Swift 在某路徑下產生檔案 txt json

語法:         func createFile(name: String , fileBaseUrl: URL ){             let manager = FileManager . default                          let file = fileBaseUrl. appendingPathComponent (name)             print ( "文件: \ ( file )" )             let exist = manager. fileExists (atPath: file. path )             if !exist {                 let data = Data (base64Encoded: "aGVsbG8gd29ybGQ=" ,options:. ignoreUnknownCharacters )                 let createSuccess = manager. createFile (atPath: file. path ,contents:data,attributes: nil )                 print ( "文件產生结果: \ ( createSuccess )" )             } ...

android eclipse transformation to android studio Error AAPT: error: style attribute 'attr/@attr/colorChecked (aka com.xxxxx:attr/@attr/colorChecked)' not found.

AAPT: error: style attribute 'attr/@attr/colorChecked 刪除 " @attr/" 即可!!