oblador / react-native-vector-icons

Customizable Icons for React Native with support for image source and full styling.
https://oblador.github.io/react-native-vector-icons/
MIT License
17.31k stars 2.12k forks source link

Error: Cannot find symbol #1495

Closed Rohit3523 closed 11 months ago

Rohit3523 commented 1 year ago

I am getting the following error while making the debug application

Description

C:\Users\rohit\OneDrive\Desktop\rn-main\android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:29: error: cannot find symbol import com.oblador.vectoricons.VectorIconsPackage; ^ symbol: class VectorIconsPackage location: package com.oblador.vectoricons C:\Users\rohit\OneDrive\Desktop\rn-main\android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:82: error: cannot find symbol new VectorIconsPackage() ^ symbol: class VectorIconsPackage location: class PackageList 2 errors

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

Environment

OS: Windows 10 Target Platform: Android Vector Icons Version: 9.2.0

ArTM96 commented 1 year ago

Same issue here but on MacOS Monterey. Specifically getting this error when attempting to build a signed android app bundle for release. Debug variants work just fine.

ArTM96 commented 1 year ago

Same issue here but on MacOS Monterey. Specifically getting this error when attempting to build a signed android app bundle for release. Debug variants work just fine.

Update: Was able to fix this issue by completely deleting the repo off my PC and recloning it.