For the things that need doing, and the people that can help.
Migrating away from Gradle project:
-
Close your existing project.
-
git clean your current repo
-
git checkout this branch
-
Reimport the project into Android Studio. Do not choose Gradle/Maven type of build.
-
Setup your Project Structure->Modules->Tahoe as such (i.e. make sure you have Google Play Services + Facebook module added as a Dependency:
-
Add the Google Play and Facebook module as a dependency to the Tahoe module (look for the + sign at the right side):
You should see under Tahoe Google Play Services + Facebook added and the Export button clicked:
-
Make sure to mark the Google Play Services as a Library module. Otherwise, you may get NoClassDefError issues for com.google.android.gms.R$styleable.
If you get NoClassDef exceptions for the Google Play or Facebook, make sure you have made sure you followed steps 6 & 7.
-
Add AndroidMapsUtils as a module:
Google Play Services module + google-play-services.jar need to be added as dependencies to AndroidMaps Utils
-
Mark this module as export as library:
-
Add to the dependency list:
If not, Add as Library -- in Linux, I trigger the right click.
-
One useful tip -- inside Edit->Run Configurations, make sure to clear LogCat per run. It's often easy to get confused of stack traces:
-
Make sure to friend Jon Azoff and become a joint developer on his app.
You may need to go to https://developers.facebook.com/apps and look for the tiny yellow bar.
See the part on https://developers.facebook.com/docs/android/getting-started/ and add your hash to the developer app:
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 You will be prompted for a password. This should be 'android' without quotes. You'll then be given a key hash of 30 characters or so. (If you are not prompted for a password, something is wrong and you must check your paths above to ensure the debug.keystore is present.)
-
Add your hash also to the Google API console (https://code.google.com/apis/console/b/1/?pli=1#project:261246281766:access)```
-
Setup your GPS coordinates in Genymotion.
We are using the Roboto font styles.
Use <com.lake.tahoe.CustomTextView> and <com.lake.tahoe.CustomEditText> instead of TextView and EditText so you can keep our fonts consistent in the app. If you need to extend to other Android Views, take a look at the views/ directory.