美文网首页
Gradle sync failed: Uninitialize

Gradle sync failed: Uninitialize

作者: 一个小草人 | 来源:发表于2018-05-15 10:41 被阅读0次

编译错误日志:

Gradle sync failed: Uninitialized object exists on backward branch 70

Exception Details:

Location:

com/android/build/gradle/tasks/BuildArtifactReportTask.newArtifact(Lcom/android/build/api/artifact/BuildableArtifact;)Lcom/android/build/gradle/tasks/BuildArtifactReportTask$BuildableArtifactData; @119: goto

Reason:

Error exists in the bytecode

Bytecode:

0000000: bb00 f459 2bb9 0139 0100 c000 6b2b b901

0000010: 3d01 0001 b901 4302 0059 1301 45b8 0148

0000020: c000 374d 3a0d 3a0c 3a0b 2c4e bb00 6859

0000030: 2c10 0ab8 003d b700 69c0 006b 3a04 2db9

0000040: 0054 0100 3a05 1905 b900 5a01 0099 002d

0000050: 1905 b900 5e01 003a 0619 0419 06c0 014a

0000060: 3a07 3a0e 1907 b901 4d01 003a 0f19 0e19

0000070: 0fb9 0075 0200 57a7 ffcf 1904 c000 773a

0000080: 0e19 0b19 0c19 0d19 0eb7 0150 b0     

Stackmap Table:

full_frame(@70,{Object[#2],Object[#109],Object[#55],Object[#55],Object[#107],Object[#86],Top,Top,Top,Top,Top,Uninitialized[#0],Uninit... (show balloon)

========================================================================================================================================解决方案:

This is a bug of JDK old versions i guess. 

to solve that problem permanently, go to Module Settings > SDK Location > Use embedded JDK.

This will remove dependency on the external Java installation by using the embedded JDK.

相关文章

网友评论

      本文标题:Gradle sync failed: Uninitialize

      本文链接:https://www.haomeiwen.com/subject/yfdedftx.html