CiderCS3398 / CS3398-Cider-S2017

CS3398 Team Github
0 stars 2 forks source link

Get RecipeAssistant to compile and run in the Android Studio emulator. #44

Closed sylchristian closed 7 years ago

sylchristian commented 7 years ago

I have been having some issues getting the RecipeAssistant to run in Android Studio and so spending an hour or two figuring out where the issues are will be vital if I want to contribute features to this software.

sylchristian commented 7 years ago

screenshot from 2017-03-01 15-17-01

I have managed to get Recipe Assistant to compile and run on my machine. I made a couple mistakes importing the project into Android Studio. First, I need to use the IDE to access only the one project I want to run without it opening everything in the Cider repo, thinking it is all part of one huge project. Secondly, the emulator needs to be running Google's API 25, which is the latest iteration of their emulated Android OS. Third, the c++ library that comes bundled with the software is actually out of date, and is not capable of running the newest emulator. The workaround I discovered involves launching the emulator separately and forcing it to use Ubuntu's system library through bash. After doing this, I was able to open the project in the IDE, and compile and run in on the emulator. This is a very good stopping point for sprint 1. From here, the next step is identifying what features we want to add, and deciding who will code them.