Meteor Android Virtual Device

106 views
Skip to first unread message

Omar Lamarca

unread,
Nov 6, 2014, 5:14:35 PM11/6/14
to meteo...@googlegroups.com
Hi,

I want to change the AVD on my meteor Android Emulator, because i can only open android 4.4 and i would really like to design my app using 5.0 Lollipop.

If you could give me some clues or advice it would be appreciated.

Thanks.

Omar. 

Justin Santa Barbara

unread,
Nov 7, 2014, 2:38:50 PM11/7/14
to meteo...@googlegroups.com
Hi Omar,

So if you want to run against a custom AVD (e.g. running Android Lollipop), you can "export METEOR_AVD=myavdname".  We will not create the AVD for you when you specify a different name (as we figure that's the whole reason you're specifying a different name!)

To create your own AVD, it is probably easiest to download and install your own copy of the Android SDK.  (https://developer.android.com/sdk/index.html?hl=i; you probably want 'SDK Tools Only' from the 'View all downloads and sizes' section).

Once you have installed the SDK, create a Lollipop AVD using "android avd".  If you're on a mac, keep the RAM allocation to less than what you installed the HAXM accelerator (I recommend 1024MB).

Finally, "export USE_GLOBAL_ADK=t" and then try "meteor run android".  This should use your Lollipop AVD.

A deeper question is what you're actually trying to do.  Are you trying to use a Lollipop specific API?  Presumably that would be through a Cordova plugin and - to be honest - I'm not quite sure how that works.

Let us know how it goes!

Justin
Reply all
Reply to author
Forward
0 new messages