本帖最后由 可乐丸子 于 2016-8-13 16:04 编辑
下面介绍DragonBoard 410c 开发板安卓环境搭建的方法,并编写一个简单的Hello World程序
首先下载并安装Android Studio
http://dlsw.baidu.com/sw-search-sp/soft/a8/27390/androidstudio1.5.0.0.1454148047.exe
然后安装ADB驱动,可以下载通用ADB驱动然后修改android_winu***.inf)文件,在其中的
[Google.NTx86]一行下面加入如下
- ;Qualcomm Devices
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9025&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9024&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9015&MI_00
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9018&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9029&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9031&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9037&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9035&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9053&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9039&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_904E&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_903A&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_903F&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9022&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_902D&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_901D&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_903B&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9042&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9044&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9046&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9059&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9060&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9064&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9065&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9082&MI_05
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9084&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9098&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_909A&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9091&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9020&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_90B4&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_90B6&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_90B8&MI_04
复制代码
接着在[Google.NTamd64]一行下面加入如下
- ;Qualcomm Devices
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9025&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9024&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9015&MI_00
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9018&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9029&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9031&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9037&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9035&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9053&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9039&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_904E&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_903A&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_903F&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9022&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_902D&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_901D&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_903B&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9042&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9044&MI_02
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9046&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9059&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9060&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9064&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9065&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9082&MI_05
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9084&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9098&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_909A&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9091&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_9020&MI_01
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_90B4&MI_03
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_90B6&MI_04
- %CompositeAdbInterface% = USB_Install, USBVID_05C6&PID_90B8&MI_04
复制代码
如果觉得麻烦,也可以直接下载下面提供的修改好的驱动文件
https://fileserver.linaro.org/owncloud/index.php/s/FR4vgUL2d101HKn/download
打开Android Studio下面创建一个简单的Hello World程序
选择“Start a new Android Studio project”创建一个新项目
在下面的对话框选择API 21 Android 5.0 (Lolipop) 然后点Next
接着选择 “Blank ac tivity”空白活动后选下一步
按如下设置后点Finish完成
随后会出现下图新项目窗口
在项目模板里面含一个Hellp World的模板,点击后出现如下
选择菜单栏的 Build -> Make Project开始创建程序,程序创建成功后就可以运行了,使用 手机手机线连接开发板的MicroUSB口和电脑的USB口后会发现新硬件,使用上面ADB驱动安装后点Android Studio菜单栏的Run -> Run会弹出如下设备选择对话框
选择Dragonboard 410c开发板后点OK即可在开发板上运行Hello World程序,开发板HDMI连接的屏幕显示如下
0
|
|
|
|