đ§ Troubleshooting
iOS pod install failsâ
cd ios
bundle install
bundle exec pod install --repo-update
Android build errorsâ
cd android && ./gradlew clean && cd ..
Segmentation fails / zero regionsâ
- Verify
originUrl/maskUrlare accessible - Confirm mask semantic colors match the
semanticColorsconfig - Check Metro logs for
[MaskSegment]/[âą ...]output
Dashed outlines misaligned / extra contoursâ
- Outlines are generated from mask pixel external contours; long-press only shows the connected component at the touch point
- The initial carousel only shows the largest connected component for each semantic region
Common Duplicate Module Errorsâ
Symptoms:
SkiaPictureView must be a function (received 'undefined')createAnimatedNode: Animated node[...] already exists
Solution:
- Copy the
singletonPackages+extraNodeModules+blockListpattern fromexample/metro.config.js - At the top of your
index.js, import gesture-handler â reanimated â skia in order - Restart Metro with
--reset-cacheand reinstall the app