使用Cordova FCM生成失败+;原因:Dex无法解析版本52字节代码
我在创建构建时面临构建问题。但是如果我删除FCM插件,它就可以正常工作了。在当前版本中几乎没有代码更改。使用FCM之前的构建工作得很好。请帮忙修理使用Cordova FCM生成失败+;原因:Dex无法解析版本52字节代码,cordova,cordova-plugin-fcm,Cordova,Cordova Plugin Fcm,我在创建构建时面临构建问题。但是如果我删除FCM插件,它就可以正常工作了。在当前版本中几乎没有代码更改。使用FCM之前的构建工作得很好。请帮忙修理 :transformClassesWithDexForDebugDex: Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code. This is caused by library dependencies that have bee
:transformClassesWithDexForDebugDex: 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.
UNEXPECTED TOP-LEVEL EXCEPTION:
你找到解决办法了吗?我也遇到了同样的问题。我将cordova版本从8降级到了7.1。您找到解决方案了吗?我也遇到了同样的问题。我将cordova版本从8降级到了7.1