日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

搭建开发环境

發布時間:2024/4/17 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 搭建开发环境 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Microsoft Windows [版本 10.0.16299.125] (c) 2017 Microsoft Corporation。保留所有權利。C:\WINDOWS\system32>@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" Getting latest version of the Chocolatey package for download. Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.8. Extracting C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\chocInstall... Installing chocolatey on this machine Creating ChocolateyInstall as an environment variable (targeting 'Machine')Setting ChocolateyInstall to 'C:\ProgramData\chocolatey' WARNING: It's very likely you will need to close and reopen your shell before you can use choco. Restricting write permissions to Administrators We are setting up the Chocolatey package repository. The packages themselves go to 'C:\ProgramData\chocolatey\lib'(i.e. C:\ProgramData\chocolatey\lib\yourPackageName). A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.Creating Chocolatey folders if they do not already exist.WARNING: You can safely ignore errors related to missing log files whenupgrading from a version of Chocolatey less than 0.9.9.'Batch file could not be found' is also safe to ignore.'The system cannot find the file specified' - also safe. chocolatey.nupkg file not installed in lib.Attempting to locate it from bootstrapper. PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding... 警告: Not setting tab completion: Profile file does not exist at 'C:\Users\Administrator\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'. Chocolatey (choco.exe) is now ready. You can call choco from anywhere, command line or powershell by typing choco. Run choco /? for a list of functions. You may need to shut down and restart powershell and/or consolesfirst prior to using choco. Ensuring chocolatey commands are on the path Ensuring chocolatey.nupkg is in the lib folderC:\WINDOWS\system32>choco install nodejs.install Chocolatey v0.10.8 Installing the following packages: nodejs.install By installing you accept licenses for the packages. Progress: Downloading nodejs.install 9.4.0... 100%nodejs.install v9.4.0 [Approved] nodejs.install package files install completed. Performing other installation steps. The package nodejs.install wants to run 'chocolateyInstall.ps1'. Note: If you don't run this script, the installation will fail. Note: To confirm automatically next time, use '-y' or consider: choco feature enable -n allowGlobalConfirmation Do you want to run the script?([Y]es/[N]o/[P]rint): yInstalling 64 bit version Installing nodejs.install... nodejs.install has been installed.nodejs.install may be able to be automatically uninstalled. Environment Vars (like PATH) have changed. Close/reopen your shell tosee the changes (or in powershell/cmd.exe just type `refreshenv`).The install of nodejs.install was successful.Software installed as 'msi', install location is likely default.Chocolatey installed 1/1 packages.See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).C:\WINDOWS\system32>npm install -g yarn react-native-cli npm WARN deprecated yarn@1.3.2: It is recommended to install Yarn using the native installation method for your environment. See https://yarnpkg.com/en/docs/install I:\Node\node-v8.9.4-win-x64\react-native -> I:\Node\node-v8.9.4-win-x64\node_modules\react-native-cli\index.js I:\Node\node-v8.9.4-win-x64\yarn -> I:\Node\node-v8.9.4-win-x64\node_modules\yarn\bin\yarn.js I:\Node\node-v8.9.4-win-x64\yarnpkg -> I:\Node\node-v8.9.4-win-x64\node_modules\yarn\bin\yarn.js + react-native-cli@2.0.1 + yarn@1.3.2 added 42 packages in 34.523s

?

本操作皆是在***上實現的,特別是下載choco,所有操作部分皆用紅色標識

我們可以用yarn或node來進行包管理。

?

Android Studio的安裝

?

下載網址:android studio?,安裝前需要準備jdk1.8環境。

android sdk指的是java jdk。

?

?

?

等待下載完即可。

?

?

?

轉載于:https://www.cnblogs.com/cisum/p/8372307.html

總結

以上是生活随笔為你收集整理的搭建开发环境的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。