简体   繁体   中英

Trouble running existing react-native project on Android emulator

I'm currently trying to set up an existing react-native project on an android emulator (OSX).

I'm having some trouble with this error particularly:

Execution failed for task :react-native-lock:processReleaseResources  

After running $(npm bin)/react-native run-android .

Any wisdom would be super appreciated!

Try using

  1. cd android
  2. ./gradlew clean
  3. cd..
  4. react-native run-android

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM