【发布时间】:2019-08-22 02:37:05
【问题描述】:
我在 Appcelerator 项目中使用了 Luxon 库 (https://moment.github.io/luxon/docs/manual/install.html),但要在 Android 应用程序中拥有完整的时区功能,我需要安装 jsc-android-buildscripts (https://github.com/react-native-community/jsc-android-buildscripts)。
如何在我的项目中导入和配置它?有人可以帮助我吗?
【问题讨论】:
-
我尝试使用 npm install --save jsc-android 安装它并通过 var Intl = require('jsc-android'); 包含它但它不起作用。
-
fyi,就开发而言,视钛是一个 javascript/node 应用程序,而不是原生 android
标签: android titanium momentjs appcelerator luxon