为啥啥新建安卓开发者选项工程时,compile with安卓开发者选项版本选项不默认Android4.X(L Preview)的话.R文件就会丢失.

AndroidDevTools简介
Android Dev Tools官网地址:
收集整理Android开发所需的Android SDK、开发中用到的工具、Android开发教程、Android设计规范,免费的设计素材等。
欢迎大家推荐自己在Android开发过程中用的好用的工具、学习开发教程、用到设计素材,欢迎Star、Fork
如果你对翻译英文的Android开发技术文章感兴趣,欢迎Start和Fork
Android Tools
Android SDK在线更新镜像服务器
中国科学院开源协会镜像站地址:
IPV4/IPV6:
IPV4/IPV6: http://mirrors.opencas.org 端口:80
IPV4/IPV6: http://mirrors. 端口:80
上海GDG镜像服务器地址:
端口:8000
北京化工大学镜像服务器地址:
IPv4: http://ubuntu./ 端口:80
IPv6: http://ubuntu./
大连东软信息学院镜像服务器地址:
http://mirrors. 端口:80
使用方法:
启动 Android SDK Manager ,打开主界面,依次选择『Tools』、『Options...』,弹出『Android SDK Manager - Settings』窗口;
在『Android SDK Manager - Settings』窗口中,在『HTTP Proxy Server」和「HTTP Proxy Port』输入框内填入上面镜像服务器地址(不包含http://,如下图)和端口,并且选中『Force https://... sources to be fetched using http://...』复选框。设置完成后单击『Close』按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;
依次选择『Packages』、『Reload』。
Android Studio
1.2 正式版
1.2 Preview 4
1.2 Preview 3
1.2 Preview 2
1.2 Preview 1
1.1 正式版
1.1 Preview 2
1.1 Preview 1
sdk-tools-r24.2
sdk-tools-r24.1.2
sdk-tools-r24.0.2
sdk-tools-r24.0.1
sdk-tools-r24
sdk-tools-r23.0.5
sdk-tools-r23.0.2
sdk-tools-r23
备注: 非官方版 是在 23.0.2 的基础上进行了在线更新包含了 Android 5.0 SDK ,SDK Tools 23.0.5 、Build Tools 21.0.1 、Support Library 21等。
SDK Platform-Tools
这是 adb, fastboot 等工具包。把解压出来的 platform-tools 文件夹放在 android sdk 根目录下,并把 adb所在的目录添加到系统 PATH 路径里,即可在命令行里直接访问了 adb, fastboot 等工具。
platform-tools-r22
platform-tools-r21
platform-tools-r20
Build-Tools
这是Android开发所需的Build-Tools,下载并解压后,将解压出的整个文件夹复制或者移动到 your sdk 路径/build-tools 文件夹即可。
这是Android开发所需的sdk,下载并解压后,将解压出的整个文件夹复制或者移动到
your sdk 路径/platforms文件夹,然后打开SDK Manager,打开
Tools(工具)菜单选择
Options(选项)菜单项打开Android SDK Manager Setting对话框,点击
Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本号
android 5.0
android L Rev3
android 4.4W
android 4.4.2
android 4.3
android 4.2.2
android 4.1.2
android 4.0.3
android 4.0
android 3.2
android 3.1
android 3.0
android 2.3.3
android 2.2
SDK System images
这是在创建模拟器时需要的system image,也就是在创建模拟器时
CPU/ABI项需要选择的,下载并解压后,将解压出的整个文件夹复制或者移动到
your sdk 路径/system-images文件夹下即可, 如果没有
system-images目录就先创建此文件夹,然后打开SDK Manager,打开
Tools(工具)菜单选择
Options(选项)菜单项打开Android SDK Manager Setting对话框,点击
Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本号
android 5.0
android 4.4W
android 4.4.2
android 4.3
android 4.2.2
android 4.1.2
android 4.0.3
android 4.0
GoogleMap APIs SDK
这是GoogleMap APIs SDK,下载并解压后,将解压出的整个文件夹复制或者移动到
your sdk 路径/add-ons文件夹下,然后打开SDK Manager,打开
Tools(工具)菜单选择
Options(选项)菜单项打开Android SDK Manager Setting对话框,点击
Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本号
android 4.4.2
android 4.3
android 4.2.2
android 4.1.2
android 4.0.3
android 4.0
android 3.2
android 3.1
android 3.0
android 2.3.3
android 2.2
Google Glass SDK
这是GDK,下载并解压后,将解压出的整个文件夹复制或者移动到
your sdk 路径/add-ons文件夹下,然后打开SDK Manager,打开
Tools(工具)菜单选择
Options(选项)菜单项打开Android SDK Manager Setting对话框,点击
Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
android 4.4.2
android 4.0.3
Google TV Addon
这是Google TV Addon,下载并解压后,将解压出的整个文件夹复制或者移动到
your sdk 路径/add-ons文件夹,然后打开SDK Manager,打开
Tools(工具)菜单选择
Options(选项)菜单项打开Android SDK Manager Setting对话框,点击
Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
android 3.2
Android Framework Source Code
这是Android Framework Source Code,下载并解压后,将解压出的整个文件夹复制或者移动到
your sdk 路径/sources文件夹下,然后重启Eclipse(或Android Studio),这样当你在Eclipse里面按住
Ctrl键点击某个系统类时就可以打开该类的源码文件查看源码了。
Android SDK Extras
Android Support Library、
Google Cloud Messaging for Android Library、
Google Play services、
Google Play services for fit preview、
Google Play services for Froyo、
Google Play APK Expansion Library、
Google Play Billing Library、
Google Play Licensing Library等,下载解压后将解压出的整个文件夹复制或者移动到
your sdk根目录下下,如果已经存在
extras文件夹就替换掉。
Support Library
包含supportive、v7和v13,下载解压后将解压出的整个文件夹复制或者移动到
your sdk 路径/extras下,然后打开SDK Manager,打开
Tools(工具)菜单选择
Options(选项)菜单项打开Android SDK Manager Setting对话框,点击
Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
SDK Samples
这是Android SDK自带的示例代码,下载并解压后,将解压出的整个文件夹复制或者移动到
your sdk 路径/samples文件夹下,然后重启Eclipse(或Android Studio)。 。
C/C++开发Android应用工具包,Linux/Mac OS X 下NDK r10c的安装方法请戳[这里](
Additional Download (32-, 64-bit)
r10 STL debug info
r9 STL debug info
Android L Preview System Image
这个是Android L Preview系统的刷机镜像。
Nexus 5 (GSM/LTE) "hammerhead"
Nexus 7 (Wifi) "razor"
ADT Bundle
ADT Bundle包含了Eclipse、ADT插件和SDK Tools,是已经集成好的IDE,只需安装好Jdk即可开始开发,推荐初学者下载ADT Bundle,不用再折腾开发环境。
ADT Plugin
离线安装ADT插件请戳
Gradle Dependencies Configuration Generator
版本控制工具
Git-1.8.5.2
SVN Plugin For Eclipse
Apk反编译工具
JEB Android Decompiler
Virtuous Ten Studio
Apk文件修改工具Root Tools
Dex文件反编译工具Dedexer
APK+Dex文件反编译及回编译工具
android-apktool
Onekey Decompile Apk]
AXMLPrinter2
JAD Java Decompiler
JD-GUI Decompiler
Android APK Decompiler
在线反编译工具
SmaliViewer
是一款免费的APK分析软件,无论从分析的深度还是广度来看,都是一款能够满足用户需求的产品,使您在APK分析的过程中,更加得心应手。
Android逆向助手
Android逆向助手是一功能强大的逆向辅助软件。该软件可以帮助用户来进行apk反编译打包签名;dex/jar互转替换提取修复;so反编译;xml、txt加密;字符串编码等等,操作简单,只需要直接将文件拖放到源和目标文件。
Android Killer
<Android Killer 是一款可视化的安卓应用逆向工具,集Apk反编译、Apk打包、Apk签名,编码互转,ADB通信(应用安装-卸载-运行-设备文件管理)等特色功能于一 身,支持logcat日志输出,语法高亮,基于关键字(支持单行代码或多行代码段)项目内搜索,可自定义外部工具;吸收融汇多种工具功能与特点,打造一站 式逆向工具操作体验,大大简化了用户在安卓应用/游戏修改过程中的各类繁琐工作。
APKfuscator
ApkAnalyser
Android analysis framework
Androguard
VirusTotal
GDB for Android
Structural Java Exception Search
Java异常搜索工具
Debug调试工具
Stetho 是Facebook推出的Android 调试平台,基于 Chrome Developer Tools ,调试网络请求方面特别方便。
Augmented Traffic Control
Facebook宣布开源移动网络测试工具ATC,该工具支持利用Wi-Fi网络模拟2G、2.5G、3G以及LTE 4G移动网络环境,让测试工程师们能够快速对智能手机和App在不同国家地区和应用环境下的性能表现进行测试。
Api测试工具
一个用Go写的命令行API测试利器,支持文件下载,文件上传,支持Linux的pipe方式,总之就是炫酷。
Eclipse/Android Studio/IDEA插件
Eclipse插件
Genymobile模拟器
Memory-Analyzer-Tools
Droidinspector
SQLiteManager
Color Theme
Android Studio/IDEA插件
Android Resource Resizer Plugin
Gradle Dependencies Helper Plugin
Android Parcelable code generation Plugin
Android Holo Colors IDEA Plugin
Android Toolbox Plugin
Android Gradle Sign Plugin
Android Permissions Usage Plugin
Android Helper Plugin
Android Studio Prettify Plugin
IDEA ADB Plugin
Otto Intellij Plugin
Dagger intellij Plugin
Gradle Gui Plugin
Android Studio Unit Test Plugin
Android Layout ID Converter Plugin
IDEA protobuf Plugin
Simple Team Code Reviewer Plugin
Android XML Plugin
ADF Plugin
Java2smali Plugin
IDEA gitignore Plugin
IDEA Background Image Plugin
IDEA Maven Plugin
Gradle GooglePlay Publisher Plugin
Drawable Selectors Generates Plugin
Android Drawable Importer
Android资源/Themes/Style生成工具
Android Asset Studio
Android Drawable Factory
Android Action Bar Style Generator
Android Holo Colors Generator
Android Simple Nine-patch Generator
Android Device Frame Generator
Android资源分析工具
Android Assets Viewer
Android Layout Parser工具
Android Layout Binder
Android Content Provider代码生成工具
Content Provider Code Generator
Android Fragment Code Generator代码生成工具
Android Fragment Code Generator
代码生成工具
Android KickstartR
AndroidKickstartR帮助您快速创建
Android应用程序并使用最流行的库进行配置。
它创建和配置你的项目给你。只专注于代码!
Android Button Maker
Android Button Maker是一个在线生成Android应用按钮代码的工具。
Android的API提供可绘制资源,其中的XML文件定义的几何形状,包括颜色,边框和梯度。
这些按钮是在shape drawable XML代码基础上产生的相比通常的PNG按钮加载速度更快。
您可以在设置面板中自定义按钮的属性和获得源代码。
Android SVG to VectorDrawable
一个可以将SVG图片转换为Vector Drawable xml文件的在线工具。
Android Native开发工具
Android测试工具
Little Eye
Apk View Tracer
APT是一个Android平台高效性能测试组件,
提供丰富实用的功能,适用于开发自测、
定位性能瓶颈;
测试人员完成性能基准测试、竞品对比测试。
GT(随身调)是APP的随身调测平台,它是直接运行在手机上的“集成调测环境”(IDTE, Integrated Debug&Test Environment)。
Stetho 是Facebook推出的Android 调试平台,基于 Chrome Developer Tools ,调试网络请求方面特别方便。
Android多渠道打包工具
Umeng多渠道打包工具
AppTools具
package_tool
Android Bug日志收集工具
Crashlytics
ChkBugReport
Log Collector
Android Crash Catcher
其他语言开发Android应用工具
Basic4android
Scripting Layer
Ruby Rhodes
移动设备上的Ruby
PHP for Android
Codename One
App Inventor
传感器模拟工具
Sensor Simulator
独立的Java应用程序,它模拟传感器
的数据并将它们传送到Android模拟器。
Android串口开发工具
Android Serialport Api
图片尺寸处理工具
9-Patch Resizer
图片压缩工具
ImageOptim
资源清理工具
Android Lint
Android Resource Cleaner
Android Unused Resources
Android Resource Remover
px和dp转换/计算工具
Android dp px Calculator
dp px converter
androidpixels
android dpi calculator
DPI Calculator
Java To iOS
JSON/XML转换为POJO Class工具
jsonschema2pojo
Convert XML or JSON to Java Pojo
Java DAO Generate工具
Generate Java DAO for relational data table
Chrome插件
Android插件
Android SDK Search
Android Resource Navigator
ADB Plugin for remote
debugging Chrome on Android
Mobile/RWD Tester
ExtensionAndroid SDK Samples Search
Android Developer Improvements
Android downloader
JSON/XML格式化插件
JSON Formatter
JSON Viewer
JSON Finder
Encode/Decode插件
Base64 Encode and Decode
Git Plugin
Git Cheat Sheet
Android Dev Guides
Google Java编程风格指南中文版
英文地址:
Android Api中文版
Android API指南中文版
Android Proguard混淆配置指南
Gradle插件使用指南中文版
Gradle User Guide
Gradle 1.12用户指南:
Android Dev Tutorials
Android学习之路
Google Android官方培训课程中文版
Developing Android Apps
Java Design Patterns Samples in Java.
Design Tools
Photoshop插件
最好用的切图工具
Corner Editor
路径圆角编辑工具
GuideGuide
辅助线工具
Assistor PS
Skeuomorphism.it
QuickGuide
Long Shadow Generator
长投影效果生成插件
android_resizer_toolkit
android-ps-tools
一些方便Android UI设计的PhototShop插件。
LayerCraft
A Photoshop plugin to export UI assets from layers
矢量图设计工具
Affinity Designer
Adobe Illustrator
设计稿尺寸标注工具
PxCook像素大厨
UI设计师效率提升利器,让你专注于设计本质,不再为标注切图而烦恼,从设计到实现一气呵成
原型设计工具
Balsamiq Mockups
OmniGraffle
Justinmind
交互设计工具
Framer Studio
Quartz Composer
UI效果预览工具
Android Design Preview
Pixl Preview
Skala Preview
Android Material Design可视化调色板
Android Material Design Colours.xml
Colorube配色神器
Adobe Kuler
ColorSchemer Studio
设计稿版本控制工具
LayerVault
图标处理工具
Icon Slate
在线Icon库
NounProject
ColorSnapper
不透明度16进制值
手机To电脑同步预览工具
Gif图片录制工具
Android Tool
UI Programming Language
Design Tutorials
Design Games
一个帮助你练习PS里钢笔工具的小游戏。
Design Guides
Android设计指南非官方简体中文版
Topfun镜像地址:
Github镜像地址:
ApkBus镜像地址:
Segmentfault镜像地址:
多看阅读镜像地址:
Android Cheatsheet for Graphic Designers
Google Material Design 中文版
Designer's Guide To dpi
Email Design Guide
Free Design Resources
一堆免费的Android开发相关的电子书。
50 Android Hacks这本书分12个部分介绍了50个Android开发的小技巧。
Copyright 2014 inferjay ()
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
UY END -->一个android工程包含了一些列源代码或文件。 Android SDK 工具为我们提供了创建一个新工程的简便方法,按照一些设置,它能自动为你建立好一个工程需要的源代码结构。本课程分别演示如何用eclipse(和ADT插件)和命令行创建一个android新工程。Note:在这之前,你应该先安装好了Android SDK,而且如果你是用eclispe开发,你还要安装 ( 21.0.0 版本以上).如果你没有,你可以学习 这一课程。一、用eclipse创建一个工程图 1.eclipse新建一个android工程的步骤.点击工具栏里面的新建(New) &。打开 Android 目录, 选择 Android Application Project, 然后点击下一步(这里注意不同eclipse的版本可能不完全一致,但应该都会出现选择 Android Application Project)。填写出现的表单(如图): &Application Name是用户使用app的时候看到的应用名字。 我们取名为&My First App.& Project Name &是指这个项目的名称,显示在eclipse的项目列表里面。Package Name &app的包名(和普通java项目的Package Name是一个概念)。你的包名必须是独一无二的,在整个android系统中不能有两个同样的包名。基于此原因,我们推荐你用一个机构的反向域名作为包名(这样应该不会重复吧)。我们这个例子的包名叫: &com.example.myfirstapp.&。但是如果你要将你的应用发布到安卓商店google play上面,“com.example”是不被允许的。Minimum Required SDK &指你的app所支持的android最低版本, 因为不同的版本对应不同的api,表明要使用的 . &为了让app尽可能的支持更多的android系统和设备,你应该将这个值设置成在不影响你应用核心功能情况下的最低值。 如果你的app某种特性只能在新版本的android上才能体现出来,但是这又并不是这个app的核心功能的话,你可以设置成只有在支持这一特性的版本上才启用,(参考
一文)。Target SDK(又叫 &Build SDK) 一般来讲是最高版本的android或者是api。这个是指你测试你app的版本类型。
& Compile With 这个指你要编译的sdk版本,默认值是最新版本,(一般来说是4.1以上(对应的值是1.6),如果你还没有这个sdk版本,你应该用sdk管理工具下载一个),你也可以选择一个较老的版本来编译,但是用新sdk的好处是,新版本支持很多新特性,比如actionbar。 & &Theme 主题: 主题是指你的app风格,这个设置会影响到你的app在某些公共控件上的表现,比如holo风格主题的actionbar字体颜色是白色,且在代码中不能改变,除非是在style中覆盖了该style。你可以忽略这一步。4.下一步是设置工程的一些参数,可以直接跳过。5.这一步是设置app应用程序图标。你可以自己设定图标,但是最好让你的图标符合规范,参见UI设计向导的
。点击下一步6.这一步你可以设置app模版,我直接选BlankActivity然后点下一步。7.后面的设置都保持默认,直接点完成。在eclipse上创建一个安卓工程就完成了。二、用命令行创建一个工程如果你没有eclipse这样的工具,那么你可以用sdk工具在命令行里面建立一个安卓工程。1.切换目录到sdk/tool所在目录。2.执行android list targets 命令。屏幕将会列出你为sdk所下载的不同android版本。选择你想要编译的版本,同时记录下其id。我们建议你选择一个最新的版本。3.执行:android create project --target &target-id& --name MyFirstApp \
--path &path-to-workspace&/MyFirstApp --activity MainActivity \
--package com.example.myfirstapp将&target-id&替换成你刚刚记录下的android版本id。
上一篇:没有了
下一篇: 在ActionBar中添加分享功能会使得应用更加高效友好。Android4.0(API等级14)引入的ActionProvider类使得分享功能变得更加的简单。一旦ActionProvider被绑定到Action Bar的一个菜单中,它就能处理那一项的显示和反应。在ShareActionProvider的实例中,只需提Install Visual Studio Tools for Apache Cordova
Install Visual Studio Tools for Apache Cordova
Visual Studio 2013
In Visual Studio 2013, the Cordova tools are released as a preview (CTP) version. Cordova tools will be released as part of Visual Studio 2015 and we recommend that you now use Visual Studio 2015 RC to
using Visual Studio Tools for Apache Cordova. You can download Visual Studio from the .
Take advantage of the easy-to-use installer to build cross-platform apps with Visual Studio and Apache Cordova. With the installer, you don’t have to identify the required SDKs, tools, and libraries (or which versions). In this section:
One of the following operating systems: Windows 7, Windows 8, Windows 8.1, or Windows Server 2012 R2.ImportantIf you are using Windows 7, you can develop apps for Android and iOS, but not for Windows or Windows Phone.To build apps for specific device platforms, there are a few additional requirements:iOS and the iOS Simulator require a Mac computer capable of running
(Xcode 6 is recommended). For additional information and installation steps, see .TipIf you want to build iOS on a cloud service instead of Mac hardware, see .Android emulators work best on computers that can run either Hyper-V or the Intel HAXM driver. See .Windows Phone emulators require a computer that can run Hyper-V. View the emulator's ., which are included as an optional component in Visual Studio 2015. Follow the steps in the next section to install the tools.ImportantVisual Studio 2015 RC is recommended for developing Apache Cordova apps. If you previously installed Visual Studio 2015 Preview or a Visual Studio 2015 CTP, you must first uninstall it using Control Panel, Programs and Features, before installing Visual Studio 2015 RC.The installer for Visual Studio 2015 includes a secondary installer to support Cordova app development. The secondary installer gives you the option to install the following third-party software. Most of these are open-source software required by specific platforms or by Apache Cordova.Joyent Node.js enables Visual Studio to integrate with the Apache Cordova Command Line Interface (CLI) and Apache Ripple Emulator.Git CLI is required only if you need to manually add Git URIs for specific Cordova plug-ins.Google Chrome is required to run the Apache Ripple emulator for iOS and Android.Apache Ant 1.8.0 or later is required for the Android build process.32-bit Oracle Java JDK 7 is required for the Android build process.Caution64-bit Java is not supported.Android SDK is required for the Android build process and Ripple.Apple iTunes is required for deploying an app to an iOS device connected to your Windows PC.Run the installer that you found in .Follow the instructions to install Visual Studio 2015 RC, and make sure you install the following optional features:HTML/JavaScript (Apache Cordova)NoteIf you are installing Visual Studio 2013 instead of Visual Studio 2015 RC (we recommend Visual Studio 2015), the Cordova tools are installed as a .Windows 8.1 and Windows Phone 8.0/8.1 Tools…NoteYou can add these features to an existing installation of Visual Studio 2015. In Control Panel, choose Programs and Features. Select Visual Studio 2015 from the list, and then choose Change. In the Visual Studio setup window, choose Modify. In the features list, select the optional features as shown in the illustration.When prompted, allow the installer to install third-party software dependencies, or you can clear the software selections and manually install the dependencies you need later.ImportantIf the third-party dependencies are already on your system or you choose to install them manually, you might have to update your system path. See .Reboot your computer to make sure everything is installed correctly.Open Visual Studio, choose Tools, then Extensions and Updates, and then Updates. If there is a Visual Studio update available for Visual Studio Tools for Apache Cordova, install it.NoteThe first time you build an app after installing the tools, Visual Studio will download and install the Cordova tools. As a result, the first build takes extra time to complete. Check the Output window to see progress. If you see an error Cannot find module [modulename], see .To build and run iOS apps on the iOS Simulator or on an iOS device using Visual Studio, you must install and configure the remote agent, , on a Mac computer that meets the requirements specified below. (Currently, iOS apps can't be built on Windows.) In Visual Studio on your PC, you must also configure the remote agent as described in this topic.NoteFor information on using cloud-hosted Mac services instead of a Mac, see . If you are running Windows on a Mac using virtualization technology, you can build and run iOS locally. For more information, see . Before you install the remote agent, make sure you have .You can configure the agent to handle build requests and run the app on an iOS device or the iOS Simulator. To host the remote agent, the Mac computer must have the following installed:Mac OS X MavericksXcode 6Xcode command-line tools (from Terminal app, use xcode-select --install) , if you are using a CLI from a Git repository.If the CLI version is pointed to a Git location, Git is required to build the app for iOS.You must also have the following:An active iOS Developer Program account with AppleAn iOS provisioning profile configured in Xcode (download the provisioning profile and run the downloaded *.cer file)NoteFor detailed information, read the
in the iOS Developer Library.A signing identity configured in Xcode (choose XCode, Preferences)From the Terminal app on your Mac, type:
sudo npm install -g vs-mda-remote --user=$USER
where $USER will be replaced by your user name on the Mac. When you run the command, you will be prompted to enter your password as well.The global installation (-g) switch is recommended but not required.If you have an older version of Node.js and npm, you may need to type the following commands before you start up the remote agent.
sudo npm cache clear
sudo chown -R `whoami` ~/.npm
These commands provide permission to modify the contents of the npm package cache in your home directory (newer versions of Node.js and npm will do this for you automatically.)When you first start vs-mda-remote, developer mode will be activated on your Mac.
and two npm packages will also be installed.CautionTo install Homebrew, you need sudo (administrator) access. If you need to install vs-mda-remote without sudo, you can install Homebrew manually in a usr/local location and add its bin folder to your path. For more information, see the . If you need to manually enable developer mode, type the following in the Terminal app: DevToolsSecurity –enableIf you updated your computer to a new version of Visual Studio, you must update to the current version of the remote agent as well.Repeat the installation step from the previous section.From the Terminal app on your Mac, type:
vs-mda-remote
This will start the agent with a default build directory of ~/remote-builds. Additional configurations options for the agent are described in .The first time you start the agent, you will be provided with the required information to configure the agent in Visual Studio, including the host, the port, and the security PIN.Importantvs-mda-remote has been designed to securely transfer build payloads to and from Visual Studio using a PIN.If you intend to configure the remote agent in Visual Studio using the host name, ping the Mac using the host name to verify that it is reachable. Otherwise, you may need to use the IP address instead.Before you can use the remote agent, you must specify the remote configuration in Visual Studio.If the agent is not already running on your Mac, start the remote agent.On your Mac, get the host name or IP address of your Mac.You can get the IP address by using the ifconfig command.On the Visual Studio menu bar, choose Tools, Options. In the Options dialog box, open Tools for Apache Cordova, and then choose Remote Agent Configuration.Set Enable remote iOS processing to True.In the Host, Port, and Security PIN fields, type the values specified by the remote agent when you started it the first time. The host can be the name or IP address of your Mac. The default port is 3000.NoteIf you cannot ping the Mac using the host name, you may need to use the IP address.When you click OK, Visual Studio will connect to the remote agent (the agent must be running to connect).If you want to disable secure mode and enable simple HTTP-based connections, choose False as the Secure mode setting. Alternatively, type the following command in the Terminal app:
vs-mda-remote --secure false
If secure mode is disabled, you can leave the Security PIN field blank when configuring the agent in Visual Studio.The security PIN is for one-time use. If you need to regenerate the security PIN, see .From the Terminal app on your Mac, press Ctrl+C.In some circumstances, additional steps may be required to update and configure the tools.If you choose not to install one or more dependencies with Visual Studio Tools for Apache Cordova, you may need to If you need to verify the path for a third-party dependency or if you have multiple versions of a dependency installed, see If you are running Visual Studio behind a proxy, see .To use and configure the vs-mda-remote agent for building iOS apps, see the following: If you see unexpected errors when trying to build the Blank App template, see .
Your feedback about this content is important.Let us know what you think.
Additional feedback?
1500 characters remaining
Thank you!
We appreciate your feedback.
Have a suggestion to improve MSDN Library?
Visit our UserVoice Page to submit and vote on ideas!
Dev centers
Learning resources}

我要回帖

更多关于 安卓4.4.2开发者选项 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信