关于Android studio的启动失败/扫雷

本文介绍了作者在安装Android Studio后遇到启动失败的问题,通过排查发现是环境变量、JDK版本和安装路径问题。提供了解决方法,包括确保JDK配置正确、安装路径使用全英文以及重启Android Studio。
摘要由CSDN通过智能技术生成

。。。。。好吧,前几日给自己的laptop装 Android studio的时候,发现了一个小问题。。。。。。

                  

               yep,就是在Android studio 安装完成之后。。。发现启动不了(如上图所示)。。。。

              于是乎,我就去du了一下 关于Android studio/could not find main class com/的问题。。。。

               发现了各种很cao淡的回答(如下):

               

                这回答简直让我醉生梦死,都用了大半个月的eclipse了,竟然告诉我是。。。环境变量的配置问题/还扯到了jdk版本

                。。。

                。。。为了让更多的朋友们避开雷区,以下给

         出了。。。→ 解决方法:

                                         首先,确认你的 jdk以及环境变

安卓 扫雷源码 添加重新开始按钮支持 Android studio ====================================== Risky Project Location: ----------------------- The tools *should* handle project locations in any directory. However, due to bugs, placing projects in directories containing spaces in the path, or characters like ", ' and &, have had issues. We're working to eliminate these bugs, but to save yourself headaches you may want to move your project to a location where this is not a problem. D:\Program Files\android_s_workplace\terrysaolei - Ignored Files: -------------- The following files were *not* copied into the new Gradle project; you should evaluate whether these are still needed in your project and if so manually move them: * ic_launcher-web.png * proguard-project.txt Moved Files: ------------ Android Gradle projects use a different directory structure than ADT Eclipse projects. Here's how the projects were restructured: * AndroidManifest.xml => app\src\main\AndroidManifest.xml * assets\ => app\src\main\assets * res\ => app\src\main\res\ * src\ => app\src\main\java\ Next Steps: ----------- You can now build the project. The Gradle project needs network connectivity to download dependencies. Bugs: ----- If for some reason your project does not build, and you determine that it is due to a bug or limitation of the Eclipse to Gradle importer, please file a bug at http://b.android.com with category Component-Tools. (This import summary is for your information only, and can be deleted after import once you are satisfied with the results.)
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值