realm-java icon indicating copy to clipboard operation
realm-java copied to clipboard

Attempt to recreate a file for type io.realm.PACKAGE_OBJECTRealmProxy

Open jorrdane opened this issue 4 years ago • 7 comments

Great, I'll issume this issue is fixed then. Closing.

hello again! one more related problem appeared on Gradle 7.3-rc-5/ 7.3-bin:

same error:

error: Attempt to recreate a file for type io.realm.com_PACKAGE_OBJECTRealmProxy
public class OBJECT extends RealmObject {
       ^

Appears if I add an svg in Drawable through Add Vector Asset or if I add new file in drawable (selector for example). Make Project -> Run doesn't help anymore. Have to Clean Project -> Rebuild.

Originally posted by @jorrdane in https://github.com/realm/realm-java/issues/7562#issuecomment-976326598

Also appears sometimes if I edit something in xml (added dimensions)

jorrdane avatar Nov 30 '21 11:11 jorrdane

We are about to release version 10.9.0, would you mind validating on it once it gets published?

clementetb avatar Dec 06 '21 10:12 clementetb

yeah, sure

jorrdane avatar Dec 06 '21 16:12 jorrdane

hello! realm 10.9.0 -> added dimensions -> same error

jorrdane avatar Dec 08 '21 13:12 jorrdane

Seems to be reproducible on our "Intro Example"

rorbech avatar Jan 05 '22 08:01 rorbech

Seems to be reproducible on our "Intro Example"

in previous thread one of your developers could reproduce this somehow

jorrdane avatar Jan 05 '22 08:01 jorrdane

I have changed the app icon from vector asset and its showing this error !! What should I do

76105 avatar Apr 19 '22 16:04 76105

@76105 Haven't seen your reply. I think you've already resolved it but if no: Clean Project - Rebuild.

jorrdane avatar Apr 29 '22 12:04 jorrdane