简体   繁体   English

无法在Android Studio中安装Android NDK(NDK捆绑软件):MKDIR失败

[英]Can't install Android NDK (ndk-bundle) in Android Studio: failed to mkdirs

I am setting up Android development environment on my Windows 7 running machine. 我正在Windows 7运行的计算机上设置Android开发环境。 I installed Android studio 3.3 and other required packages. 我安装了Android Studio 3.3和其他必需的软件包。

while trying to install Android NDK I get following error: 尝试安装Android NDK时出现以下错误:

在此处输入图片说明

I downloaded NDK bundle from the above highlighted link and tried to extract the .zip file manually but it also gives error as: 我从上面突出显示的链接下载了NDK捆绑包,并尝试手动提取.zip文件,但它也显示错误消息:

! C:\\Users[UserName]\\Downloads\\android-ndk-r18-windows-x86_64.zip: Cannot create folder C:\\Users[UserName]\\Downloads\\android-ndk-r18\\sources\\cxx-stl\\llvm-libc++\\test\\std\\input.output\\stream.buffers\\streambuf\\streambuf.protected C:\\ Users [用户名] \\ Downloads \\ android-ndk-r18-windows-x86_64.zip:无法创建文件夹C:\\ Users [UserName] \\ Downloads \\ android-ndk-r18 \\ sources \\ cxx-stl \\ llvm-libc ++ \\测试\\ STD \\ input.output \\ stream.buffers \\流缓冲\\ streambuf.protected

Access is denied. 访问被拒绝。

! C:\\Users[UserName]\\Downloads\\android-ndk-r18-windows-x86_64.zip: Cannot create folder C:\\Users[UserName]\\Downloads\\android-ndk-r18\\sources\\cxx-stl\\llvm-libc++\\test\\std\\input.output\\stream.buffers\\streambuf\\streambuf.protected\\streambuf.put.area C:\\ Users [用户名] \\ Downloads \\ android-ndk-r18-windows-x86_64.zip:无法创建文件夹C:\\ Users [UserName] \\ Downloads \\ android-ndk-r18 \\ sources \\ cxx-stl \\ llvm-libc ++ \\测试\\ STD \\ input.output \\ stream.buffers \\流缓冲\\ streambuf.protected \\ streambuf.put.area

The system cannot find the path specified. 该系统找不到指定的路径。 . . . . . .

I have the Admin rights on the machine and I also tried to manually make a folder named 'streambuf.protected' in the directory and it gives me error as 'Access Denied' but I can make a folder with any other name. 我在计算机上拥有管理员权限,我还尝试在目录中手动创建一个名为“ streambuf.protected”的文件夹,但由于“访问被拒绝”而给我错误,但我可以使用任何其他名称创建一个文件夹。

What can be the cause of this and how can I install the Android NDK successfully ? 这可能是什么原因,如何成功安装Android NDK?

Thanks in advance. 提前致谢。 :) :)

After doing some research I found out that my Oraganization is using McAfee VirusScan Enterprise. 经过研究后,我发现Oraganization正在使用McAfee VirusScan Enterprise。 The Access Protection task has User-Defined rule as Cryptolocker - Extension protected which blocks from creating this folder. 访问保护任务的用户定义规则为Cryptolocker-扩展受保护 ,阻止创建此文件夹。

I found more info on it here: https://kc.mcafee.com/corporate/index?id=KB50998&page=content&pmv=print 我在这里找到了更多信息: https : //kc.mcafee.com/corporate/index?id=KB50998&page=content&pmv=print

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在 Mac 中访问 ndk-bundle - Can not access ndk-bundle in Mac ~/Library/Android/sdk/ndk-bundle 中的 NDK 没有 source.properties 文件 - NDK at ~/Library/Android/sdk/ndk-bundle did not have a source.properties file ndk-bundle和android-ndk-r15c之间的区别 - difference between ndk-bundle and android-ndk-r15c 错误:任务'ndkBuild'的执行失败。 >处理'命令'Android \\ sdk \\ ndk-bundle / ndk-build.cmd''以非零退出值2结束 - Error:Execution failed for task 'ndkBuild'. > Process 'command 'Android\sdk\ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2 Android NDK尝试使用sdk / ndk-bundle / sources / cxx-stl / gnu-libstdc ++ /构建,但gnu-libstdc ++不存在 - Android NDK tries to build with sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/ but gnu-libstdc++ doesn't exist 无法在 android studio 上配置 NDK 路径 - Can't Configure NDK path on android studio 如何解决以非零退出值2 /退出值-1完成的“ Android / Sdk / ndk-bundle / ndk-build.cmd” - How to Solve “Android/Sdk/ndk-bundle/ndk-build.cmd” finished with non-zero exit value 2 / exit value -1 / Android / sdk / ndk-bundle / ndk-build''完成,退出值非零2 Old Project Mac - /Android/sdk/ndk-bundle/ndk-build'' finished with non-zero exit value 2 Old Project Mac 减小已安装的 ndk-bundle 的大小 - Reduce size of installed ndk-bundle 无法在 Android Studio 中设置 Android NDK 位置 - Can't setup Android NDK location in Android Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM