NoSuchFieldError
See original GitHub issueWhen running recordPaparazzi
I see the following error.
I can only find a reference to IStart in CamColor.java
in androidx.core.
java.lang.NoSuchFieldError: lStar
at org.sharethemeal.android.view.R$styleable.<clinit>(Unknown Source)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1042)
at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:186)
at java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1105)
at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1086)
at java.base/java.lang.reflect.Field.get(Field.java:418)
at app.cash.paparazzi.internal.PaparazziCallback.initResources(PaparazziCallback.kt:73)
at app.cash.paparazzi.Paparazzi.prepare(Paparazzi.kt:128)
at app.cash.paparazzi.Paparazzi$apply$statement$1.evaluate(Paparazzi.kt:106)
at app.cash.paparazzi.agent.AgentTestRule$apply$1.evaluate(AgentTestRule.kt:17)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8
Top Results From Across the Web
NoSuchFieldError (Java Platform SE 7 ) - Oracle Help Center
Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field....
Read more >How to Resolve the NoSuchFieldError in Java - Rollbar
The NoSuchFieldError is an error in Java that occurs when a specified field does not exist. It is thrown when an application attempts...
Read more >NoSuchFieldError in Java - Baeldung
As the name suggests, NoSuchFieldError occurs when a specified field doesn't exist. NoSuchFieldError extends the ...
Read more >debugging - NoSuchFieldError Java - Stack Overflow
Think about the error: NoSuchField , it means when linking the target class, the field is not there. But when compiling, the class...
Read more >NoSuchFieldError - Android Developers
Constructs a NoSuchFieldError with no detail message. NoSuchFieldError(String s). Constructs a NoSuchFieldError with the specified detail message.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Haven’t had this issue for a while, but after updating this dependency to 1.9.0 today
implementation androidx.core:core-ktx:1.9.0
I also gotand this fixed it:
Our current workaround:
androidx.core=1.7.0
inversions.properties
(used byrefereshVersions
:ui-component/build.gradle
we use following:works in our ends 🙏