Wednesday, March 29, 2017

Setting Emulator in Android Studio

1)      Open Android Studio
2)      Go to Tools -> Android -> AVD Manager



3)      Click Create Virtual Device (chose whatever device you want, but I would suggest to choose the defaults for the first time)



4)      Please note the error for HAXM on the right side of the window.



5)      Install Haxm by clicking the link in the window. It would install automatically if you have Admin rights.

6)      Close the Create Virtual Device & then open again to reflect the changes for Haxm software

7)      Click Next – Next until the last step and Finish the creation.

Note: Mobile settings like memory, RAM can be modified in the intermediate steps. But as I said, it is better to leave as default for now. Also we can change the OS version (android 6 or 7), but for that we have to download respective packages in Android Studio.

8)      You will see the below window:



9)      Click on the Play icon under Actions column. You would see the below images:



10)   Now, go to the Command prompt into Android SDK’s platform-tools directory, and run the command “adb devices” to see the Emulator in that.



11)   That’s it now we can go into the EK Project’s “MyTripsV2.0” folder and run the below command(s):
calabash-android resign APP-Rajatt-Feb-12.apk
12)   Followed by,
calabash-android run APP-Rajatt-Feb-12.apk

It would be very slow because all the PC’s are having 4GB RAM, so wait patiently until the Emirates app opens up in the Emulator.

No comments:

Post a Comment

CTS Outlook Configuration

You can configure outlook using the below settings. 1) Open Control panel and select Mail 2) Select show profile now 3) Select A...