Gerrit Begher
Gerrit Begher

Reputation: 403

react-native run-android error without error message

Up to a certain point, everything with react native was working nicely but now when running

react-native run-android

I get the following "useful" error message:

error

As you can see there is no 'error above' to be read.

Q: Is there a way to make the output more verbose so that I can see what the actual problem is?

Upvotes: 0

Views: 713

Answers (2)

Gerrit Begher
Gerrit Begher

Reputation: 403

While I did not figure out the reason I still found a solution.

Deleting the ./android folder and running

react-native android

resolved the problem.

My guess for the reasons:

The project folder came out of a git repo and the ./android folder was already included. There might have been some information in the configs (java, gradle, whatever) in that folder relating to my coworkers system that did not match my setup.

Upvotes: 0

IdeasForAName
IdeasForAName

Reputation: 126

Not sure if it would help, but you could try to run the following commands:

react-native run-android --stacktrace

or

react-native run-android --debug

Upvotes: 1

Related Questions