14:26:12.770 [mmssp-page-turner:android-QDY7N1..] Unhandled rejection FailError: Failure: 'couldn't create file: Too many open files'
14:26:12.770 [mmssp-page-turner:android-QDY7N1..] at D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\adbkit\lib\adb\sync.js:289:33
14:26:12.774 [mmssp-page-turner:android-QDY7N1..] at tryCatcher (D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\bluebird\js\main\util.js:26:23)
14:26:12.778 [mmssp-page-turner:android-QDY7N1..] at Promise._settlePromiseFromHandler (D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\bluebird\js\main\promise.js:503:31)
14:26:12.782 [mmssp-page-turner:android-QDY7N1..] at Promise._settlePromiseAt (D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\bluebird\js\main\promise.js:577:18)
14:26:12.786 [mmssp-page-turner:android-QDY7N1..] at Promise._settlePromises (D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\bluebird\js\main\promise.js:693:14)
14:26:12.786 [mmssp-page-turner:android-QDY7N1..] at Async._drainQueue (D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\bluebird\js\main\async.js:123:16)
14:26:12.791 [mmssp-page-turner:android-QDY7N1..] at Async._drainQueues (D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\bluebird\js\main\async.js:133:10)
14:26:12.791 [mmssp-page-turner:android-QDY7N1..] at Immediate.Async.drainQueues [as _onImmediate] (D:\HBuilderX\plugins\hbuilderx-for-uniapp-test-lib\node_modules\bluebird\js\main\async.js:15:14)
14:26:12.796 [mmssp-page-turner:android-QDY7N1..] at processImmediate (internal/timers.js:464:21)
使用运行测试用例的方法,就会报这个错误,如果项目直接运行,就没有这种错误。请问这是什么问题呢
开发环境:
运行平台:windows10
运行手机:Android8、Android11、Android10(全部都有这种情况)
Hbuilder版本:3.5.3.20220729
4 个回复
xujingzhu (作者)
@DCloud-HBuilderX团队
DCloud_HB_WDL
重启下电脑。估计重启电脑就好了
xujingzhu (作者)
确实好了,但是我得到了另外的错误,请问这是什么问题呢?@DCloud_HB_WDL
xujingzhu (作者)
2022-09-01 17:14
xujingzhu (作者)
@DCloud_HB_WDL,问题还是一样存在,我运行安卓11以上就会出现
ecure_mkdirs failed: Operation not permitted
运行到11以下就出现
Unhandled rejection FailError: Failure: 'couldn't create file: Too many open files'
这个问题