哥们最近配置android开发环境,在启动as时出现以下问题:
Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null
在csdn找到的修改as的配置文件的方法:
如下:
- Open the folder
bin
under the directory where you installed your Android Studio. - Find the file
idea.properties
and open it with Notepad++, UltraEdit, or other edit tools. - Add
disable.android.first.run=true
as the final line and save the file. - Restart Android Studio.
然而在我这并不能奏效。
--------------------------------------------------------
求助于it届万能的stack overflow:
终于找到最简单的解决办法:
以下来自stack overflow
原文答案:
Just turn off the Internet connection.
即在打开as时断网,进入后再次联网。
是不是很简单,just just而已