pazaan / 600SeriesAndroidUploader

Your Medtronic 600-series pump data, direct to Nightscout
http://pazaan.github.io/600SeriesAndroidUploader/
MIT License
189 stars 311 forks source link

Configuring Crashlytics? (App Crashing Immediately) #171

Closed aboncher closed 6 years ago

aboncher commented 6 years ago

Your Environment

Brief Explanation of Issue

I'm having trouble running the project on a stable branch, even after doing my best to follow readme.md. I created a Crashlytics account and installed the plugin. I can build the project with no issues, but when I Run->'app' on my phone the app crashes immediately. Debug output says an issue with the Crashlytics configuration. "This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up, install an Android build tool and ask a team member to invite you to this app's organization."

Do I need some sort of access to use this plugin? I feel like I overlooked something easy :/

Uploader Error Code

See Attached Debug Log

Steps to Reproduce (for bugs)

I tested this on a fresh install. 1.) Installed Android Studio

2.) Install Android SDK Platform 25 & Build Tools

3.) Configure Environmental Variable for BugFender

4.) Install Crashlytics plugin "please build and run your app"

5.) Build Project & Run

Severity Score

1 crashlytics_failure.txt

Thank you!

aboncher commented 6 years ago

Solved.

I had to configure crashlytics by using a .properties file instead of editing the manifest file.

This issue is addressed in readme.md (below), but my reading was that it was an optional configuration step to prevent sharing your API key.


If you're considering sharing your changes, or are using a non-private Github repository, you should remove this change in app/src/AndroidManifest.xml and copy the value as apiKey property to file app/fabric.properties instead.

pazaan commented 6 years ago

This has been changed in one of the dev branches, and will be in master in the next few weeks.

aboncher commented 6 years ago

Thanks :)