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

package com.reactlibrary does not exist import com.reactlibrary.ScreenRecorderDetectPackage error coming #22

Open
sandeep14 opened this issue Jul 9, 2022 · 0 comments

Comments

@sandeep14
Copy link

Above Package is only for iOS but I build android with same in package.json then below error is cominng

android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:83: error: package com.reactlibrary does not exist
import com.reactlibrary.ScreenRecorderDetectPackage;
                       ^
android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:183: error: cannot find symbol
      new ScreenRecorderDetectPackage(),
          ^
  symbol:   class ScreenRecorderDetectPackage
  location: class PackageList

To fix this error .we need to remove it from package.json for android build and again need to add in package.json for iOS build

Can we get solution in such way that Atleast I can build for android with same package added in package.json

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

1 participant