# Related URLs
http://developer.ubuntu.com/zh-cn/apps/sdk/
0. Environment Construction
Preferred requires an Ubuntu 14.04 operating system. There's nothing to talk about. A virtual machine is installed directly.
Do not update your operating system after the system installation is complete. If the Ubuntu SDK is installed after the update, the following error will appear:
The following packages has unmet Dependencies:libcogl15:Depends:libc6 (>= 2.17) but 2.19-0ubuntu6.6 was to be install Ed Depends:libdrm2 (>= 2.4.17) but 2.4.56-1~UBUNTU2 was to being installed depends:libegl1-x11 but it's a Virtua L Package depends:libgbm1 (>= 8.1~0) but 10.1.3-0ubuntu0.3 are to be installed depends:libgdk-pixbuf2.0-0 ( = 2.22.0) But 2.30.7-0UBUNTU1 was to being installed depends:libglib2.0-0 (>= 2.32.0) but 2.40.2-0UBUNTU1 was to AM in Stalled Depends:libxdamage1 (>= 1:1.1) but 1:1.1.4-1UBUNTU1 was to be installed DEPENDS:LIBXRANDR2 (>= 2:1. 2.0) but 2:1.4.2-1 was to be installed
1. Installing the SDK
Official installation Method: http://developer.ubuntu.com/zh-cn/start/ubuntu-sdk/installing-the-sdk/
After installing this method, I did not find the Ubuntu SDK in the official documentation, "search the Ubuntu SDK in the Unity Dash applications Lens".
Open Ubuntu software Center, where you can search for Ubuntu SDK and click Install.
(PS: Since I have installed, the Install button in the lower right corner has changed to remove).
2. Create a virtual machine
Official Note: http://developer.ubuntu.com/zh-cn/apps/sdk/tutorials/click-targets-and-device-kits/
Before you start writing code, you need to create a virtual machine for your Ubuntu phone.
Please read the official documentation carefully before you create it. When choosing a schema, the recommended choice:AMRFH.
Three architectures available: ARMFH, i386, and AMD64
- AMRFH is a common arm architecture on mobile phones, tablets and some desktops
- i386 typically used for early desktop (32-bit)
- AMD64 is the 64-bit architecture used on most recent computers
Note: The emulator can use any schema.
--by http://developer.ubuntu.com/zh-cn/apps/sdk/tutorials/click-targets-and-device-kits/
In the installation process, you need to download a series of content, you need to wait patiently, the time depends on the network situation.
Ubuntu mobile App Development Learning 0