Crashlytics could not parse the Android Project structure
I've had the same error after restructuring the resources of my flavors.
You have to make sure that every flavor has a res
folder inside it. Even if the flavor has no own resources. After adding some empty folders the build did succeed again.
Example:
/App
/src
/flavor1
/res <--
/flavor1Release
/res <--
/flavor2
/res <--
/main
/res <--
The solution for me was this:
- To hard code the fabric key in the AndroidManifest.xml rather than referencing it as a string in the strings.xml file.
- To add an empty "res" folder inside my "main" folder.