当我安装Android Studio 2.1时显示错误
./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.
我不明白警告是否很重要,因为安装正在运行 请帮帮我
答案 0 :(得分:19)
Android Studio在没有它的情况下运行正常,但如果警告与您有关,您可以使用以下内容创建文件〜/ .android / repositories.cfg,警告将不会再次出现。
### User Sources for Android SDK Manager
count=0