Skip to content

Bug: freezing when inspecting a specific VectorDrawable file, only when the plugin is enabled #65

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

v0.34

I wanted to convert some SVG files from TweMoji repository (here), focusing only flags for now, and optimize them.
So, I reached an SVG file there called "1f1fb-1f1fa.svg" (flag of "🇻🇺", meaning Vanuatu):

1f1fb-1f1fa.zip

And then I optimized it using this website:
https://devina.io/svg-minifier

And got this file:

optimized svg.zip

Then, after importing to the IDE, I wanted to optimize it using this plugin, and I got this file:

optimized vectorDrawable.zip

When this plugin is disabled, and I open the file, nothing special occurs.

However, when the plugin is enabled, and I either inspect the file or just open it (as it triggers inspection), it freezes after some time:

freeze.zip

Attached the project that can cause the freezing:

My Application.zip

When I use the original file (without the optimization of the website), it works fine.

Please fix this issue.

Android Studio Panda 2 | 2025.3.2 Canary 4
Build #AI-253.30387.90.2532.14877032, built on February 12, 2026
Runtime version: 21.0.9+-14787801-b1163.94 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
StudioFlags with current overrides:
  LazyStudioFlagSettings(StudioFlagSettings(data.size=1)):
    device.mirroring.agent.log.level=debug
  PropertyOverrides(cache.size=477):
    flags.configuration.level=PREVIEW
  MendelOverrides(MendelFlagsProvider count=1):
  ServerFlagOverrides(Name: analytics/surveys/browser/STUDIO_PING
        PercentEnabled: 100
        Value: custom proto
        
        Name: analytics/surveys/followup
        PercentEnabled: 100
        Value: custom proto
        
        Name: analytics/surveys/sentiment/url
        PercentEnabled: 100
        Value: https://google.qualtrics.com/jfe/form/SV_4ZzP5RfbOtMwbxc
        
        Name: cxx/page_align_16kb
        PercentEnabled: 100
        Value: custom proto
        
        Name: diagnostics/commit_timestamp
        PercentEnabled: 50
        Value: false
        
        Name: diagnostics/memory_usage_reporting
        PercentEnabled: 35
        Value: custom proto
        
        Name: diagnostics/typing_latency_report
        PercentEnabled: 10
        Value: custom proto
        
        Name: exceptions/ClassCastException
        PercentEnabled: 100
        Value: custom proto
        
        Name: exceptions/ClassNotFoundException
        PercentEnabled: 100
        Value: custom proto
        
        Name: exceptions/PluginException-0073ff27
        PercentEnabled: 100
        Value: custom proto
        
        Name: exceptions/PluginException-8b332315
        PercentEnabled: 100
        Value: custom proto
        
        Name: exceptions/b_372743206
        PercentEnabled: 100
        Value: custom proto
        
        Name: exceptions/b_412486300
        PercentEnabled: 100
        Value: custom proto
        
        Name: exceptions/b_452882570
        PercentEnabled: 100
        Value: custom proto
        
        Name: exceptions/b_458923805
        PercentEnabled: 100
        Value: custom proto
        
        Name: studio_flags/benchmark.survey.2026.enable
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/cloud.enabled
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/firebasetestlab.direct.access.monthly.quota
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/rundebug.adblib.migration.ddmlib.ideviceusage.tracker
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/rundebug.install.use.pm.terminate
        PercentEnabled: 100
        Value: false
        
        Name: studio_flags/studiobot.askgemini.include.build.files.in.context
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/studiobot.chat.use.compose.for.ui
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/studiobot.compiler.error.context.enabled
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/studiobot.completions.per.hour
        PercentEnabled: 100
        Value: 36000
        
        Name: studio_flags/studiobot.conversations.per.hour
        PercentEnabled: 100
        Value: 500
        
        Name: studio_flags/studiobot.current.file.context
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/studiobot.generations.per.hour
        PercentEnabled: 100
        Value: 3600
        
        Name: studio_flags/studiobot.inline.code.completion.file.context.enabled
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/studiobot.npa.icon.image.generation.model.name
        PercentEnabled: 100
        Value: gemini-2.5-flash-image
        
        Name: studio_flags/studiobot.npa.mockup.image.generation.model.name
        PercentEnabled: 100
        Value: gemini-3-pro-image-preview
        
        Name: studio_flags/studiobot.project.facts.context.enabled
        PercentEnabled: 100
        Value: true
        
        Name: studio_flags/studiobot_gias_user_tier
        PercentEnabled: 100
        Value: custom proto
        
        Name: studio_flags/studiobot_push_notifications/notification_flag_list
        PercentEnabled: 100
        Value: custom proto
        
        ):
    rundebug.adblib.migration.ddmlib.ideviceusage.tracker=true
    rundebug.install.use.pm.terminate=false
    studiobot.askgemini.include.build.files.in.context=true
    studiobot.compiler.error.context.enabled=true
    studiobot.completions.per.hour=36000
    studiobot.conversations.per.hour=500
    studiobot.current.file.context=true
    studiobot.generations.per.hour=3600
    studiobot.inline.code.completion.file.context.enabled=true
    studiobot.project.facts.context.enabled=true
  AgpReleaseBranchProvider(releasedWithAgp=true):
    gradle.ide.use.alongside.agp=true
  AgpTestSuitesProvider(journeysWithGeminiEnabled=true):
    agp.test.suites.enabled=true
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 16
Registry:
  ide.instant.shutdown=false
  ide.experimental.ui=true
  com.android.studio.ml.activeModel=com.android.studio.ml.AidaModel
Non-Bundled Plugins:
  com.husttwj.TinyPngCompressor (1.2.4)
  com.intellij.marketplace (253.30387.193)
  com.steve.plugins.autoscroll (1.1)
  com.dethlex.numberconverter (2.1.2)
  cn.yiiguxing.plugin.translate (3.8.2)
  cn.jxzhang.plugin.json-formatter (1.6)
  String Manipulation (9.16.0)
  Show As ... (1.0.3)
  GenerateSerialVersionUID (3.0.3)
  izhangzhihao.rainbow.brackets (2025.3.7)
  net.aquadc.mike.plugin (0.34)
  com.developerphil.adbidea (1.6.20)
  GenerateSerializationHelpers (1.0.6)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions