Parsing the SDK, no caching allowed

128 views
Skip to first unread message

Tomáš Procházka

unread,
Jan 4, 2019, 7:18:50 PM1/4/19
to adt-dev
I have a small question.

Why is necessary do this for every gradle run and in configuration phase? It takes 11s on my computer with a fast SSD disk.
I don't see any reason why it needs to know about add-ons or emulator images when I want just to build the app.
And everything in Gradle build is cached what this not?


Parsing the SDK, no caching allowed
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-15\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-16\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-17\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-18\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-19\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-21\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-22\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-23\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google-24\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis-google_inc-10\package.xml
Parsing C:\PJazyky\_Android\SDK\add-ons\addon-google_apis_x86-google-19\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\25.0.0\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\25.0.2\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\25.0.3\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\26.0.0\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\26.0.1\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\26.0.2\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\27.0.0\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\27.0.1\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\27.0.2\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\27.0.3\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\28.0.0-rc2\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\28.0.2\package.xml
Parsing C:\PJazyky\_Android\SDK\build-tools\28.0.3\package.xml
Parsing C:\PJazyky\_Android\SDK\docs\package.xml
Parsing C:\PJazyky\_Android\SDK\emulator\package.xml
Parsing C:\PJazyky\_Android\SDK\extras\android\gapid\package.xml
Parsing C:\PJazyky\_Android\SDK\extras\google\usb_driver\package.xml
Parsing C:\PJazyky\_Android\SDK\extras\google\webdriver\package.xml
Parsing C:\PJazyky\_Android\SDK\lldb\2.2\package.xml
Parsing C:\PJazyky\_Android\SDK\lldb\2.3\package.xml
Parsing C:\PJazyky\_Android\SDK\lldb\2.4\package.xml
Parsing C:\PJazyky\_Android\SDK\lldb\3.0\package.xml
Parsing C:\PJazyky\_Android\SDK\lldb\3.1\package.xml
Parsing C:\PJazyky\_Android\SDK\patcher\v1\package.xml
Parsing C:\PJazyky\_Android\SDK\patcher\v3\package.xml
Parsing C:\PJazyky\_Android\SDK\patcher\v4\package.xml
Parsing C:\PJazyky\_Android\SDK\platform-tools\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-10\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-14\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-15\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-16\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-17\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-18\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-19\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-21\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-22\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-23\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-24\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-25\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-26\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-27\package.xml
Parsing C:\PJazyky\_Android\SDK\platforms\android-28\package.xml
Parsing C:\PJazyky\_Android\SDK\samples\android-22\package.xml
Parsing C:\PJazyky\_Android\SDK\samples\android-23\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-14\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-16\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-17\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-18\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-19\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-20\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-21\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-22\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-23\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-24\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-25\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-26\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-27\package.xml
Parsing C:\PJazyky\_Android\SDK\sources\android-28\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-14\default\armeabi-v7a\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-15\default\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-16\default\armeabi-v7a\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-16\google_apis\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-17\default\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-18\default\armeabi-v7a\package.xml
Parsing legacy package: C:\PJazyky\_Android\SDK\system-images\android-18\default\x86
Parsing C:\PJazyky\_Android\SDK\system-images\android-19\google_apis\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-21\google_apis\armeabi-v7a\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-21\google_apis\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-22\android-tv\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-22\google_apis\x86_64\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-23\android-tv\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-23\google_apis\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-24\default\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-24\google_apis\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-24\google_apis\x86_64\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-24\google_apis_playstore\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-25\android-tv\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-25\google_apis\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-26\google_apis\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-26\google_apis_playstore\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\system-images\android-27\google_apis_playstore\x86\package.xml
Parsing C:\PJazyky\_Android\SDK\tools\package.xml
SDK initialized in 11068 ms

Jerome Dochez

unread,
Jan 5, 2019, 5:38:04 PM1/5/19
to adt-dev
Hi Tomas

We are looking into this issue as we speak. The intent is to improve overall parsing time and be a lot more lazy/targeted to only load what we need. So in short, we are aware and working on it, it should eventually materialize in the 3.5 release.

Thanks, Jerome

--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tomáš Procházka

unread,
Jan 6, 2019, 5:55:19 PM1/6/19
to adt-dev
Thanks a lot! I deleted the whole folder and download only what I really need and it also helps a lot, meantime.

Dne sobota 5. ledna 2019 23:38:04 UTC+1 Jerome Dochez napsal(a):
Reply all
Reply to author
Forward
0 new messages