简体   繁体   English

在nitroous.io上安装软件包依赖项(Meteor的Android SDK)

[英]Installing package dependencies on nitrous.io (Meteor's Android SDK)

So right now I'm trying to install the Android SDK to test my Meteor app and play around with mobile development. 因此,现在我正尝试安装Android SDK来测试我的Meteor应用并进行移动开发。 "meteor install-sdk android" installs everything but the 32 bit libraries. “ meteor install-sdk android”将安装除32位库以外的所有内容。

~/workspace$ meteor install-sdk android                                                                                                          

✓ Found Android bundle ✓找到了Android捆绑包
✓ A JDK is installed ✓已安装JDK
✓ Found Android Platform tools ✓找到了Android平台工具
✓ Found Android Build Tools ✓找到了Android构建工具
✗ 32-bit libraries not found not找不到32位库
✓ Found Android 19 API ✓找到了Android 19 API
✓ Found suitable Android x86 image ✓找到合适的Android x86映像
✓ 'meteor' android virtual device (AVD) found ✓找到“流星” Android虚拟设备(AVD)
✗ Android emulator acceleration is not installed ✗未安装Android模拟器加速
(The Android emulator will be very slow without acceleration) (如果没有加速,Android模拟器将非常慢)
Platform requirements not yet met 平台要求尚未满足
Please follow the instructions here: 请按照以下说明进行操作:
https://github.com/meteor/meteor/wiki/Mobile-Dev-Install:-Android-on-Linux#libs32 https://github.com/meteor/meteor/wiki/Mobile-Dev-Install:-Android-on-Linux#libs32

So I try to apt-get it, but get a dpkg lock error. 因此,我尝试apt-get它,但收到dpkg锁定错误。

action@vigorous-trigger-81-209458:~/workspace$ sudo apt-get install --yes lib32z1 action @ vigorous-trigger-81-209458:〜/ workspace $ sudo apt-get install-是lib32z1

WARNING: sudo access is not available; 警告:sudo访问不可用; running without sudo. 没有sudo运行。

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E:无法打开锁文件/ var / lib / dpkg / lock-打开(13:权限被拒绝)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? E:无法锁定管理目录(/ var / lib / dpkg /),您是root吗?
action@vigorous-trigger-81-209458:~/workspace$ rm /var/lib/dpkg/lock action @ vigorous-trigger-81-209458:〜/ workspace $ rm / var / lib / dpkg / lock
rm: remove write-protected regular empty file /var/lib/dpkg/lock'? yes
rm: cannot remove
rm:删除受写保护的常规空文件/var/lib/dpkg/lock'? yes
rm: cannot remove
/var/lib/dpkg/lock'? yes
rm: cannot remove
/var/lib/dpkg/lock'? yes
rm: cannot remove
/var/lib/dpkg/lock': Permission denied
/var/lib/dpkg/lock'? yes
rm: cannot remove
/ var / lib / dpkg / lock':权限被拒绝

Is there any way that I can get these libraries installed on my Nitrous box so that I can run the android environment for Meteor? 有什么办法可以在Nitrous盒子上安装这些库,以便为Meteor运行android环境?

We launched a new version of Nitrous called "Nitrous Pro" in April 2015 that has root access. 我们在2015年4月推出了具有root访问权的Nitrous新版本,称为“ Nitrous Pro”。 You can check out some of the updates here: 您可以在此处查看一些更新:

https://pro.nitrous.io/whatsnew/ https://pro.nitrous.io/whatsnew/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM