-
Notifications
You must be signed in to change notification settings - Fork 1
Troubleshoot
Kalle Johansson edited this page Dec 20, 2020
·
5 revisions
This is probably due to your fingerprint not being added to the android app on Firebase. Supply someone in the team that has Firebase access with your SHA-1.
Follow the following instructions to find your SHA1 key.
Note: You need to have Java installed.
- Run
keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore - Enter the default password
android - Copy
Certificate fingerprint: SHA1: <YOUR SHA1>
- Navigate to the android folder situated inside the project folder. For example:
cd C:\Users\Root\Documents\Development\projects\dibbs\android - Run
.\gradlew.bat signinReport - Copy the
SHA1: <YOUR SHA1>underdebugUnitTest
Detailed instructions can be found here.
- Right click on start-button and open "System"
- Search for "Advanced system settings" and open it
- Click the button "Environment Variables ..."
- In System Variables, click "New..."
- New Variable Name: _JAVA_OPTIONS
- New Variable Value: -Xmx512M
- Click OK
- Restart Visual Studio, so the variable is picked up
For further reading see this Stackoverflow question
Run sudo xattr -d com.apple.quarantine /Users/kallejohansson/development/flutter/bin/cache/artifacts/usbmuxd/iproxy
Detailed instructions can be found here.
Go to About This Mac > Storage > Manage > Developer and delete everything there.
Run this script.
This is safe since everything that is needed will be recreated once you run the app again.