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

install error on android #155

Open
MahmoudYaser1 opened this issue Feb 2, 2024 · 1 comment
Open

install error on android #155

MahmoudYaser1 opened this issue Feb 2, 2024 · 1 comment

Comments

@MahmoudYaser1
Copy link

Some problems were found with the configuration of task ':merryjs_photo-viewer:packageDebugResources' (type 'MergeResources').

  • Gradle detected a problem with the following location: 'C:\Users\Latitude\Desktop\react-native\MarotaCity\node_modules@merryjs\photo-viewer\android\build\generated\res\rs\debug'.

    Reason: Task ':merryjs_photo-viewer:packageDebugResources' uses this output of task ':merryjs-photo-viewer:compileDebugRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:

    1. Declare task ':merryjs-photo-viewer:compileDebugRenderscript' as an input of ':merryjs_photo-viewer:packageDebugResources'.
    2. Declare an explicit dependency on ':merryjs-photo-viewer:compileDebugRenderscript' from ':merryjs_photo-viewer:packageDebugResources' using Task#dependsOn.
    3. Declare an explicit dependency on ':merryjs-photo-viewer:compileDebugRenderscript' from ':merryjs_photo-viewer:packageDebugResources' using Task#mustRunAfter.

    Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

  • Gradle detected a problem with the following location: 'C:\Users\Latitude\Desktop\react-native\MarotaCity\node_modules@merryjs\photo-viewer\android\build\generated\res\resValues\debug'.

"react": "18.2.0",
"react-native": "0.72.7",

@MahmoudYaser1
Copy link
Author

Can you please update installation steps on android .. i will be very grateful if you did so
This library is the best but installation on newer React Native versions getting more difficult .. please take a second to update installation to match with newer versions of react

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