断点不适用于Android Studio 3.3 [英] Breakpoints not working on Android Studio 3.3

查看:122
本文介绍了断点不适用于Android Studio 3.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

本周将Android Studio升级到3.3版后,某些断点未被识别为有效,并且未停止线程.

After upgrading Android Studio to version 3.3 this week, some breakpoints are not being recognized as valid, and are not stopping the thread.

我想念什么吗?

推荐答案

问题出在构建工具链中(gradle,d8/r8).问题已在Android Studio 3.4 Beta 1gradle 3.4.0-beta01中被修复.

The issue is in the build tool chain (gradle, d8/r8). Problem is fixed in Android Studio 3.4 Beta 1 with gradle 3.4.0-beta01.

或者可以通过在本地更新项目的顶级 build.gradle 配置来使用此问题的解决方法:

Or a workaround solution for this issue can be used by locally updating the top-level build.gradle configuration for your project:

buildscript {
    repositories {
        maven {
            url 'http://storage.googleapis.com/r8-releases/raw' // ADD THIS.
        }
    }

    dependencies {
        classpath 'com.android.tools:r8:1.3.55'  // ADD THIS. Must be before the Gradle Plugin for Android.
        classpath 'com.android.tools.build:gradle:3.3'
    } 
}

一旦发布了Android Gradle插件的下一个版本,这些更改便可以删除.

Once the next point release of Android Gradle Plugins takes place these changes can be removed.

有关更多信息,请参见: https://issuetracker.google.com/issues/122450679

For more information, see: https://issuetracker.google.com/issues/122450679

这篇关于断点不适用于Android Studio 3.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆