Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Cordova FCM生成失败+;原因:Dex无法解析版本52字节代码_Cordova_Cordova Plugin Fcm - Fatal编程技术网

使用Cordova FCM生成失败+;原因:Dex无法解析版本52字节代码

使用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

我在创建构建时面临构建问题。但是如果我删除FCM插件,它就可以正常工作了。在当前版本中几乎没有代码更改。使用FCM之前的构建工作得很好。请帮忙修理

 :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