Status Update
Comments
gi...@gmail.com <gi...@gmail.com> #3
Is this happening with Studio 3.0?
an...@gmail.com <an...@gmail.com> #5
Hi, also happened on Mac Book Pro 15 retina mi-2015
MacOs Sierra 10.12.6
Android Studio 2.3.3
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
MacOs Sierra 10.12.6
Android Studio 2.3.3
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
ch...@gmail.com <ch...@gmail.com> #6
Thank you for this feedback. Your feedback helps make sure Android development tools are great! Given your issues has been resolved I am closing this issue.
m....@gmail.com <m....@gmail.com> #7
The issue is still there in Android Studio 1.1.0 and the Gradle plugin 1.2.0-beta1.
or...@gmail.com <or...@gmail.com> #8
I'm seeing the same thing using Android studio 1.1.0 and Gradle 1.1.0
ch...@gmail.com <ch...@gmail.com> #9
The same for Android Studio 1.2 Beta and Gradle plugin 1.2.0-beta1
ch...@gmail.com <ch...@gmail.com> #10
Removing "useJack = true" from gradle script helped me to solve this issue.
jo...@gmail.com <jo...@gmail.com> #11
I have the problem only my windows 8.1 machine, not on my mac.
wi...@gmail.com <wi...@gmail.com> #12
Same here.
Debugger doesn't see variable passed in to method, regardless of where in the method the execution point is.
Not using 'useJack' command,
Android Studio 1.2 beta 2
Gradle plugin 1.10
Debugger doesn't see variable passed in to method, regardless of where in the method the execution point is.
Not using 'useJack' command,
Android Studio 1.2 beta 2
Gradle plugin 1.10
ja...@drivedominion.com <ja...@drivedominion.com> #13
Same issue.
Lastest Android Studio (1.2 - Canary channel)
Android Gradle 1.2.2
Lastest Android Studio (1.2 - Canary channel)
Android Gradle 1.2.2
[Deleted User] <[Deleted User]> #14
Gradlew clean, followed by a invalidate caches / restar helps, but it is so slow...
gr...@gmail.com <gr...@gmail.com> #15
Similar issue here... However, it happens when debugging test builds. I am not able to evaluate local variables in the target code, but I _am_ able to evaluate local variables in the test code.
Multidex enabled.
Gradle 1.1.3
Android Studio AI-141.2024585 (June 18th, 2015)
Using an emulator with Android 5.0
Multidex enabled.
Gradle 1.1.3
Android Studio AI-141.2024585 (June 18th, 2015)
Using an emulator with Android 5.0
ma...@gmail.com <ma...@gmail.com> #16
For those who are still seeing this, check if your problem is the one described in Issue 36949180 .
pa...@gmail.com <pa...@gmail.com> #17
Same bug for Android Studio 2.0 PREVIEW 4.
sc...@gmail.com <sc...@gmail.com> #18
This problem intermittently shows up for me. I'm running Android Studio 1.5.1. This is a pretty basic and commonly used feature--I'm quite surprised to see it still hounding Android Studio.
mr...@gmail.com <mr...@gmail.com> #19
THe bug is still there (AS 2.0 Beta 5).
da...@gmail.com <da...@gmail.com> #20
Why is this still not fixed?
li...@gmail.com <li...@gmail.com> #21
AS 2.1 looks working (for now)
[Deleted User] <[Deleted User]> #22
I had this issue in both AS 1.5.1 and AS 2.0 preview (using plugin 2.0.0-beta6) until I removed "testCoverageEnabled true" from my debug buildType. I suspect JaCoCo's bytecode manipulation interferes with the debugger.
wo...@gmail.com <wo...@gmail.com> #23
Android Studio 2.0, JRE 1.8. Problem appeared in one place (final array local variable). Adding testCoverateEnabled true helped to see those variables. I can't see arguments sent to methods though.
ta...@gmail.com <ta...@gmail.com> #24
[Comment deleted]
ta...@gmail.com <ta...@gmail.com> #25
Android Studio 2.1, gradle 2.1.0 Java 1.8. Not able to see any local variables
ba...@gmail.com <ba...@gmail.com> #26
I resolved problem with gradle 1.3.0 using. Gradle 2.1.0 do something wrong and local variables are not founded.
mi...@gmail.com <mi...@gmail.com> #27
If your build uses the jack toolchain this can be the source of the problem. In my case, disabling jack solves the problem:
buildTypes {
...
debug {
jackOptions {
enabled false
}
}
}
Note: 1.8 source compatibility requires jack!
buildTypes {
...
debug {
jackOptions {
enabled false
}
}
}
Note: 1.8 source compatibility requires jack!
sh...@gmail.com <sh...@gmail.com> #28
Is there a new ticket for the jack related problem?
ad...@gmail.com <ad...@gmail.com> #29
Would be nice to be able to see local variables during debug when Jack toolchain is enabled...
Any update on this?
Any update on this?
gl...@atlassian.com <gl...@atlassian.com> #30
Removing "testCoverageEnabled true" fixed the issue for me.
ad...@google.com <ad...@google.com> #31
Reopening as an issue specific to the situation when Jack is enabled.
su...@gmail.com <su...@gmail.com> #33
Same issue is with me. i am using android 2.1.3 and gradle version 2.14.1 and java version is 1.8 any idea how can i fix it
ga...@google.com <ga...@google.com> #34
When generating dex that is not optimized, debugging info can be wrong.
1. Have you specified to not optimize dex in android.dexOptions.optimize?
2. Can you provide repro project or steps?
3. Can you upload your build.gradle?
Thanks
1. Have you specified to not optimize dex in android.dexOptions.optimize?
2. Can you provide repro project or steps?
3. Can you upload your build.gradle?
Thanks
su...@gmail.com <su...@gmail.com> #35
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
jackOptions {
enabled true
}
applicationId "com.example.sundeep"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled false
}
debuggable.initWith(buildTypes.debug)
debuggable {
testCoverageEnabled = false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
}
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
jackOptions {
enabled true
}
applicationId "com.example.sundeep"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled false
}
debuggable.initWith(buildTypes.debug)
debuggable {
testCoverageEnabled = false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
}
ga...@google.com <ga...@google.com> #36
Which device are you using for debugging?
su...@gmail.com <su...@gmail.com> #37
Samsung Note 3
su...@gmail.com <su...@gmail.com> #38
It really frustrating for me. If you have any info then please provide me
ra...@gmail.com <ra...@gmail.com> #39
Any body able to find out solution or its a bug. Please let me know
an...@gmail.com <an...@gmail.com> #40
I have the same problem while using Java 8 and Jack Toolchain.
Using
Android Studio 2.1.3
gradle:2.1.3
compileSdkVersion 24
buildToolsVersion "24.0.2"
I had to temporarily disable Jack and use Gradle Retrolambda Plugin instead.
Using
Android Studio 2.1.3
gradle:2.1.3
compileSdkVersion 24
buildToolsVersion "24.0.2"
I had to temporarily disable Jack and use Gradle Retrolambda Plugin instead.
ga...@google.com <ga...@google.com> #41
The issue should be fixed in the newest Android Studio, 2.2-beta3 (http://tools.android.com/download/studio/canary ). Please try with that version and open a new issue if the issue still happens.
ra...@gmail.com <ra...@gmail.com> #42
Yes this issue is fixed in Android Studio v2.2 beta3 but you have to use Gradle-2.2.0-beta3 for the debugger to show variables value. So the problem was with gradle not android studio. Anyway thanks to everybody
ra...@gmail.com <ra...@gmail.com> #43
Just Now I have tested debugger is showing variables values with Android v2.1.3 after using Gradle v2.2.0Beta3. So basically we have to use Gradle v2.2.0Beta3
mv...@gmail.com <mv...@gmail.com> #44
@#39 AndreiNi...@gmail.com thanks. Your solution worked for me !!
co...@gmail.com <co...@gmail.com> #45
#41 I'm using AS 2.2 final and gradle 2.2.0 final and still see this problem so no, that's not the problem
ti...@gmail.com <ti...@gmail.com> #46
still have this question AS 2.2 release version
vs...@google.com <vs...@google.com> #47
If any of you continue to see problems, please file a new bug referencing this one, and include a test case that demonstrates the problem. Thanks!
tr...@nimblehq.co <tr...@nimblehq.co> #48
AS 3.1 and this is still happening...
ih...@gmail.com <ih...@gmail.com> #49
so...@gmail.com <so...@gmail.com> #50
Still having this bug on Android Studio 3.2.1 for release version with `android:debuggable="true"` set.
th...@gmail.com <th...@gmail.com> #51
4/21/2020 I am still having this bloody error and it's driving me crazy and I have the latest android studio version.
Description
OS version: Windows 8.1 Pro x64
Java JRE/JDK version: 1.8
In debug mode, android studio doesn't find local variables as shown here: