Android studio 爱奥尼亚:Dex无法解析版本52字节代码

Android studio 爱奥尼亚:Dex无法解析版本52字节代码,android-studio,ionic-framework,ionic2,Android Studio,Ionic Framework,Ionic2,当我试图在ionic中编译发布应用程序时,出现了这个错误 Dex: Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code. This is caused by library dependencies that have been compiled using Java 8 or above. If you are using the 'java' gradle plugin in a lib

当我试图在ionic中编译发布应用程序时,出现了这个错误

Dex: Error converting bytecode to dex:
Cause: Dex cannot parse version 52 byte code.
This is caused by library dependencies that have been compiled using Java 8 or above.
If you are using the 'java' gradle plugin in a library submodule add
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
to that submodule's build.gradle file.
爱奥尼亚信息:

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0
全球方案:

cordova (Cordova CLI) : 8.0.0
@ionic/app-scripts : 1.1.0
Cordova Platforms  : android 6.3.0 ios 4.5.4
Ionic Framework    : ionic-angular 2.0.1-201702132005
本地套餐:

cordova (Cordova CLI) : 8.0.0
@ionic/app-scripts : 1.1.0
Cordova Platforms  : android 6.3.0 ios 4.5.4
Ionic Framework    : ionic-angular 2.0.1-201702132005
系统:

Node : v6.12.2
npm  : 5.8.0
OS   : Windows 10

你得到答案了吗?你得到答案了吗@ShreenilPatelNo,这个问题仍然困扰着你@MSDS删除和添加平台似乎在@ShreenilPatel工作。。。如果你能做到的话。。。试试看……我已经试了很多次了。你的jdk版本和安卓平台版本是什么@MSD