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

Failed to capture fingerprint of output files for task ':app:mergeDebugResources' property 'incrementalFolder' during up-to-date check #1579

Closed
dragonStandard123 opened this issue May 2, 2019 · 13 comments

Comments

@dragonStandard123
Copy link

I am getting this error when I link react-native-code-push with my project.
Whenever I do react-native run-android, I am facing this error.

Failed to capture fingerprint of output files for task ':app:mergeDebugResources' property 'incrementalFolder' during up-to-date check.
Could not read path 'D:\test\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values'.

So I have cleaned and rebuilt every time, it is a heavily troublesome.
How can I resolve this problem?

@yuri-kulikov
Copy link
Contributor

Hey @dragonStandard123,
Thanks for asking! Sorry for the delay.

Could you please clarify some points about your environment?

  • react-native-code-push version?
  • react-native version?
  • Does this reproduce on a debug build or release build?
  • Does this reproduce on a simulator, or only on a physical device?

@dragonStandard123
Copy link
Author

Hi @yuri-kulikov

react-native-code-push version?

5.6.0

react-native version?

0.59.5

Does this reproduce on a debug build or release build?

Debug build

Does this reproduce on a simulator, or only on a physical device?

A physical device.

@yuri-kulikov
Copy link
Contributor

@dragonStandard123, sorry, and one more thing, which versions of Gradle and gradle plugin do you use?

@dragonStandard123
Copy link
Author

@yuri-kulikov
Thanks for your attention

com.android.tools.build:gradle:3.3.1

apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

@yuri-kulikov
Copy link
Contributor

Hey @dragonStandard123,
Sorry for the delay!

I've created a simple example app:

  • react-native 0.59.5
  • react-native-code-push 5.6.0
  • gradle-plugin: 3.3.1

I've used react-native run-android (several times) to launch it and haven't experienced any problems. Should I make some changes in the project to reproduce the issue, or maybe you could provide us with a simple reproducible demo app?

@dragonStandard123
Copy link
Author

I will soon create a repo and inform you. Thanks.

@HydroBirous
Copy link

wix/react-native-navigation#4858 (comment)
This worked for me !

@dragonStandard123
Copy link
Author

Thanks @HydroBirous
I have already read that issue.
But every rebuilding needs my patience.

@yuri-kulikov
Copy link
Contributor

I will soon create a repo and inform you. Thanks.

@dragonStandard123 just a friendly ping :)

@dragonStandard123
Copy link
Author

Sorry to keep you waiting...
The deadline of mine is approaching, I cant take a break. 🏃😩
I intend to make the demo this weekend.
Thanks again !!!

@yuri-kulikov
Copy link
Contributor

@dragonStandard123 don't worry! No need to rush, we'll wait 🙂 thank you!

@diwgan32
Copy link

The solution here: #1448 worked for me. Downgrading the google-play-services version from 4.2 to 4.1 fixed the issue!

@alexandergoncharov-zz
Copy link
Contributor

Hi @dragonStandard123 ,

I'm going to close this issue for now as we haven't heard from you in a while, unfortunately.
Please feel free to open it if you have any questions.

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

No branches or pull requests

5 participants