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

Could not read path 'C:\MyApp\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-az-rAZ'. #116

Closed
jbarradas opened this issue Jul 31, 2017 · 6 comments

Comments

@jbarradas
Copy link

After generating the icons (which went well with ImageMagick legacy tools option), when running 'react-native run-android' I had the following error:

* What went wrong:
Could not read path 'C:\MyApp\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-az-rAZ'.
> C:\MyApp\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-az-rAZ

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


BUILD FAILED

Total time: 7.502 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

(node:3316) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined

@Almouro
Copy link
Member

Almouro commented Jul 31, 2017

Hi @jbarradas ,

Have you tried to run:

cd android && gradlew clean
cd .. && react-native run-android

This can solve some problems on Android :)

Or if this doesn't work, you can try to remove the android/app/build folder altogether.

@Almouro
Copy link
Member

Almouro commented Nov 26, 2017

Hi @jbarradas, was your issue solved?
I'm closing this, since there hasn't been any activity for a while, but feel free to reopen if your problem wasn't fixed :)

@Almouro Almouro closed this as completed Nov 26, 2017
@amcdevitt97
Copy link

Fixed for me!

@alexxfreitag
Copy link

works perfectly to me, thanks!

@ajaykumar97
Copy link

This issue comes again after some time in windows. Does anyone have a permanent solution to this problem?

@kasim444
Copy link

@ajaykumar97 other solution, delete folder android/app/build

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

6 participants