简体   繁体   中英

Apportable Setup

I've written a solution of how I got my project showing on my device using #Apportable, hope it helps someone.

get your android device ready plugged in and turned on:

  • If your not already an android developer do the following:
  • nexus 7>settings>about nexus 7>build number tap 6 times
  • exit out of menu go to Developer options>USB debugging >turn this on
  • **check usb is turned on :P or you will get errors!)**

  • now open command line:

  • iMac:~ Minty$ cd
  • drag and drop entire project folder onto command line tool screen
  • iMac:~ Minty$ cd /Users/Minty/Desktop/MyProjectFolder /
  • dont forget to add the back slash
  • iMac:MyProjectFolder Minty$ apportable load

console reads...Scanning build configuration for target MyProject

I had a couple of common errors.

  • No Java runtime present, requesting install.
  • fixed by loading http://support.apple.com/kb/DL1572?viewlocale=en_US
  • - know what version of cocos2d you are using
  • (Cocos2D 1.X uses ES1, 2.X uses ES2) choose [1/2]
  • portrait orientation? (default: choose)[L/p]
  • Should the app initially launch in landscape or portrait orientation?

console reads...Android device detected

console reads transfer complete pkg: /sdcard/MyProject-debug.apk

thats it you should now have it showing!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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