在 Ubuntu 14.04 64 位 .android/repositories.cfg 中安装 Android Studio 无法加载 [英] Installing Android Studio in Ubuntu 14.04 64-Bit .android/repositories.cfg could not be loaded

查看:31
本文介绍了在 Ubuntu 14.04 64 位 .android/repositories.cfg 中安装 Android Studio 无法加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我安装 Android Studio 2.1 时显示错误

When i'm installing Android Studio 2.1 It shows me error

./studio.sh
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Looking in classpath from com.intellij.util.lang.UrlClassLoader@28c97a5 for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/usr/local/android-studio/lib/jna.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /home/kedinn/.AndroidStudio2.1/system/tmp/jna--1135288993/jna5651086287161650628.tmp
Found jnidispatch at /home/kedinn/.AndroidStudio2.1/system/tmp/jna--1135288993/jna5651086287161650628.tmp
[  11587]   WARN - oidStudioWelcomeScreenProvider - File /home/kedinn/.android/repositories.cfg could not be loaded. 
[  22630]   WARN - ome.install.ComponentInstaller - File /home/kedinn/.android/repositories.cfg could not be loaded. 

我不明白警告是否重要,因为安装正在运行请帮帮我

I don't understand if the warning is a important, because the installation is running Help me please

推荐答案

Android Studio 可以在没有它的情况下正常运行,但是如果警告与您有关,您可以使用以下内容创建文件 ~/.android/repositories.cfg 和警告不会再次出现.

Android Studio will run fine without it, but if the warning concerns you, you can create the file ~/.android/repositories.cfg with the following content and the warning will not appear again.

### User Sources for Android SDK Manager
count=0

这篇关于在 Ubuntu 14.04 64 位 .android/repositories.cfg 中安装 Android Studio 无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆