Status Update
Comments
am...@gmail.com <am...@gmail.com> #2
'firstName' is not a valid destination for tag 'argument'
I tried for other words but each time I have this error. I compiled program and run it on emulator and everything sounds good and
program runs correctly. so please help me .
thanks in advance
jb...@google.com <jb...@google.com> #3
This is related to Android studio not being able to identify resources correct. Moving to the studio team.
ag...@google.com <ag...@google.com>
rp...@google.com <rp...@google.com>
an...@google.com <an...@google.com>
il...@google.com <il...@google.com>
kn...@pinterest.com <kn...@pinterest.com> #4
We have this same issue, the argument name shows up in red even though everything works fine.
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/nav_graph_profile_edit_pronoun"
app:startDestination="@id/nav_graph_profile_edit_pronoun">
<action android:id="@+id/action_global_profile_edit_pronoun"
app:destination="@id/nav_profile_edit_pronoun"/>
<fragment
android:id="@+id/nav_profile_edit_pronoun"
android:name="fooFragment"
android:label="Edit Pronouns" >
<argument android:name="pronounsField"
app:argType="string[]" />
</fragment>
</navigation>
di...@google.com <di...@google.com>
an...@google.com <an...@google.com> #5
It looks like this is an over-firing of the lint rule added with ag/21920800.
From the code and tests, it looks like it's supposed to apply to the name
attribute of <fragment>
and <activity>
tags, but is also firing on <argument>
where it's not needed (and which isn't covered by the unit tests.
ja...@globe.com.ph <ja...@globe.com.ph> #6
dh...@gmail.com <dh...@gmail.com> #7
Will this issue be solved in next update or we need to wait for version 3.0.0 or higher?
pa...@gmail.com <pa...@gmail.com> #8
Same issue in my case:
<fragment
android:id="@+id/nav_help"
android:name="org.my.app.presentation.file.FileFragment"
android:label="@string/title_fragment_help"
tools:layout="@layout/fragment_file">
<argument
android:name="rawPath"
android:defaultValue="raw/help_202201.json"
app:argType="string" />
</fragment>
I have error at android:name="rawPath"
19...@gmail.com <19...@gmail.com> #9
ch...@gmail.com <ch...@gmail.com> #10
androidx.navigation:navigation-fragment-ktx:2.7.3
"androidx.navigation:navigation-ui-ktx:2.7.3"
id ("androidx.navigation.safeargs") version "2.7.3" apply false
mc...@gmail.com <mc...@gmail.com> #11
Is there any news about this bug? I have the same behavior in the AS Giraffe
di...@google.com <di...@google.com>
an...@google.com <an...@google.com> #13
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Iguana | 2023.2.1 Canary 7
- Android Gradle Plugin 8.3.0-alpha07
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
ji...@gmail.com <ji...@gmail.com> #14
pr...@gmail.com <pr...@gmail.com> #15
I am using Android Studio Giraffe | 2022.3.1 Patch 2
Build #AI-223.8836.35.2231.10811636, built on September 15, 2023
Runtime version: 17.0.6+0-17.0.6b829.9-10027231 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
external.system.auto.import.disabled=true
debugger.new.tool.window.layout=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.experimental.ui=true
Non-Bundled Plugins:
com.markskelton.one-dark-theme (5.8.0)
Dart (223.8950)
org.intellij.plugins.markdown (223.8617.3)
wu.seal.tool.jsontokotlin (3.7.4)
com.jetbrains.kmm (0.8.0(223)-25)
de.ohmesoftware.parcelablegenerator (0.7.1)
com.google.d2c.androidstudio.plugin (0.3.09)
com.mallowigi (85.1.0)
io.flutter (75.1.2)
ca...@gmail.com <ca...@gmail.com> #16
nc...@gmail.com <nc...@gmail.com> #17
bi...@gmail.com <bi...@gmail.com> #18
Studio Details :
Android Studio Giraffe | 2022.3.1 Patch 3
Build #AI-223.8836.35.2231.11005911, built on October 26, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 8
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.instant.shutdown=false
Non-Bundled Plugins:
com.intellij.ideolog (222.1.0.0)
com.ankit.mahadik.json.dart.class (2.16)
Dart (223.8977)
andrasferenczi.dart-data-plugin (0.2.0)
com.herbert.george.dart.extensions (0.0.1+3)
wu.seal.tool.jsontokotlin (3.7.4)
idea.plugin.protoeditor (223.8214.6)
com.thoughtworks.gauge (223.7571.182)
io.flutter (76.2.2)
com.ruiyu.ruiyu (5.1.2)
jo...@gmail.com <jo...@gmail.com> #19
ro...@gmail.com <ro...@gmail.com> #20
Android Studio Iguana | 2023.2.1 Canary 14
Build #AI-232.10227.8.2321.11110254, built on November 16, 2023
Runtime version: 17.0.9+0-17.0.9b1000.46-11084592 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.2.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
ide.experimental.ui=true
Android Gradle Plugin 8.3.0-alpha07
m....@gmail.com <m....@gmail.com> #21
Android Studio Hedgehog | 2023.1.1
Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
da...@ifttt.com <da...@ifttt.com> #22
Can confirm, not fixed in:
Android Studio Hedgehog | 2023.1.1
Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.1.2
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Registry:
ide.intellij.laf.enable.animation=true
external.system.auto.import.disabled=true
debugger.new.tool.window.layout=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.instant.shutdown=false
ide.experimental.ui=true
ide.balloon.shadow.size=0
Non-Bundled Plugins:
com.mroche.JsonHelper (1.3.0)
com.github.copilot (1.4.3.3913)
String Manipulation (9.12.0)
Key Promoter X (2023.3.0)
idea.plugin.protoeditor (231.9225.5)
com.jetbrains.kmm (0.8.1(231)-23)
org.jetbrains.compose.desktop.ide (1.5.11)
mobi.hsz.idea.gitignore (4.5.2)
jo...@gmail.com <jo...@gmail.com> #23
ve...@dfl.de <ve...@dfl.de> #24
kr...@gmail.com <kr...@gmail.com> #25
da...@gmail.com <da...@gmail.com> #26
The app still works fine, but it seems impossible to access Navigation Argument from AndroidTest :(
ya...@side.co <ya...@side.co> #27
Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.1.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
sv...@gmail.com <sv...@gmail.com> #28
uk...@gmail.com <uk...@gmail.com> #29
Build #AI-231.9392.1.2311.11255304, built on December 27, 2023
ru...@gmail.com <ru...@gmail.com> #30
Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
ma...@gmail.com <ma...@gmail.com> #31
Android Studio Hedgehog | 2023.1.1 Patch 1
Build #AI-231.9392.1.2311.11255304, built on December 26, 2023
Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.2.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
ra...@gmail.com <ra...@gmail.com> #32
Android Studio Hedgehog | 2023.1.1
Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
al...@gmail.com <al...@gmail.com> #33
Android Studio Hedgehog | 2023.1.1 Patch 1
Build #AI-231.9392.1.2311.11255304, built on December 26, 2023
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
ja...@globe.com.ph <ja...@globe.com.ph> #34
Android Studio Hedgehog | 2023.1.1 Patch 2
Build #AI-231.9392.1.2311.11330709, built on January 19, 2024
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
fa...@gmail.com <fa...@gmail.com> #35
Android Studio Hedgehog | 2023.1.1 Patch 2
Build #AI-231.9392.1.2311.11330709, built on January 19, 2024
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry:
external.system.auto.import.disabled=true
debugger.new.tool.window.layout=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.instant.shutdown=false
ide.experimental.ui=true
se...@gmail.com <se...@gmail.com> #36
ga...@gmail.com <ga...@gmail.com> #37
ga...@gmail.com <ga...@gmail.com> #38
de...@gmail.com <de...@gmail.com> #39
co...@gmail.com <co...@gmail.com> #40
i noticed everyone is just commenting same problem, what does google do to solve this issue !!
ba...@gmail.com <ba...@gmail.com> #41
Same issue.
Android Studio Hedgehog | 2023.1.1 Patch 2 Build #AI-231.9392.1.2311.11330709, built on January 19, 2024 Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 14.2.1 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Metal Rendering is ON Registry: external.system.auto.import.disabled=true debugger.new.tool.window.layout=true ide.text.editor.with.preview.show.floating.toolbar=false ide.experimental.ui=true
Non-Bundled Plugins: Dart (231.9411) wu.seal.tool.jsontokotlin (3.7.4) com.developerphil.adbidea (1.6.11) io.flutter (77.2.1)
ho...@gmail.com <ho...@gmail.com> #42
Android Studio Hedgehog | 2023.1.1 Patch 2
Description
Version used:
Devices/Android versions reproduced on:
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
Hi, I have some problems, when I define argument in fragment, the letters in name Attribute of Argument display in red color but I see green tick in top XML file that means no problems found. my Android studio is Giraffe version.