<分区>
Android SDK Tools Only package包括官方 Android 模拟器和许多其他有用的东西。
这些工具的源代码并不难找到。但我正在寻找在 Windows 机器上安装这些工具的 NSIS 安装程序源代码的源代码。
请注意:我不是在寻找 Android Studio installer source code .相反,我正在寻找 SDK Tools Only 安装程序源代码。
它甚至可以在网络上的任何地方使用吗?
<分区>
Android SDK Tools Only package包括官方 Android 模拟器和许多其他有用的东西。
这些工具的源代码并不难找到。但我正在寻找在 Windows 机器上安装这些工具的 NSIS 安装程序源代码的源代码。
请注意:我不是在寻找 Android Studio installer source code .相反,我正在寻找 SDK Tools Only 安装程序源代码。
它甚至可以在网络上的任何地方使用吗?
最佳答案
我在 Android 问题跟踪器的一个问题中提到了我的请求。从 Google 的 David Herman 的回复来看,它似乎无法在线使用。他写道:
I'm not sure what the plans for the SDK installer are moving forward - it may get deprecated by the current installer, especially as we roll more and more functionality of the SDK into Android Studio. At the very least, I'll look into it and see if porting it over to AOSP is trivial or not.
For now, take a look at the BUNDLE_SDK define in the Android Studio installer. That tiny subset is likely similar to what the standalone SDK installer is doing anyway. (Basically, have a skeleton SDK somewhere on your computer and package it using NSIS).
Note that there were a lot of bug fixes and polish changes that went into our current installer, and I think the SDK installer is a fork of the old installer well before any of those changes went in. You may find more success taking the current installer and cutting out all scripting code related to the DIR_SRC define (which points to the source directory for getting a clean copy of Android Studio). This may even be a valid approach we take, moving forward, to obsolete the existing SDK installer (e.g. add a new BUNDLE_STUDIO define)
关于android - Android "SDK Tools Only"Windows NSIS 安装程序源代码是否可以在 Web 上的任何地方获得?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27699753/