简体   繁体   English

Apportable设置

[英]Apportable Setup

I've written a solution of how I got my project showing on my device using #Apportable, hope it helps someone. 我已经编写了一个解决方案,说明如何使用#Apportable在我的设备上显示我的项目,希望它可以帮助某人。

get your android device ready plugged in and turned on: 让你的Android设备准备好插入并打开:

  • If your not already an android developer do the following: 如果您还不是Android开发人员,请执行以下操作:
  • nexus 7>settings>about nexus 7>build number tap 6 times nexus 7>设置>关于nexus 7>内置号码点击6次
  • exit out of menu go to Developer options>USB debugging >turn this on 退出菜单进入开发人员选项> USB调试>打开它
  • **check usb is turned on :P or you will get errors!)** **检查usb已打开:P或您将收到错误!)**

  • now open command line: 现在打开命令行:

  • iMac:~ Minty$ cd iMac:~Minty $ cd
  • drag and drop entire project folder onto command line tool screen 将整个项目文件夹拖放到命令行工具屏幕上
  • iMac:~ Minty$ cd /Users/Minty/Desktop/MyProjectFolder / iMac:~Minty $ cd / Users / Minty / Desktop / MyProjectFolder /
  • dont forget to add the back slash 别忘了添加反斜杠
  • iMac:MyProjectFolder Minty$ apportable load iMac:MyProjectFolder Minty $ apportable load

console reads...Scanning build configuration for target MyProject 控制台读取...扫描目标MyProject的构建配置

I had a couple of common errors. 我有几个常见的错误。

  • No Java runtime present, requesting install. 没有Java运行时,请求安装。
  • fixed by loading http://support.apple.com/kb/DL1572?viewlocale=en_US 通过加载http://support.apple.com/kb/DL1572?viewlocale=en_US修复
  • - know what version of cocos2d you are using - 知道你正在使用什么版本的cocos2d
  • (Cocos2D 1.X uses ES1, 2.X uses ES2) choose [1/2] (Cocos2D 1.X使用ES1,2.X使用ES2)选择[1/2]
  • portrait orientation? 纵向? (default: choose)[L/p] (默认:选择)[L / p]
  • Should the app initially launch in landscape or portrait orientation? 应用程序最初是以横向还是纵向方式启动的?

console reads...Android device detected 控制台读取...检测到Android设备

console reads transfer complete pkg: /sdcard/MyProject-debug.apk 控制台读取传输完成pkg:/sdcard/MyProject-debug.apk

thats it you should now have it showing! 多数民众赞成你现在应该让它显示出来!

我用我的回答编辑了上面的帖子,希望它可以帮助别人

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

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