Click File > Settings (on macOS, Android Studio > Preferences) to open the Settings dialog. In the left pane, expand the Editor section and click Inspections.
Platform
AndroidStudio
GooglePlay
Jetpack
Kotlin
Docs
Games
Language
English
BahasaIndonesia
Español–AméricaLatina
Português–Brasil
TiếngViệt
中文–简体
中文–繁體
日本語
한국어
Signin
AndroidStudio
Download
What'snew
Userguide
Preview
Platform
AndroidStudio
Download
What'snew
Userguide
Preview
GooglePlay
Jetpack
Kotlin
Docs
Games
MeetAndroidStudio
OverviewInstallAndroidStudioMigratetoAndroidStudioConfiguretheIDEKeyboardshortcutsAccessibilityfeaturesUpdatetheIDEandtools
Workflowbasics
Manageyourproject
OverviewCreateaprojectAboutPlayFeatureDelivery
AddCandC++code
OverviewInstallNDKandCMakeConfiguretheNDKforAGPConfigureCMakeLinkGradleCreateanAndroidlibrarySetupcontinuousintegration
Writeyourapp
OverviewAddcodefromatemplateFindsamplecodeAddamoduleforanewdeviceCreateaJavaclassortypeUseJava8languagefeaturesJava8languagesupporttableAddappresourcesBuildaUIwithLayoutEditorBuildanimationwithMotionEditorManageyourapp'sUIresourcesDesignappthemesAddmulti-densityvectorgraphicsCreateiconswithImageAssetStudioCreateresizablebitmaps(9-Patch)CreateWebPimagesLocalizetheUIAddAndroidapplinksConnecttoFirebaseImproveyourcodewithlintchecksImprovecodeinspectionwithannotationsToolsattributesreference
Buildandrunyourapp
Overview
Runappsontheemulator
OverviewCreateandmanagevirtualdevicesStarttheemulatorfromthecommandlineSendemulatorconsolecommandsSetupemulatornetworkingConfigurehardwareaccelerationEmulatorfeaturecomparisonTroubleshootemulator
Runappsonahardwaredevice
OverviewInstallOEMUSBdriversGettheGoogleUSBdriverCreaterun/debugconfigurationsBuildyourappfromthecommandline
Configureyourbuild
OverviewConfiguretheappmoduleAddbuilddependenciesConfigurebuildvariantsUsetheAndroidGradlepluginUpgradeAssistantGradletipsandrecipesMigratetoKotlinscript
Optimizeyourbuildspeed
OverviewTroubleshootbuildperformanceProfileyourbuildUsetheMavenPublishpluginManagemanifestfilesShrinkyourappEnablemultidexExtendtheAndroidGradlepluginIntegrateacustomC/C++buildsystem
Debugyourapp
OverviewConfiguredeveloperoptionsWriteandviewlogsAnalyzeastacktraceDebugyourlayoutwithLayoutInspectorInspectnetworktrafficwiththeNetworkInspectorDebugyourdatabasewiththeDatabaseInspectorDebugyourWorkManagerWorkerswithBackgroundTaskInspectorViewon-devicefilesDebugpre-builtAPKsTakeascreenshotRecordavideoCaptureandreadbugreportsAnalyzeyourbuildwithAPKAnalyzer
Testyourapp
OverviewTestinAndroidStudioTestfromthecommandlineAdvancedtestsetup
Othertestingtools
OverviewEspressoTestRecorderAppCrawlerMonkeytesting
monkeyrunnerreference
OverviewMonkeyDeviceMonkeyImageMonkeyRunner
Profileyourapp
Overview
AndroidStudioprofilers
Overview
ProfileCPUactivity
OverviewRecordtracesExporttracesImporttracesInspecttracesUIjankdetectionGeneratetracelogsbyinstrumentingyourappProfilememoryusageProfileenergyuseProfilewithpre-builtAPKs
Measureperformance
OverviewExamples
Publishyourapp
OverviewPrepareforreleaseVersionyourappSignyourappUploadyourapp
Publishyourlibrary
OverviewPrepareforreleaseConfigurepublicationvariantsConfiguretestfixturesforpublicationUploadyourlibrary
Commandlinetools
Overviewaapt2adbapkanalyzerapksigneravdmanagerbmgrbundletoold8dmtracedumpdumpsysetc1tooljobbjetifier-standalonelogcatmksdcardretracesdkmanagersystraceperfettozipalignEnvironmentvariables
Troubleshoot
Knownissues
Reportabug
AndroidDevelopers
AndroidStudio
Userguide
ConfigureAndroidStudio
AndroidStudioprovideswizardsandtemplatesthatverifyyoursystem
requirements,suchastheJavaDevelopmentKit(JDK)andavailableRAM,and
configuredefaultsettings,suchasanoptimizeddefaultAndroidVirtualDevice
(AVD)emulationandupdatedsystemimages.Thisdocumentdescribesadditional
configurationsettingsyoumaywanttousetocustomizeyouruseofAndroid
Studio.
AndroidStudioprovidesaccesstotwoconfigurationfilesthroughtheHelp
menu:
studio.vmoptions:CustomizeoptionsforStudio'sJava
VirtualMachine(JVM),suchasheapsizeandcachesize.NotethatonLinux
machinesthisfilemaybenamedstudio64.vmoptions,dependingonyourversion
ofAndroidStudio.
idea.properties:CustomizeAndroidStudioproperties,such
asthepluginsfolderpathormaximumsupportedfilesize.
Forspecificdocumentationaboutemulatoranddevicesetupanduse,seethe
followingtopics:
Managingvirtualdevices
Usinghardwaredevices
OEMUSBdrivers
Findyourconfigurationfiles
BothconfigurationfilesarestoredintheconfigurationfolderforAndroid
Studio.ThenameofthefolderdependsonyourStudioversion.Herearethe
locationsforAndroidStudio4.1andhigher:
Windows
Syntax:%APPDATA%\Google\
Example:C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudio4.1
macOS
Syntax:~/Library/ApplicationSupport/Google/
Example:~/Library/ApplicationSupport/Google/AndroidStudio4.1
Linux
Syntax:~/.config/Google/
Example:~/.config/Google/AndroidStudio4.1
ForAndroidStudioversions4.0andlower,configurationfilesarelocatedin
thefollowinglocations:
Windows:%USERPROFILE%\.CONFIGURATION_FOLDER
macOS:~/Library/Preferences/CONFIGURATION_FOLDER
Linux:~/.CONFIGURATION_FOLDER
Note:Aneasywaytolocateyourconfigurationdirectoryistonavigateto
Help>EditCustomVMOptionsinAndroidStudio.Thiswillopena
configurationfile.Inspectthepathoftheconfigurationfiletofindyour
configurationdirectory.
Youcanalsousethefollowingenvironmentvariablestopointtospecific
overridefileselsewhere:
STUDIO_VM_OPTIONS:setthenameandlocationofthe.vmoptionsfile
STUDIO_PROPERTIES:setthenameandlocationofthe.propertiesfile
STUDIO_JDK:settheJDKwithwhichtorunStudio
CustomizeyourVMoptions
Thestudio.vmoptionsfileallowsyoutocustomizeoptionsforAndroidStudio's
JVM.ToimproveStudio'sperformance,themostcommonoptiontoadjustisthe
maximumheapsize,butyoucanalsousethestudio.vmoptionsfiletooverride
otherdefaultsettingssuchasinitialheapsize,cachesize,andJavagarbage
collectionswitches.
Tocreateanewstudio.vmoptionsfileortoopenyourexistingone,usethe
followingsteps:
ClickHelp>EditCustomVMOptions.IfyouhavenevereditedVM
optionsforAndroidStudiobefore,theIDEpromptsyoutocreateanew
studio.vmoptionsfile.ClickYestocreatethefile.
Thestudio.vmoptionsfileopensintheeditorwindowofAndroidStudio.
EditthefiletoaddyourowncustomizedVMoptions.Forafulllistof
customizableJVMoptions,seeOracle'sJavaHotSpotVMOptionspage.
Thestudio.vmoptionsfileyoucreategetsaddedtothedefault
studio.vmoptionsfile,locatedinthebin/directoryinsideyourAndroid
Studioinstallationfolder.
Notethatyoushouldneverdirectlyeditthestudio.vmoptionsfilefound
insidetheAndroidStudioprogramfolder.Whileyoucanaccessthefileto
viewStudio'sdefaultVMoptions,editingonlyyourownstudio.vmoptionsfile
ensuresthatyoudon'toverrideimportantdefaultsettingsforAndroidStudio.
Therefore,inyourstudio.vmoptionsfile,overrideonlytheattributesyou
careaboutandallowAndroidStudiotocontinueusingdefaultvaluesforany
attributesyouhavenotchanged.
Maximumheapsize
Bydefault,AndroidStudiohasamaximumheapsizeof1280MB.Ifyouareworking
onalargeproject,oryoursystemhasalotofRAM,youcanimproveperformance
byincreasingthemaximumheapsizeforAndroidStudioprocesses,suchasthe
coreIDE,Gradledaemon,andKotlindaemon.
AndroidStudioautomaticallychecksforpossibleheapsizeoptimizationsand
notifiesyouifitdetectsthatperformancecanbeimproved.
Figure1.Anotificationabout
recommendedmemorysettings.
Ifyouusea64-bitsystemthathasatleast5GBofRAM,youcanalsoadjust
theheapsizesforyourprojectmanually.Todoso,followthesesteps:
ClickFile>Settingsfromthemenubar(or
AndroidStudio>PreferencesonmacOS).
ClickAppearance&Behavior>SystemSettings>MemorySettings.
Adjusttheheapsizestomatchyourdesiredamounts.
ClickApply.
IfyouchangedtheheapsizefortheIDE,youmustrestartAndroidStudio
beforethenewmemorysettingsareapplied.
Note:Allocatingtoomuchmemorycandegradeperformance.
ExportandimportIDEsettings
YoucanexportaSettings.jarfilethatcontainsallorasubsetofyour
preferredIDEsettingsforaproject.YoucanthenimporttheJARfileintoyour
otherprojectsand/ormaketheJARfileavailabletoyourcolleaguestoimport
intotheirprojects.
Formoreinformation,see
ExportingandImportingSettings
atIntelliJIDEA.
CustomizeyourIDEproperties
Theidea.propertiesfileallowsyoutocustomizeIDEpropertiesforAndroid
Studio,suchasthepathtouserinstalledpluginsandthemaximumfilesize
supportedbytheIDE.Theidea.propertiesfilegetsmergedwiththedefault
propertiesfortheIDEsoyoucanspecifyjusttheoverrideproperties.
Tocreateanewidea.propertiesfileortoopenyourexistingfile,usethe
followingsteps:
ClickHelp>EditCustomProperties.IfyouhavenevereditedtheIDE
propertiesbefore,AndroidStudiopromptsyoutocreateanewidea.properties
file.ClickYestocreatethefile.
Theidea.propertiesfileopensintheeditorwindowofAndroidStudio.Edit
thefiletoaddyourowncustomizedIDEproperties.
Thefollowingidea.propertiesfileincludesthecommonlycustomizedIDE
properties.Foracompletelistofproperties,readaboutthe
idea.propertiesfileforIntelliJIDEA.
#---------------------------------------------------------------------
#Uncommentthisoptionifyouwanttocustomizepathtouserinstalledpluginsfolder.Makesure
#you'reusingforwardslashes.
#---------------------------------------------------------------------
#idea.plugins.path=${idea.config.path}/plugins
#---------------------------------------------------------------------
#Maximumfilesize(kilobytes)IDEshouldprovidecodeassistancefor.
#Thelargerfileisthesloweritseditorworksandhigheroverallsystemmemoryrequirementsare
#ifcodeassistanceisenabled.Removethispropertyorsettoverylargenumberifyouneed
#codeassistanceforanyfilesavailableregardlesstheirsize.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=2500
#---------------------------------------------------------------------
#Thisoptioncontrolsconsolecyclicbuffer:keepstheconsoleoutputsizenothigherthanthe
#specifiedbuffersize(Kb).Olderlinesaredeleted.Inordertodisablecyclebufferuse
#idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
idea.cycle.buffer.size=1024
#---------------------------------------------------------------------
#ConfigureifaspeciallaunchershouldbeusedwhenrunningprocessesfromwithinIDE.
#UsingLauncherenables"softexit"and"threaddump"features
#---------------------------------------------------------------------
idea.no.launcher=false
#---------------------------------------------------------------------
#Toavoidtoolongclasspath
#---------------------------------------------------------------------
idea.dynamic.classpath=false
#---------------------------------------------------------------------
#Therearetwopossiblevaluesofidea.popup.weightproperty:"heavy"and"medium".
#IfyouhaveWMconfiguredas"FocusfollowsmousewithAutoRaise"thenyouhaveto
#setthispropertyto"medium".Itpreventsproblemswithpopupmenusonsome
#configurations.
#---------------------------------------------------------------------
idea.popup.weight=heavy
#---------------------------------------------------------------------
#Usedefaultanti-aliasinginsystem,i.e.overridevalueof
#"Settings|Editor|Appearance|Useanti-aliasedfont"option.MaybeusefulwhenusingWindows
#RemoteDesktopConnectionforinstance.
#---------------------------------------------------------------------
idea.use.default.antialiasing.in.editor=false
#---------------------------------------------------------------------
#Disablingthispropertymayleadtovisualglitcheslikeblinkingandfailtorepaint
#oncertaindisplayadaptercards.
#---------------------------------------------------------------------
sun.java2d.noddraw=true
#---------------------------------------------------------------------
#RemovingthispropertymayleadtoeditorperformancedegradationunderWindows.
#---------------------------------------------------------------------
sun.java2d.d3d=false
#---------------------------------------------------------------------
#WorkaroundforslowscrollinginJDK6
#---------------------------------------------------------------------
swing.bufferPerWindow=false
#---------------------------------------------------------------------
#RemovingthispropertymayleadtoeditorperformancedegradationunderXWindow.
#---------------------------------------------------------------------
sun.java2d.pmoffscreen=false
#---------------------------------------------------------------------
#WorkaroundtoavoidlonghangswhileaccessingclipboardunderMacOSX.
#---------------------------------------------------------------------
#ide.mac.useNativeClipboard=True
#---------------------------------------------------------------------
#Maximumsize(kilobytes)IDEAwillloadforshowingpastfilecontents-
#inShowDifforwhencalculatingDigestDiff
#---------------------------------------------------------------------
#idea.max.vcs.loaded.size.kb=20480
ConfiguretheIDEforlow-memorymachines
IfyouarerunningAndroidStudioonamachinewithlessthantherecommended
specifications(seeSystemRequirements),
youcancustomizetheIDEtoimproveperformanceonyourmachine,asfollows:
ReducethemaximumheapsizeavailabletoAndroidStudio:Reducethe
maximumheapsizeforAndroidStudioto512Mb.Formoreinformationonchanging
maximumheapsize,seeMaximumheapsize.
UpdateGradleandtheAndroidpluginforGradle:Updatetothelatest
versionsofGradleandtheAndroidpluginforGradletoensureyouaretaking
advantageofthelatestimprovementsforperformance.Formoreinformation
aboutupdatingGradleandtheAndroidpluginforGradle,seethe
AndroidpluginforGradleReleaseNotes.
EnablePowerSaveMode:EnablingPowerSaveModeturnsoffanumberof
memory-andbattery-intensivebackgroundoperations,includingerror
highlightingandon-the-flyinspections,autopopupcodecompletion,and
automaticincrementalbackgroundcompilation.ToturnonPowerSaveMode,
clickFile>PowerSaveMode.
Disableunnecessarylintchecks:TochangewhichlintchecksAndroid
Studiorunsonyourcode,dothefollowing:
ClickFile>Settings(onmacOS,AndroidStudio>Preferences)
toopentheSettingsdialog.
Intheleftpane,expandtheEditorsectionandclick
Inspections.
Clickthecheckboxestoselectordeselectlintchecksasappropriatefor
yourproject.
ClickApplyorOKtosaveyourchanges.
Debugonaphysicaldevice:Debuggingonanemulatorusesmorememorythan
debuggingonaphysicaldevice,soyoucanimproveoverallperformancefor
AndroidStudiobydebuggingonaphysicaldevice.
IncludeonlynecessaryGooglePlayservicesasdependencies:Including
GooglePlayServicesasdependenciesinyourprojectincreasestheamountof
memorynecessary.Onlyincludenecessarydependenciestoimprovememoryusage
andperformance.Formoreinformation,see
AddGooglePlayServicestoYourProject.
ReducethemaximumheapsizeavailableforGradle:Gradle'sdefault
maximiumheapsizeis1,536MB.Reducethevaluebyoverridingthe
org.gradle.jvmargspropertyinthegradle.propertiesfile,asshownbelow:
#Makesuretograduallydecreasethisvalueandnote
#changesinperformance.Allocatingtoolittlememorymay
#alsodecreaseperformance.
org.gradle.jvmargs=-Xmx1536m
Donotenableparallelcompilation:AndroidStudiocancompileindependent
modulesinparallel,butifyouhavealow-memorysystemyoushouldnotturnon
thisfeature.Tocheckthissetting,dothefollowing:
ClickFile>Settings(onmacOS,AndroidStudio>Preferences)to
opentheSettingsdialog.
Intheleftpane,expandBuild,Execution,Deploymentandthenclick
Compiler.
EnsurethattheCompileindependentmodulesinparalleloptionis
unchecked.
Ifyouhavemadeachange,clickApplyorOKforyourchangeto
takeeffect.
SettheJDKversion
AcopyofthelatestOpenJDKcomesbundledwithAndroidStudio2.2andhigher,
andthisistheJDKversionwerecommendyouuseforyourAndroidprojects.To
usethebundledJDK,dothefollowing:
OpenyourprojectinAndroidStudioandselectFile>Settings...>Build,Execution,Deployment>BuildTools>Gradle(AndroidStudio>Preferences...>Build,Execution,Deployment>BuildTools>GradleonaMac).
UnderGradleJDK,choosethe
EmbeddedJDKoption.
ClickOK.
Bydefault,theJavalanguageversionusedtocompileyourprojectisbased
onyourproject'scompileSdkVersion(becausedifferentversionsofAndroid
supportdifferentversionsofJava).Ifnecessary,youcanoverridethis
defaultJavaversionbyaddingthefollowing
compileOptions
blocktoyourbuild.gradlefile:
android{
compileOptions{
sourceCompatibilityJavaVersion.VERSION\_1\_6
targetCompatibilityJavaVersion.VERSION\_1\_6
}
}
FormoreinformationaboutwherecompileSdkVersionisdefined,
readaboutthemodule-levelbuildfile.
Setproxysettings
ProxiesserveasintermediaryconnectionpointsbetweenHTTPclientsandweb
serversthataddsecurityandprivacytointernetconnections.
TosupportrunningAndroidStudiobehindafirewall,settheproxysettingsfor
theAndroidStudioIDE.UsetheAndroidStudioIDEHTTPProxysettingspageto
settheHTTPproxysettingsforAndroidStudio.
WhenrunningtheAndroidpluginforGradlefromthecommandlineoronmachines
whereAndroidStudioisnotinstalled,suchascontinuousintegrationservers,
settheproxysettingsintheGradlebuildfile.
Note:AftertheinitialinstallationoftheAndroidStudiobundle,Android
Studiocanrunwithinternetaccessoroff-line.However,AndroidStudio
requiresaninternetconnectionforSetupWizardsynchronization,3rd-party
libraryaccess,accesstoremoterepositories,Gradleinitializationand
synchronization,andAndroidStudioversionupdates.
SetuptheAndroidStudioproxy
AndroidStudiosupportsHTTPproxysettingssoyoucanrunAndroidStudiobehind
afirewallorsecurenetwork.TosettheHTTPproxysettingsinAndroidStudio:
Fromthemenubar,clickFile>Settings(onmacOS,click
AndroidStudio>Preferences).
Intheleftpane,clickAppearance&Behavior>SystemSettings>HTTP
Proxy.TheHTTPProxypageappears.
SelectAuto-detectproxysettingstouseanautomaticproxyconfiguration
URLfortheproxysettingsorManualproxyconfigurationtoentereachof
thesettingsyourself.Foradetailedexplanationofthesesettings,seeHTTPProxy.
ClickApplyorOKforyourchangestotakeeffect.
AndroidpluginforGradleHTTPproxysettings
WhenrunningtheAndroidpluginfromthecommandlineoronmachineswhere
AndroidStudioisnotinstalled,settheAndroidpluginforGradleproxy
settingsintheGradlebuildfile.
Forapplication-specificHTTPproxysettings,settheproxysettingsinthe
build.gradlefileasrequiredforeachapplicationmodule.
plugins{
id'com.android.application'
}
android{
...
defaultConfig{
...
systemProp.http.proxyHost=proxy.company.com
systemProp.http.proxyPort=443
systemProp.http.proxyUser=userid
systemProp.http.proxyPassword=password
systemProp.http.auth.ntlm.domain=domain
}
...
}
Forproject-wideHTTPproxysettings,settheproxysettingsinthe
gradle/gradle.propertiesfile.
#Project-wideGradlesettings.
...
systemProp.http.proxyHost=proxy.company.com
systemProp.http.proxyPort=443
systemProp.http.proxyUser=username
systemProp.http.proxyPassword=password
systemProp.http.auth.ntlm.domain=domain
systemProp.https.proxyHost=proxy.company.com
systemProp.https.proxyPort=443
systemProp.https.proxyUser=username
systemProp.https.proxyPassword=password
systemProp.https.auth.ntlm.domain=domain
...
ForinformationaboutusingGradlepropertiesforproxysettings,seethe
GradleUserGuide.
Note:WhenusingAndroidStudio,thesettingsintheAndroidStudioIDEHTTP
proxysettingspageoverridetheHTTPproxysettingsinthe
gradle.propertiesfile.
OptimizeAndroidStudioperformanceonWindows
AndroidStudioperformanceonWindowscanbeimpactedbyavarietyoffactors.
ThissectiondescribeshowyoucanoptimizeAndroidStudiosettingstogetthe
bestpossibleperformanceonWindows.
Minimizetheimpactofantivirussoftwareonbuildspeed
SomeantivirussoftwarecaninterferewiththeAndroidStudiobuildprocess,
causingbuildstorundramaticallyslower.WhenyourunabuildinAndroid
Studio,Gradlecompilesyourapp’sresourcesandsourcecodeandthenpackages
thecompiledresourcestogetherinanAPKorAAB.Duringthisprocess,manyfiles
arecreatedonyourcomputer.Ifyourantivirussoftwarehasreal-timescanning
enabled,theantiviruscanforcethebuildprocesstohalteachtimeafile
iscreatedwhiletheantivirusscansthatfile.
Toavoidthisissue,youcanexcludecertaindirectoriesfromreal-time
scanninginyourantivirussoftware.
Caution:Toensurethatyourcomputerissafefrommalicioussoftware,you
shouldnotcompletelydisablereal-timescanningoryourantivirussoftware.
ThefollowinglistshowsthedefaultlocationofeachAndroidStudiodirectory
thatyoushouldexcludefromreal-timescanning:
Gradlecache
%USERPROFILE%\.gradle
AndroidStudioprojects
%USERPROFILE%\AndroidStudioProjects
AndroidSDK
%USERPROFILE%\AppData\Local\Android\SDK
AndroidStudiosystemfiles
Syntax:%LOCALAPPDATA%\Google\
Example:C:\Users\YourUserName\AppData\Local\Google\AndroidStudio4.1
CustomizedirectorylocationsforGroupPolicycontrolledenvironments
IfaGroupPolicylimitswhichdirectoriesyoucanexcludefromreal-time
scanningonyourcomputer,youcanmoveyourAndroidStudiodirectoriesto
oneofthelocationsthatthecentralizedGroupPolicyalreadyexcludes.
ThefollowinglistshowshowtocustomizethelocationofeachAndroidStudio
directory,whereC:\WorkFolderisthedirectorythat
yourGroupPolicyalreadyexcludes:
Gradlecache
DefinetheGRADLE_USER_HOMEenvironmentvariabletopointto
C:\WorkFolder\.gradle.
AndroidStudioprojects
Moveorcreateprojectdirectoriesinanappropriatesubdirectoryof
C:\WorkFolder.Forexample,
C:\WorkFolder\AndroidStudioProjects.
AndroidSDK
Followthesesteps:
InAndroidStudio,opentheSettingsdialog(Preferenceson
macOS),thennavigatetoAppearance&Behavior>SystemSettings>
AndroidSDK.
ChangethevalueofAndroidSDKLocationto
C:\WorkFolder\AndroidSDK.
ToavoiddownloadingtheSDKagain,makesuretocopytheexistingSDK
directory,locatedat%USERPROFILE%\AppData\Local\Android\SDKbydefault,
tothenewlocation.
AndroidStudiosystemfiles
Followthesesteps:
InAndroidStudio,clickHelp>EditCustomProperties.
AndroidStudiopromptsyoutocreateanidea.propertiesfileifyoudon't
alreadyhaveone.
Addthefollowinglinetoyouridea.propertiesfile:
idea.system.path=c:/workfolder/studio/caches/trunk-system
ContentandcodesamplesonthispagearesubjecttothelicensesdescribedintheContentLicense.JavaandOpenJDKaretrademarksorregisteredtrademarksofOracleand/oritsaffiliates.
Lastupdated2022-06-21UTC.
[{
"type":"thumb-down",
"id":"missingTheInformationINeed",
"label":"MissingtheinformationIneed"
},{
"type":"thumb-down",
"id":"tooComplicatedTooManySteps",
"label":"Toocomplicated/toomanysteps"
},{
"type":"thumb-down",
"id":"outOfDate",
"label":"Outofdate"
},{
"type":"thumb-down",
"id":"samplesCodeIssue",
"label":"Samples/codeissue"
},{
"type":"thumb-down",
"id":"otherDown",
"label":"Other"
}]
[{
"type":"thumb-up",
"id":"easyToUnderstand",
"label":"Easytounderstand"
},{
"type":"thumb-up",
"id":"solvedMyProblem",
"label":"Solvedmyproblem"
},{
"type":"thumb-up",
"id":"otherUp",
"label":"Other"
}]
Twitter
Follow@AndroidDevonTwitter
YouTube
CheckoutAndroidDevelopersonYouTube
LinkedIn
ConnectwiththeAndroidDeveloperscommunityonLinkedIn
MoreAndroid
Android
AndroidforEnterprise
Security
Source
News
Blog
Podcasts
Discover
Gaming
MachineLearning
Privacy
5G
AndroidDevices
Largescreens
WearOS
AndroidTV
Androidforcars
AndroidThings
ChromeOSdevices
Releases
Android11
Android10
Pie
Oreo
Nougat
Marshmallow
Lollipop
KitKat
DocumentationandDownloads
AndroidStudioguide
Developersguides
APIreference
DownloadStudio
AndroidNDK
Support
Reportplatformbug
Reportdocumentationbug
GooglePlaysupport
Joinresearchstudies
Android
Chrome
Firebase
GoogleCloudPlatform
Allproducts
Privacy
License
Brandguidelines
Getnewsandtipsbyemail
Subscribe
Language
English
BahasaIndonesia
Español–AméricaLatina
Português–Brasil
TiếngViệt
中文–简体
中文–繁體
日本語
한국어