270 likes | 293 Views
This step-by-step guide covers installation of Visual Studio 2015 for Android components and windows phone, Visual Studio Emulator for Android, Java SE Development Kit, Android SDK tools, Android Studio IDE, Google USB driver, and troubleshooting techniques. Learn how to create Android apps, configure USB debugging, use Android Device Monitor, and resolve common issues while setting up virtual devices.
E N D
Installation ofVisual Studio Android emulator andAndroid Studio
Installmobile tools with Visual Studio 2015 • Step 1aIf youwant to work with Visual Studio 2015 and mobile component, youcaninstall Android elements and windowsphone with Visual Studio 2015. • On USB or get by DreamSpark
Install Visual Studio Emulator for Android • Step 1bInstallVisual Studio Emulator for Android(vs_emulatorsetup.exe – on USB)Youcanalso download fromhttps://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspxThis emulator is betterthanthose from Google
Install Java SE Development Kit • Step 2Start with installof Java SE Development Kit (jdk-8u66-windows-x64.exe – on USB)Youcanalso download from http://www.oracle.com/technetwork/java/javase/downloads/index.html
InstallAndroid SDK tools(if not instaled with Visual Studio components) • Step 3Install Android SDK tools(r24.4.1-windows.exe – on USB)Install in folder: C:\Program Files (x86)\Android\android-sdk
Youcan download Android SDK tools(if not using the USB) • Youcan download from http://developer.android.com/sdk/index.html#Other
Later run tools as administrator • Youmightlaterneed to run Android Tools as administrator to installextra or changesettings
Install Android Studio IDE • Step 3Install Android Studio IDE as administrator(android-studio-ide-141.2456560-windows.exe – on USB)While Android SDK is installedin C:\Program Files (x86)\Android\android-sdkit demand right as administrator to install more in this folder.
Download Android Studio from(if not using the USB) • Youcanalso download fromhttp://developer.android.com/sdk/index.html#top Select IDE only. If youdon’twant to use the Visual Studio Android Emulator, youcanuse the bundleinstalation with the SDK, but elseyoumight not wantthis and 2 version og the SDK and tools
Install Android Studio IDE Remember to run as administrator when using SDK with Visual Studio Android Emulator
SDK Component setup C:\Program Files (x86)\Android\android-sdk
Check and install more platforms and toolsStill running as administrator Youcaninstall platform from Android Studio whenrunning as administrator or launchStandalone SDK Manager, witchalsocanbestarteddirectly.
Install Google USB Driver Youneed the USB driver to connect to emulator and physicaldevices for deploy, running and debuging from Android Studio. Install from Android SDK Manager Install from Android Studio
Developer access Set USB debugging to useVisual Studio Emulatoras device in Android Studio
Android Device Monitor Use Android Device Monitor to controlrunningprocess on connecteddevice. Youcanalsotakescreendumps on devices with ADM
Android Virtual Device Manager Yo canalsouse AVD Manager from the Android SDK tools to create and start Virtual Android Devices if you have problem with the ovn from Visual Studio or you just want a differentdevice. Youmight save stateinsteadshootdownwhenclosed, then the speed is alright.
VS Android Virtual Deviceproblem solving • Check youcan run Hyper-V in Windows • Check you have allowedvirtualization in BIOS • Link thatmigthelpyou if you have problem running the Visual Studio Android Emulator
VS Android Virtual Deviceproblem solvingusingHyper-V manager
Using basic Android Virtual Device problem solvingusing AVD manager • If youcan’t run the Visual Studio Android Emulator, youmightalsouseonecreated with AVD manager, installed with the SDK.Youmightalsoinstall the Android SDK if not success with the otherinstalation.
SDK problem solving • If you have problem with missing SDK and/or AVD manager youmightinstallstandalone SDK or youmight drop VS Android Virtual Device and install Android Studio inclusive SDK. http://developer.android.com/sdk/index.html#Other