android-studio - IONIC:Dex 无法解析版本 52 字节码
问题描述
当我尝试在 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
系统:
Node : v6.12.2
npm : 5.8.0
OS : Windows 10
解决方案
推荐阅读
- cobol - 如何在 COBOL 中存储 VSAM 密码文件的凭据?
- c# - 与 3 个子组件共享状态和处理事件 | 通量器
- android - 如何防止系统字体大小更改对 Android 应用程序特定部分的影响?
- javascript - 如何传递值以形成动作 laravel
- ios - 根据 UIHierarchy 创建 UIElementQuery
- asp.net - 如何将材料日期选择器添加到.net webapp?
- video - JW Player 是否支持 h.265?
- python-3.x - discord.py osu stats 错误:命令引发异常:TypeError:列表索引必须是整数或切片,而不是 str
- c# - 按三个不同的版本部分分组和排序
- python - 在 pyqt5 中切换 QRadioButton:单击选中的单选按钮时取消选中