Install-sdk android HELP!

Hi All,

I’ve a complete n00b on meteor but i am loving it. I installed and did the tutorial about a month ago and everything was workign fine. even deployed to an android device from my mac!! yey :smile:

Anyway, I’ve done a few other tuts and mucked around with a coupole of packages and wanted to run these on the emulators (and device) but all of the things android are now broken :frowning:

when i try to meteor install-sdk android it tells me to follow the steps at https://github.com/meteor/meteor/wiki/Mobile-Development-Install:-Android-on-Mac Which I have done but now it tells me:

ERROR : No emulator images (avds) found.

  1. Download desired System Image by running: /Users/Tony/Library/Android/sdk/tools/android sdk
  2. Create an AVD by running: /Users/Tony/Library/Android/sdk/tools/android avd
    HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver

I dont know what this means or how to fix it. I followed the download option but have no idea what to download or how to create an AVD.

All this was working (and still works on my old projects) but on new ones no luck.

Any help greatly appreciated.

Cheers
T

What do you mean exactly by ‘I followed the download option but have no idea what to download or how to create an AVD.’

I’d like to improve our documentation, so could you tell me which of the steps are unclear to you, or what isn’t working? Did you download Android Studio, ran the configuration wizard, and installed the SDK 22 platform?

I finally figured it out. I installed android studio and then SDK22. I then mucked around with the AVD manager and figured out how to create 1 that worked.

Martijn,

I followed a similar path and got stuck as well. I was doing great with the instructions here: https://www.meteor.com/tutorials/angular/running-on-mobile. I was able to get the ios emulator running just fine. I decided to go on to the android one as well.

The root issue I think is that there is no avd created at the point we try run “meteor run android”. Did an avd used to be created as part of the Android Studio configuration wizard?

ds

1 Like

I’ve found that overall using Gennymotion works 10x better and then you would just do a meteor run android-device