In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article focuses on "how to solve the problem that the lack of permissions in the window system leads to the failure of gradle construction". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve the problem that the lack of permissions in the window system leads to the failure of gradle construction.
In the process of using window to build the environment, I encountered a problem of gradle construction failure, which has been perplexed for a long time. How to give a specific construction error message:
Gradle location is incorrect
After searching for this error, I tried a lot of solutions. Changing the gradle path, adding gradle environment variables, adding GRADLE_HOME, customizing local repositories, and moving gradle software to the project directory did not solve the problem. It seems that this problem is relatively rare. I have no choice but to do my own research.
Open the detailed log: Could not create parent directory for lock file C:\ Program Files (x86)\ gradle-4.6\ repository\ wrapper\ dists\ gradle-4.10-bin\ bg6py687nqv2mbe6e1hdtk57h\ gradle-4.10-bin.zip.lck
See this I suddenly thought of the window system permissions, the default is no permission to operate C disk, I immediately changed to D disk, so everything is normal. Maybe it's the method that MacOS is used to, suddenly cut to window and forgot to troubleshoot the problem for a long time.
At this point, I believe you have a deeper understanding of "how to solve the problem of gradle build failure caused by lack of permissions in the window system". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.