{"id":22455706,"url":"https://github.com/theapache64/r8-full-mode-issue-repro","last_synced_at":"2025-08-02T02:32:32.360Z","repository":{"id":189071404,"uuid":"679981848","full_name":"theapache64/r8-full-mode-issue-repro","owner":"theapache64","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-12T12:26:57.000Z","size":242,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-12T16:41:01.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theapache64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-18T04:22:23.000Z","updated_at":"2024-06-12T12:27:00.000Z","dependencies_parsed_at":"2023-08-18T05:53:51.911Z","dependency_job_id":null,"html_url":"https://github.com/theapache64/r8-full-mode-issue-repro","commit_stats":null,"previous_names":["theapache64/r8-full-mode-issue-repro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theapache64%2Fr8-full-mode-issue-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theapache64%2Fr8-full-mode-issue-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theapache64%2Fr8-full-mode-issue-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theapache64%2Fr8-full-mode-issue-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theapache64","download_url":"https://codeload.github.com/theapache64/r8-full-mode-issue-repro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228426019,"owners_count":17917790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T07:13:12.355Z","updated_at":"2024-12-06T07:13:12.976Z","avatar_url":"https://github.com/theapache64.png","language":"Kotlin","readme":"# r8-full-mode-issue-repro\n\n- Repro for https://issuetracker.google.com/issues/296794693#\n\n**Reproducible Issue with R8's `fullMode` in Kotlin Android Project**\n\n![image](https://github.com/theapache64/r8-full-mode-issue-repro/assets/9678279/c76a5662-98cc-4351-bc69-51485c9c4124)\n\n## Description\n\nThis project showcases a reproducible issue related to R8's `fullMode` in a Kotlin Android project. When utilizing R8's `fullMode`, classes are organized in an unexpected manner, resulting in the display of a variable set as `Fruit.Cherry` being shown as `Fruit.Fig`.\n\n## Prerequisites\n\nTo replicate the issue, ensure you have the following prerequisites set up:\n\n1. Android Studio installed on your system.\n2. Basic familiarity with Kotlin and Android development concepts.\n\n## Steps to Reproduce\n\n1. Clone the repository:\n\n```bash\ngit clone git@github.com:theapache64/r8-full-mode-issue-repro.git\ncd git@github.com:theapache64/r8-full-mode-issue-repro.git\n```\n\n2. Open the project in Android Studio.\n\n3. Create a release build using the \"Build\" menu or the Gradle task panel.\n\n4. Run the app on an emulator or physical device.\n\n5. Observe the app's behavior. The program should assign a value to `Fruit.Cherry`, but it is displayed as `Fruit.Fig`.\n\n## Expected Behavior\n\nThe app should correctly display `Fruit.Cherry`\n\n## Issue Details\n\nThe problem appears to be connected to the `fullMode` configuration in R8. This setting results in unexpected class organization, resulting unpredictable code.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheapache64%2Fr8-full-mode-issue-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheapache64%2Fr8-full-mode-issue-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheapache64%2Fr8-full-mode-issue-repro/lists"}