Skip to content

Jetpack Compose Preview Error #981

@Ben-ADFA

Description

@Ben-ADFA

Ref. 2982

Per the user, this problem can be recreated as follows:
https://t.me/CodeOnTheGoDiscussions/1806

  1. Create a new project by selecting the Jetpack Compose template
  2. Initialization process shows successful
  3. Run build & Preview Error screen appears
  4. Close the project (saving)
  5. Reopen the project
  6. Project initializes without issues
  7. Preview screen appears without issues

From Andi Hasan (@moonelfalakiy) on Telegram:
https://t.me/CodeOnTheGoDiscussions/1731
Hi, I just tried the latest version of CoGo which has the Jetpack Compose preview feature. I'm happy and appreciate the work of the dev team. Thank you all. Here I want to tell you about my experience testing CoGo. First, I created a compose project. During the first initialization, there was an error in the IDE log as shown in the photo, and when I ran it without changing the code. To see the compose preview, there was an error message as in the photo, then to solve it I closed the project and opened it again to make sure the project initialization was successful and the compose preview appeared successfully.

Image

Image**

Image Image

here is the project repo:
https://t.me/CodeOnTheGoDiscussions/1736

Also reported by ੭୧ 𝘇𝘂𝗮𝗻𝘃𝗳𝘅 ⊹ ⑅ (@ZUANVFX01):
https://t.me/CodeOnTheGoDiscussions/1737

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaitingbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions