bugly热修复集成及遇到的问题

项目中集成腾讯bugly热更新,再更新Androidstudio版本后报错

Java 8 language support, as requested by 'android.enableD8.des...

解决方法在gradle.properties中添加

# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:

# Gradle settings configured through the IDE *will override*

# any settings specified in this file.

# For more details on how to configure your build environment visit

# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.

# The setting is particularly useful for tweaking memory settings.

org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.

# This option should only be used with decoupled projects. More details, visit

# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects

# org.gradle.parallel=true

# 添加如下两行可正常编译,有警告不影响运行

android.enableD8.desugaring = true

android.useDexArchive = true

基本上解决

非常感谢XucYang

原文地址

发布了59 篇原创文章 · 获赞 13 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/Hunter2916/article/details/100075694
今日推荐