我正在使用"蜂件"。使用公文包创建安卓时,我收到以下权限错误



我使用了briefcase create android,但它显示了任务错误。我使用windows命令提示符来完成这一切。有人能告诉我该怎么解决这个错误吗?

Downloading OpenJDK8U-jdk_x64_windows_hotspot_8u242b08.zip...
################################################## 100%
Installing AdoptOpenJDK...
Traceback (most recent call last):
File "C:UsersAlokAppDataLocalProgramsPythonPython36librunpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:UsersAlokAppDataLocalProgramsPythonPython36librunpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:UsersAlokbeeware-tutorialbeeware-venvScriptsbriefcase.exe__main__.py", line 9, in <module>
File "c:usersalokbeeware-tutorialbeeware-venvlibsite-packagesbriefcase__main__.py", line 11, in main
command(**options)
File "c:usersalokbeeware-tutorialbeeware-venvlibsite-packagesbriefcasecommandscreate.py", line 677, in __call__
self.verify_tools()
File "c:usersalokbeeware-tutorialbeeware-venvlibsite-packagesbriefcaseplatformsandroidgradle.py", line 57, in verify_tools
self.android_sdk = AndroidSDK.verify(self)
File "c:usersalokbeeware-tutorialbeeware-venvlibsite-packagesbriefcaseintegrationsandroid_sdk.py", line 119, in verify
jdk = JDK.verify(command, install=install)
File "c:usersalokbeeware-tutorialbeeware-venvlibsite-packagesbriefcaseintegrationsjava.py", line 223, in verify
jdk.install()
File "c:usersalokbeeware-tutorialbeeware-venvlibsite-packagesbriefcaseintegrationsjava.py", line 279, in install
java_unpack_path.rename(self.command.tools_path / "java")
File "C:UsersAlokAppDataLocalProgramsPythonPython36libpathlib.py", line 1287, in rename
self._accessor.rename(self, target)
File "C:UsersAlokAppDataLocalProgramsPythonPython36libpathlib.py", line 393, in wrapped
return strfunc(str(pathobjA), str(pathobjB), *args)
PermissionError: [WinError 5] Access is denied: 'C:\Users\Alok\.briefcase\tools\jdk8u242-b08' -> 'C:\Users\Alok\.briefcase\tools\java'

嘿,亲爱的,试着复制文件/文件夹从这里开始:'C:\Users\Alok\.b公文包\tools\jdk8u242-b08'到这里:'C:\Users\Alok\.b公文包\tools\java'这可能会对你有所帮助感谢

相关内容

  • 没有找到相关文章

最新更新