Status Update
Comments
de...@google.com <de...@google.com>
ni...@gmail.com <ni...@gmail.com> #2
Android Studio 4.1 RC 1
Build #AI-201.8743.12.41.6719854, built on July 29, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1970M
Cores: 12
Registry: ide.new.welcome.screen.force=true, debugger.watches.in.variables=false
Non-Bundled Plugins: String Manipulation, org.intellij.plugins.markdown, org.jetbrains.kotlin
ni...@gmail.com <ni...@gmail.com> #3
Also attached the project.
ja...@google.com <ja...@google.com> #4
Thanks for the report. To let you know about progress on this:
- the project won't open on 4.0, as it uses AGP 4.1 features, which Studio 4.0 doesn't support;
- the PlayCoreKtx project has been updated so that it should open without trouble on 4.1 RC1;
- the issue with Studio looping over upgrading the plugin version is a real one, so it won't open on current canaries, which automatically attempt (and fail) to upgrade the project. I'm expecting that we will fix this before 4.2 Beta.
Thanks again!
ni...@gmail.com <ni...@gmail.com> #5
I've tried now again with the currently latest versions of each.
This time, the canary and the stable failed, but the beta didn't.
See attached.
Android Studio 4.0.1
Build #AI-193.6911.18.40.6626763, built on June 25, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 7954M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: String Manipulation, org.jetbrains.kotlin, com.google.services.firebase, ignaciotcrespo.github.com.vector-drawable-thumbnails, org.intellij.plugins.markdown
Android Studio 4.1 RC 1
Build #AI-201.8743.12.41.6719854, built on July 29, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1970M
Cores: 12
Registry: ide.new.welcome.screen.force=true, debugger.watches.in.variables=false
Non-Bundled Plugins: String Manipulation, org.intellij.plugins.markdown, org.jetbrains.kotlin
Android Studio 4.2 Canary 8
Build #AI-202.6397.94.42.6787931, built on August 25, 2020
Runtime version: 11.0.7+10-b765.53 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2038M
Cores: 12
Registry: ide.settings.move.mouse.on.default.button=true, debugger.watches.in.variables=false
Non-Bundled Plugins: String Manipulation
ni...@gmail.com <ni...@gmail.com> #6
I'm glad that it works for you in 4.1 RC 1 -- as and when new RCs (and 4.1 final) in the 4.1 series are released, the project will need a manual upgrade (which I expect we will do) in order for it to be cleanly openable.
I just tried with 4.2 Canary 10, and the project opened and built cleanly here. In your video from
Thanks!
yb...@google.com <yb...@google.com> #7
I just open Android Studio and try to open the project. What's wrong with that?
Anyway, tested again.
Still failed with stable, and now with beta too:
Android Studio 4.0.1
Build #AI-193.6911.18.40.6626763, built on June 25, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 7954M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: String Manipulation, org.jetbrains.kotlin, com.google.services.firebase, ignaciotcrespo.github.com.vector-drawable-thumbnails, org.intellij.plugins.markdown
On beta, it asked to update gradle multiple times and still fails to open properly. Including when I tell it that I will do it manually.
Android Studio 4.1 RC 2
Build #AI-201.8743.12.41.6776251, built on August 19, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1970M
Cores: 12
Registry: ide.new.welcome.screen.force=true, debugger.watches.in.variables=false
Non-Bundled Plugins: String Manipulation, org.intellij.plugins.markdown, org.jetbrains.kotlin
Only on canary it worked this time:
Android Studio 4.2 Canary 10
Build #AI-202.6397.94.42.6811877, built on September 3, 2020
Runtime version: 11.0.7+10-b765.53 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2038M
Cores: 12
Registry: ide.settings.move.mouse.on.default.button=true, debugger.watches.in.variables=false
Non-Bundled Plugins: String Manipulation, org.intellij.plugins.markdown
da...@google.com <da...@google.com>
ni...@gmail.com <ni...@gmail.com> #8
Hi,
Thanks for confirming that this works for you with Canary. I expect this to be generally the case from now on.
The upgrade code in 4.2 has been substantially rewritten compared to what will be released with 4.1. That means that (as I wrote in
To try to answer the question about the state of your system and why it matters: starting Android Studio also starts up a bunch of other processes; closing Android Studio doesn't always close them (for valid reasons; they might have longer-running tasks to complete). If you start up a different version of Studio while those tasks are still running, the new Studio may be unable to start its own versions of those processes, or may try to communicate with the already existing ones, only to discover that they don't speak the same protocol. This can happen; Android Studio detects it, and tries to guide the user into fixing it appropriately (by terminating the old processes, if they judge that it's safe to do so).
Thanks once again for the update.
yb...@google.com <yb...@google.com> #9
Currently Android Studio has issues not just with too-"new" projects, but also with too-"old" ones.
I've noticed sample projects that were created just a year ago fail to be opened properly. Or often require a lot of steps to fix, and sometimes I really don't get what's so wrong that I just create a new project and copy stuff from the old one.
da...@google.com <da...@google.com> #10
I think that we have made substantial improvements to the compatibility story between different versions of AGP and different versions of sample projects. It's not perfect, but I think it's better, and we continue to try to communicate best practice.
Broadly, there will always be windows of time where some artifacts will be incompatible with some others; projects might use features in new versions of build tools, or experimental development in the tools may accidentally break old projects. We try to catch these things, but also our resources to do that are not infinite, so we sadly have to accept that sometimes things will not be compatible with each other, even if Google is ultimately responsible for many of the things (in this case, Android Studio and the sample projects).
I hope that the general improvements in compatibility and project upgrades have made an impact. And if you do happen to notice specific current releases being incompatible with each other, please do continue to report that: it's a signal that something might have gone wrong somewhere! Thanks once again for the report.
ni...@gmail.com <ni...@gmail.com> #11
@10 Can't confirm. It's not "sometimes". It's almost always. Steps:
- Choose "File"->"import sample"
- Choose something quite basic. I chose "Recycler view sample (kotlin)"
It gives you an error right away:
- Exception is: org.gradle.groovy.scripts.ScriptCompilationException: Could not compile settings file 'C:\Users\User\AndroidStudioProjects\RecyclerViewSampleKotlin\settings.gradle'. ...
This is the experience you provide to new developers. And I know for a fact this issue exists many years. Compatibility with projects can get broken even in less than a year than the project was created. Doesn't even have to be a part of the official samples.
Description
If I have:
<TextView
android:id="@+id/título"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
then this is the generated accessor in the Binding class:
public final android.widget.TextView tTulo;
instead of
public final android.widget.TextView título;
(Using gradle android plugin 2.0.0-alpha5)