-
Notifications
You must be signed in to change notification settings - Fork 93
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
每次重新执行yarn start和yarn run android后都会报错 ,需要执行gradlew clean才会正常 #40
Comments
你用的是Android Studio3.+ ? |
我的as版本是3.5.3,貌似只要在命令行执行yarn start和yarn run android吧,需要用到as吗? |
这个是模拟器的问题,每次升级Android Studio都会遇到类似问题, 目前你先用安卓机调试开发,或者把Android Studio降级到之前的版本,我后面有空兼容一下。 |
好的,谢谢大佬 |
报错内容如下
Error: EPERM: operation not permitted, lstat 'G:\MySource\noter\Mozi\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values'
Emitted 'error' event at:
at NodeWatcher. (G:\MySource\noter\Mozi\node_modules\sane\src\node_watcher.js:289:14)
at G:\MySource\noter\Mozi\node_modules\graceful-fs\polyfills.js:284:29
at FSReqWrap.oncomplete (fs.js:154:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
然后执行 gradlew clean,重新yarn start和yarn run android就 正常了,不知道为什么会这样
The text was updated successfully, but these errors were encountered: