Android编程学习过程中遇到的错误以及解决办法

Android Studio遇到的问题

  Android Studio一直提示右下角那个错误,Failed to open zip file.我是根据这位大佬的博客https://www.cnblogs.com/guanshaoye/p/6378949.html解决的。下载Gradle、配置环境变量、修改设置之后,虽然不报这个错误了,但是又出了Connection timed out: connect错误。这个错误好像是因为国内无法使用谷歌导致的,我也没找到解决方法,可能(科)(学)(上)(网)能解决吧。

Eclipse遇到的问题

1.

  Unable to build: the file dx.jar was not loaded from the SDK folder 解决方法:根据这位大佬的博客http://www.cnblogs.com/allen0/p/9219936.html

2.

  The SDK layoutlib version is not supported解决方法:下一个更低版本的API,这里用的是API 28:Android 9所以会出错。如果用的Android 9,eclipse里会报各种莫名其妙的错。我下载了API 23:Android 6.0,结果又报了This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in错误,然后又下载的API 20:Android 4.4W.2才能正常使用。

3.

  Running Android Lint遇到问题解决方法:这位大佬的博客https://blog.csdn.net/chenyufeng1991/article/details/47442555

Genymotion模拟器遇到的问题

  Connection timeout occurred解决方法:根据这位大佬的博客https://blog.csdn.net/monste_qiao/article/details/53021433

未完待续……遇到新问题继续写……

原文地址:https://www.cnblogs.com/dream0-0/p/10308148.html