简体   繁体   English

密码保护Android Studio项目

[英]Password protect Android Studio project

I am a full time Android Developer and in the current firm I am working at, I have found my system to have modifications that I didn't perform(when I turned it on the next morning) . 我是一名全职的Android Developer,在我目前工作的公司中,我发现我的系统有未执行的修改(第二天早晨打开时)。 I am okay with casual modifications(if at all) but am afraid that if my Android projects may get "stolen", it may get out of hand. 我可以随意修改(如果有的话),但是我担心,如果我的Android项目可能被“窃取”,它可能会失控。

So, without making this a workplace issue, I would simply like to password protect my source. 因此,在不将此问题变成工作场所问题的情况下,我只想用密码保护我的源代码。

How can I achieve the same? 我怎样才能达到同样的目的?

I don't think there is such option in android studio but you can do it so easy. 我认为android studio中没有这样的选项,但您可以轻松做到。 After writing your project you can save it as password protected Archive file using 7zip 编写完项目后,您可以使用7zip将其保存为受密码保护的存档文件

Go to your project, right click your project folder>>7-Zip>>Add to archive>>Encription>>Add your password>>save. 转到您的项目,右键单击您的项目文件夹>> 7-Zip >>添加到存档>> Encription >>添加密码>>保存。 Then delete your project folder after saving and closing android studio. 保存并关闭android studio后,然后删除您的项目文件夹。 [Do not use export option in android studio because you will need do download all external libraries next time you open it and there is no password protection] [请勿在android studio中使用导出选项,因为下次打开时需要下载所有外部库,并且没有密码保护]

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM