Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not found symbol error #19

Closed
shubhammehta78 opened this issue Dec 3, 2019 · 5 comments
Closed

Can not found symbol error #19

shubhammehta78 opened this issue Dec 3, 2019 · 5 comments

Comments

@shubhammehta78
Copy link

/home/shubham/Desktop/projects/FaceRecognition/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:18: error: cannot find symbol
import cv.reactnative.FaceModulePackage;
^
symbol: class FaceModulePackage
location: package cv.reactnative
/home/shubham/Desktop/projects/FaceRecognition/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:64: error: cannot find symbol
new FaceModulePackage()
^
symbol: class FaceModulePackage
location: class PackageList
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

@alastudio
Copy link

alastudio commented Feb 26, 2020

Change: import cv.reactnative.FaceModulePackage;
To: import cv.reactnative.facerecognition.FaceModulePackage;

File location: MyApplication.java

@phuc98ute
Copy link

Change: import cv.reactnative.FaceModulePackage;
To: import cv.reactnative.facerecognition.FaceModulePackage;

File location: MyApplication.java

What file must be changed? Error in build\generated\rncli\src\main\java\com\facebook\react\PackageList.java. But PackageList.java auto generated when rebuild project.
Thanks

@alastudio
Copy link

alastudio commented Mar 18, 2020 via email

@aboozaid
Copy link
Owner

if the issue still exists feel free to re-open.

@Abhishek150190
Copy link

Yes changed the file but still same issue exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants