Android 学习笔记-android studio安装过程可能出现的问题

1、问题描述:找不到SWT,找不到文件路径。

截图:

解决方式:查看SDK出现的问题,重新安装SDK,或者根据以下方式进行修改。

            (1)更改Androi.bat的文件java路径

            (2)替换hosts文件增加网络速度。(C:\Windows\System32\drivers\etc)

            (3)替换extras文件。

             这样就可以打开SDK了。随后选择自己想要的插件进行下载便可。

 

2、问题描述:在运行程序的时候找不到本地地址,没办法编译生成APK文件。

截图:

解决方式:根据问题一的方式来安装指定插件,插件根据设备的CUO出来来决定。

3、问题描述:导入的文件类型错误

截图:

解决方式:改程序为Module工程。

4、问题描述:

Unable to start the daemon process.

This problem might be caused by incorrect configuration of the daemon.

For example, an unrecognized jvm option is used.

Please refer to the user guide chapter on the daemon at http://gradle.org/docs/1.6/userguide/gradle_daemon.html

Please read below process output to find out more:

-----------------------

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.

Consult IDE log for more details (Help | Show Log)

解决方式:

1 定位到目录 C:\Users\<username>\.gradle

2 创建文件gradle.properties

内容:org.gradle.jvmargs=-Xmx512m

3 重启你的Android Studio项目。

 

posted @ 2015-01-14 17:36  Monkey菜苗  阅读(236)  评论(0)    收藏  举报