zoukankan      html  css  js  c++  java
  • 搭建开发环境


    Microsoft Windows [版本 10.0.16299.125] (c) 2017 Microsoft Corporation。保留所有权利。 C:WINDOWSsystem32>@"%SystemRoot%System32WindowsPowerShellv1.0powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%chocolateyin" Getting latest version of the Chocolatey package for download. Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.8. Extracting C:UsersADMINI~1AppDataLocalTempchocolateychocInstallchocolatey.zip to C:UsersADMINI~1AppDataLocalTempchocolateychocInstall... Installing chocolatey on this machine Creating ChocolateyInstall as an environment variable (targeting 'Machine') Setting ChocolateyInstall to 'C:ProgramDatachocolatey' 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:ProgramDatachocolateylib' (i.e. C:ProgramDatachocolateylibyourPackageName). A shim file for the command line goes to 'C:ProgramDatachocolateyin' and points to an executable in 'C:ProgramDatachocolateylibyourPackageName'. Creating Chocolatey folders if they do not already exist. WARNING: You can safely ignore errors related to missing log files when upgrading 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:ProgramDatachocolateyin in it. Adding... 警告: Not setting tab completion: Profile file does not exist at 'C:UsersAdministratorDocumentsWindowsPowerShellMicrosoft.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 consoles first prior to using choco. Ensuring chocolatey commands are on the path Ensuring chocolatey.nupkg is in the lib folder C:WINDOWSsystem32>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): y Installing 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 to see 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:ProgramDatachocolateylogschocolatey.log). C:WINDOWSsystem32>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 ode-v8.9.4-win-x64 eact-native -> I:Node ode-v8.9.4-win-x64 ode_modules eact-native-cliindex.js I:Node ode-v8.9.4-win-x64yarn -> I:Node ode-v8.9.4-win-x64 ode_modulesyarninyarn.js I:Node ode-v8.9.4-win-x64yarnpkg -> I:Node ode-v8.9.4-win-x64 ode_modulesyarninyarn.js + react-native-cli@2.0.1 + yarn@1.3.2 added 42 packages in 34.523s

    本操作皆是在科学上网上实现的,特别是下载choco所有操作部分皆用红色标识

    我们可以用yarnnode来进行包管理。

    Android Studio的安装

     

    下载网址:android studio ,安装前需要准备jdk1.8环境。

    android sdk指的是java jdk。

     

    等待下载完即可。

     

  • 相关阅读:
    MFC-窗口指针
    MFC-EditControl文本控件(多行输入)一行一行读取
    MFC-文件对话框
    MFC-ToolBar工具栏
    MFC-CMenu菜单
    MFC-访问对话框控件的七种方法
    CC++:scanf的用法
    C/C++:printf的用法
    C/C++:创建第一个程序helloworld!
    NX二次开发-NX客户机与服务器FTP上传下载文件
  • 原文地址:https://www.cnblogs.com/cisum/p/8372307.html
Copyright © 2011-2022 走看看