未生成 Titanium SDK 压缩包
Titanium SDK zip package is not being generated
我下载了 Titanium SDK 并按照步骤从 here 在本地构建它。
根据指南,他们将构建 SDK 的方式更改为 here 中列出的方式。
但是当我尝试像这样执行构建时:
node scons.js build --android-ndk c:\Android\android-ndk-r9
--android-sdk c:\Android\SDK
控制台显示以下文本行:
Building MobileSDK version 6.1.0, githash 591555a You don't seem to
have the appropriate thirdparty files. I'll fetch them. This could
take awhile.. Might want to grab a cup of Joe or make fun of Nolan.
Downloading
http://timobile.appcelerator.com.s3.amazonaws.com/libTiCore-24.a.gz
100% [========================================] 0.0s
Gunzipping C:\Users\AGUSTN~1\AppData\Local\Temp7215-10132-d88fho.gz
to C:\Titanium\titanium_mobile\iphone\lib\libTiCore.a
它停在那里,当我去检查 dist 文件夹时没有找到 zip。
为什么没有生成 zip 并且没有抛出错误?
我设置了以下环境变量:
- ANDROID_SDK
- ANDROID_NDK
- 带有 NPM (3.83) 二进制文件路径的路径,Node.js (5.10.1),
git (2.8.1.windows.1), Python (2.7.13), Java (8 rev 77), Ant (1.9.7),
gperf (3.0.1)、$ANDORID_SDK/platform-tools 和 $ANDROID_SDK/tools
- JAVA_HOME(Java 8 转 77)
- ANDROID_PLATFORM(设置为 17)
- GOOGLE_APIS(设为23)
为什么没有打包SDK?
安装节点工具 titanium
和 appc
使用:
npm install titanium appc -g
为了编译SDK
我下载了 Titanium SDK 并按照步骤从 here 在本地构建它。
根据指南,他们将构建 SDK 的方式更改为 here 中列出的方式。
但是当我尝试像这样执行构建时:
node scons.js build --android-ndk c:\Android\android-ndk-r9 --android-sdk c:\Android\SDK
控制台显示以下文本行:
Building MobileSDK version 6.1.0, githash 591555a You don't seem to have the appropriate thirdparty files. I'll fetch them. This could take awhile.. Might want to grab a cup of Joe or make fun of Nolan. Downloading http://timobile.appcelerator.com.s3.amazonaws.com/libTiCore-24.a.gz
100% [========================================] 0.0sGunzipping C:\Users\AGUSTN~1\AppData\Local\Temp7215-10132-d88fho.gz to C:\Titanium\titanium_mobile\iphone\lib\libTiCore.a
它停在那里,当我去检查 dist 文件夹时没有找到 zip。
为什么没有生成 zip 并且没有抛出错误?
我设置了以下环境变量:
- ANDROID_SDK
- ANDROID_NDK
- 带有 NPM (3.83) 二进制文件路径的路径,Node.js (5.10.1), git (2.8.1.windows.1), Python (2.7.13), Java (8 rev 77), Ant (1.9.7), gperf (3.0.1)、$ANDORID_SDK/platform-tools 和 $ANDROID_SDK/tools
- JAVA_HOME(Java 8 转 77)
- ANDROID_PLATFORM(设置为 17)
- GOOGLE_APIS(设为23)
为什么没有打包SDK?
安装节点工具 titanium
和 appc
使用:
npm install titanium appc -g
为了编译SDK