
1、 下载AndroidStudio和JDK。
https://developer.android.com/guide/components/processes-and-threads.html。下载地址:https://developer.android.com/sdk/index.html。[https://developer.android.com/training/articles/perf-jni.html]。
JDK:
如图所示,下载的时候,下拉菜单选择backtrack 5 r3版本、gnome环境、根据你的cpu选择32或64位系统(如果这里不确定是32还是64,为了保险起见,请选择32位),下载类型选择iso,然后就可以点击下载了。解决方法1、下载这个 dll,然后放到系统中110s1k装win7 触摸板,比如本帖所说的 msvcr100.dll 下载地址: 不过有一点需要注意32 位系统110s1k装win7 触摸板,dll 放在\windows\system32 64 位系统需要放两个 dll 文件,一个 32 位,一个 64 位 32 位 dll 放在\windows\syswow64 64 位 dll 放在\windows\system32 2、安装 visual studio 2010,visual studio 2010 下载 32 位系统只安装 32 位的即可, 64 位系统,32 位和 64 位的都要安装 3、使用 directx repair 这款软件自动修复,运行后点检测并修复,即可自动修 复完成, 修复后重启计算机。windows下安装apache2.4+php5.4+mysql5.7注:文中所写的安装过程均在win7 x86下通过测试,提供的百度云下载链接均为32位安装包,如需apache和php的64位安装包请从官网下载。
注:如果使用虚拟机(VMware 12.1.0build-3272444)安装,需要开启虚拟化Intel-VT/EPT,可以在虚拟机设置-硬件-处理器-虚拟化引擎中找到,勾选即可。
2、 首先安装JDK,与普通软件的安装流程相似,选择默认安装路径。
配置java环境变量。计算机-属性-高级系统设置-高级-环境变量。
新建JAVA_HOME环境变量。变量值为C:\Program Files\Java\jdk1.8.0_101。


编辑Path环境变量,变量值为C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin。

新建CLASSPATH环境变量,变量值为.%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar。

测试环境变量是否设置成功。Win+R打开运行,cmd打开cmd.exe,输入javac回车。如果显示如下,则配置成功。

3、 安装AndroidStudio,与普通软件的安装流程相似,选择默认安装路径,包括SDK等。

4、 测试AndroidStudio是否安装成功。打开Android Studio。

新建一台模拟器,按默认设置创建。
三,插上后,系统会提示,发现新硬件,稍候,会提示你,新硬件已经安装并可以使用了,这时往往会弹出一个窗口,让你选择,以什么方式打开相机里的照片,自己选吧,根据你安装的软件会有不同的选择,选自己熟悉的吧。的驱动程序必须先安装后(随硬件附带的驱动光盘安装)才能插上,插上后系统会提示"发现新硬件",并询问"是否让计算机自动搜索所需要的程序",你点"是",系统就会在你的硬盘上自动寻找合适的驱动并安装它,安装后会出现提示驱动已经安装,这个硬件可以使用.这时候你就可以使用你的了.或插上,系统会提示发现新硬件,并询问"是否让计算机自动搜索所需要的程序",你选光盘,在你的光驱中放入的驱动盘,系统会自动在你的光盘中寻找适合的驱动安装.。双击安装→安装提示安装完毕后→数据线连接手机→数据线连接电脑(没装完软件之前不要连数据线)→手机上选择pc套件→电脑会提示找到新硬件→电脑自动安装驱动→一切完成后执行软件。
硬件加速安装完成后,再打开模拟器,如果以上步骤全部默认安装与设置,可能会打开失败,报以下错误。
C:\Users\bai\AppData\Local\Android\Sdk\tools\emulator.exe-netdelay none -netspeed full -avd Nexus_5X_API_23
defocus steps smaller than z 1 will not provide useful information and are thusunnecessary, though in practice the minimum z step size may be set by the axial motion stage。if you specified the minimum extent clause, then the database evaluates whether the values of minimum extent, initial, and next are equal and the value of pctincrease is 0. if they are equal, then the database creates a locally managed uniform tablespace with extent size = initial. if the minimum extent, initial, and next parameters are not equal, or if pctincrease is not 0, then the database ignores any extent storage parameters you may specify and creates a locally managed, autoallocated tablespace.。i am trying to run google map v2 on emulator , i am following this tutorial.when i was trying to install required apk file on emulator , i am getting below error.。
WARNING: init: MissingWGL extension WGL_ARB_make_current_read

spamd: could not create inet socket on 127.0.0.1:783: address already in use。[26002] error: spamd: could not create inet socket on 127.0.0.1:783: address already in use。[26002] warn: server socket setup failed, retry 1: spamd: could not create inet socket on。
emulator: WARNING:Setting VM heap size to 384MB
Hax is enabled
Failed to obtain GLES 1.xextensions string!
Could not initializeemulated framebufferWarning: requested ram_size 1536M too big, reduced to 512M
Hax ram_size 0x20000000
HAX is working andemulator runs in fast virt mode.
adb_server_notify: Failedto establish connection to ADB server

console on port 5554, ADBon port 5555
--disable-gpu|-g disable gpu mining even if suitable devices exist。tips to help performance: use lower quality sound or switch it off. disable stick and buttons animations and disable smooth scaling also.。1: screen lock on jb and newer will now use device admin to turn off screen. so remember to disable screen lock first before uninstallation。
按照此博客()内容重新编辑模拟器,调整VMheap size至512MB。但此博客选择Emulated-Graphics为Hardware - GLES 2.0,修改为Software - GLES 2.0后Could not initialize OpenglES emulation的ERROR消失,参考博客为。如下所示。

5、 至此启动模拟器成功。界面如下。

6、 如果一直卡在gradlebuild running,可以按以下博客内容尝试修改。
7、 测试成功的HelloAndroid如下。

8、 由于是虚拟机测试,测试速度极其缓慢,耐心等待即可。可以尝试调整内存等等。
9、 贴几个高质量博主的博客地址。前三安卓,后一深度学习。
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/sanxing/article-106425-1.html
而是将来
太棒了