Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
sp...@google.com <sp...@google.com> #2
Reproduced in
Android Studio 3.2 Canary 5
Build #AI-173.4630681, built on March 2, 2018
JRE: 1.8.0_152-release-1136-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.0-6-amd64
Android Studio 3.2 Canary 5
Build #AI-173.4630681, built on March 2, 2018
JRE: 1.8.0_152-release-1136-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.0-6-amd64
si...@gmail.com <si...@gmail.com> #3
Renaud, can you please take a look as Michal will be out of the office next week? Looks like an issue that happens only when tests are run from IDE.
sp...@google.com <sp...@google.com> #4
The issue seems to be related to the fact that "implementation" directive in the "com.android.test" plugin is not exposed properly in the IDE, i.e. the IDE does not see the "junit 4.12" library in the corresponding test project.
sp...@google.com <sp...@google.com> #5
Here is the relevant build.gradle file from the project included in #1:
apply plugin: 'com.android.test' // <= HERE
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 15
}
targetProjectPath ':app'
}
dependencies {
implementation 'com.android.support.test:runner:1.0.1'
implementation 'junit:junit:4.12' // <= HERE
}
apply plugin: 'com.android.test' // <= HERE
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 15
}
targetProjectPath ':app'
}
dependencies {
implementation 'com.android.support.test:runner:1.0.1'
implementation 'junit:junit:4.12' // <= HERE
}
si...@gmail.com <si...@gmail.com> #6
Fix pending review.
sp...@google.com <sp...@google.com>
sp...@google.com <sp...@google.com> #7
Fix will be in 3.2 Canary 9
Description
AI-173.4670197, JRE 1.8.0_152-release-1024-b02x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 1920x1080, 1920x1080
Android Gradle Plugin: 3.0.1
Gradle: 4.1
NDK: from local.properties: 15.1.4119039; latest from SDK: 15.1.4119039;
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: (not found);
Windows with Russian locale uses comma as delimiter for decimal values.
So, Image Asset Studio uses comma for alpha attribute when generates vector drawable resource.
As it's not recognized as delimiter in Android Studio, alpha channel becomes lost. (See CommaSystemDelimiter.png)
If i go to windows format settings and choose english format for values (See FormatSettings.png), which uses point as delimiter for decimal values, all works fine. (See PointSystemDelimiter.png)