Fixed
Status Update
Comments
uc...@google.com <uc...@google.com> #3
Not reproduced, can you please share complete error log here.
[Deleted User] <[Deleted User]> #4
Hm! I don't know but maybe an IDE restart was needed, now it can offer refactoring and providing backup to zip file, but after running it says "No usage found in the project".
I also updated everything to latest version.
Source code provided for testhttps://github.com/maour/kotlinSample
there are some support libraries
implementation("com.android.support:appcompat-v7:28.0.0")
implementation("com.android.support:design:28.0.0")
implementation("com.android.support:support-v4:28.0.0")
implementation("com.android.support:appcompat-v7:28.0.0")
implementation("com.android.support:recyclerview-v7:28.0.0")
implementation("com.android.support:cardview-v7:28.0.0")
Build: $VERSION, AI-183.5429.30.34.5370308, 201903122114,
AI-183.5429.30.34.5370308, JRE 1.8.0_152-release-1343-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.3, screens 1680x1050; Retina
Android Gradle Plugin: 3.4.0-rc02
Gradle: 5.1.1
NDK: from local.properties: 20.0.5344622-beta1; latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: 3.6.0-rc2; from PATH: 3.13.2;
I also updated everything to latest version.
Source code provided for test
there are some support libraries
implementation("com.android.support:appcompat-v7:28.0.0")
implementation("com.android.support:design:28.0.0")
implementation("com.android.support:support-v4:28.0.0")
implementation("com.android.support:appcompat-v7:28.0.0")
implementation("com.android.support:recyclerview-v7:28.0.0")
implementation("com.android.support:cardview-v7:28.0.0")
Build: $VERSION, AI-183.5429.30.34.5370308, 201903122114,
AI-183.5429.30.34.5370308, JRE 1.8.0_152-release-1343-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.3, screens 1680x1050; Retina
Android Gradle Plugin: 3.4.0-rc02
Gradle: 5.1.1
NDK: from local.properties: 20.0.5344622-beta1; latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: 3.6.0-rc2; from PATH: 3.13.2;
xa...@google.com <xa...@google.com> #5
KTS files are not fully supported at the moment, so issues are expected. Thanks for filing this.
xa...@google.com <xa...@google.com>
ka...@google.com <ka...@google.com> #6
Hi,
Thanks for your patience. AndroidX refactoring is now fixed for KTS and should land in AS 4.0 Beta 1.
Description
all required information.
Studio Build:
Android Studio 3.4 RC 1
Build #AI-183.5429.30.34.5341121, built on February 27, 2019
JRE: 1.8.0_152-release-1343-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.3
Version of Gradle Plugin: 3.4.0-rc01
Version of Gradle: gradle-5.1.1
Version of Java: 1.8
Version of kotlin: 1.3.21
OS: mac
Steps to Reproduce:
1. Convert gradle from groovy to kotlinDSL
2. Trying to use AndroidX refactoring tool
3. Getting error regarding compileSDK set to at least 28 which it is but it's in kotlin (compileSdkVersion(28))