Android Studio 설치 후 실행 오류 해결 dose not...과 Internal error...

1.dose not point to a valid jvm 설치 오류 문제
아래 의 방법 에 따라 설정 하면 반드시 이 오류 가 발생 하지 않 을 것 이다.
제 JDK 설치 경 로 는 다음 과 같 습 니 다.
C:\Program Files\Java\jdk1.8.0_51
마우스 우 클릭 속성->고급 시스템 속성 설정->고급->환경 변수->시스템 변수 에 새로 만 들 기->
변수 이름:JAVAHOME
변수 값:C:\\Program Files\Java\\jdk 1.8.051\
2.오 류 는 그림 과 같다.

해결 방법:
Android Studio 의 설치 경로 에 와 서 저 는 다음 설치 경로 입 니 다.
idea.properties 파일 열기

# Use ${idea.home.path} macro to specify location relative to IDE installation home. 
# Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value. 
# Note for Windows users: please make sure you're using forward slashes (e.g. c:/idea/system). 
 
#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
# idea.config.path=${user.home}/.AndroidStudio.2/config 
 
#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
# idea.system.path=${user.home}/.AndroidStudio.2/system 
 
#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
# idea.plugins.path=${idea.config.path}/plugins 
 
#--------------------------------------------------------------------- 
# Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. 
#--------------------------------------------------------------------- 
# idea.log.path=${idea.system.path}/log 
 
#--------------------------------------------------------------------- 
# Maximum file size (kilobytes) IDE should provide code assistance for. 
# The larger file is the slower its editor works and higher overall system memory requirements are 
# if code assistance is enabled. Remove this property or set to very large number if you need 
# code assistance for any files available regardless their size. 
#--------------------------------------------------------------------- 
idea.max.intellisense.filesize=2500 
 
#--------------------------------------------------------------------- 
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb). 
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled 
#--------------------------------------------------------------------- 
idea.cycle.buffer.size=1024 
 
#--------------------------------------------------------------------- 
# Configure if a special launcher should be used when running processes from within IDE. 
# Using Launcher enables "soft exit" and "thread dump" features 
#--------------------------------------------------------------------- 
idea.no.launcher=false 
 
#--------------------------------------------------------------------- 
# To avoid too long classpath 
#--------------------------------------------------------------------- 
idea.dynamic.classpath=false 
 
#--------------------------------------------------------------------- 
# Uncomment this property to prevent IDE from throwing ProcessCanceledException when user activity 
# detected. This option is only useful for plugin developers, while debugging PSI related activities 
# performed in background error analysis thread. 
# DO NOT UNCOMMENT THIS UNLESS YOU'RE DEBUGGING IDE ITSELF. Significant slowdowns and lockups will happen otherwise. 
#--------------------------------------------------------------------- 
#idea.ProcessCanceledException=disabled 
 
#--------------------------------------------------------------------- 
# There are two possible values of idea.popup.weight property: "heavy" and "medium". 
# If you have WM configured as "Focus follows mouse with Auto Raise" then you have to 
# set this property to "medium". It prevents problems with popup menus on some 
# configurations. 
#--------------------------------------------------------------------- 
idea.popup.weight=heavy 
 
#--------------------------------------------------------------------- 
# Use default anti-aliasing in system, i.e. override value of "Settings|Editor|Appearance|Use anti-aliased font" 
# option. May be useful when using Windows Remote Desktop Connection for instance. 
#--------------------------------------------------------------------- 
idea.use.default.antialiasing.in.editor=false 
 
#--------------------------------------------------------------------- 
# Disabling this property may lead to visual glitches like blinking and fail to repaint 
# on certain display adapter cards. 
#--------------------------------------------------------------------- 
sun.java2d.noddraw=true 
 
#--------------------------------------------------------------------- 
# Removing this property may lead to editor performance degradation under Windows. 
#--------------------------------------------------------------------- 
sun.java2d.d3d=false 
 
#--------------------------------------------------------------------- 
# Workaround for slow scrolling in JDK6 
#--------------------------------------------------------------------- 
swing.bufferPerWindow=false 
 
#--------------------------------------------------------------------- 
# Removing this property may lead to editor performance degradation under X Window. 
#--------------------------------------------------------------------- 
sun.java2d.pmoffscreen=false 
 
#--------------------------------------------------------------------- 
# Workaround to avoid long hangs while accessing clipboard under Mac OS X. 
#--------------------------------------------------------------------- 
#ide.mac.useNativeClipboard=True 
 
#--------------------------------------------------------------------- 
# Maximum size (kilobytes) IDEA will load for showing past file contents - 
# in Show Diff or when calculating Digest Diff 
#--------------------------------------------------------------------- 
#idea.max.vcs.loaded.size.kb=20480 
 
#--------------------------------------------------------------------- 
# IDEA file chooser peeks inside directories to detect whether they contain a valid project 
# (to mark such directories with a corresponding icon). 
# Uncommenting the option prevents this behavior outside of user home directory. 
#--------------------------------------------------------------------- 
#idea.chooser.lookup.for.project.dirs=false 
 
#--------------------------------------------------------------------- 
# IDEA can copy library .jar files to prevent their locking. 
# By default this behavior is enabled on Windows and disabled on other platforms. 
# Uncomment this property to override. 
#--------------------------------------------------------------------- 
# idea.jars.nocopy=false 
 
#--------------------------------------------------------------------- 
# The VM option value to be used to start a JVM in debug mode. 
# Some JREs define it in a different way (-XXdebug in Oracle VM) 
#--------------------------------------------------------------------- 
idea.xdebug.key=-Xdebug 
 
#----------------------------------------------------------------------- 
# Change to 'enabled' if you want to receive instant visual notifications 
# about fatal errors that happen to an IDE or plugins installed. 
#-----------------------------------------------------------------------

idea.fatal.error.notification=disabled 
disable.android.first.run=true 
맨 뒤에 추가:
disable.android.first.run=true
문 제 를 완벽 하 게 해결 할 수 있다.
읽 어 주 셔 서 감사합니다. 여러분 에 게 도움 이 되 기 를 바 랍 니 다.본 사이트 에 대한 여러분 의 지지 에 감 사 드 립 니 다!

좋은 웹페이지 즐겨찾기