I am using this example but still i need to write my fabric API key in AndroidManifest.xml
..
Asked
Active
Viewed 1,773 times
-2

alessandrio
- 4,282
- 2
- 29
- 40

user8073310
- 1
- 2
-
Welcome to stackoverflow. Please read this before you post your question https://stackoverflow.com/help/how-to-ask – Amit Phaltankar May 27 '17 at 07:07
1 Answers
0
Follow this steps:-
https://github.com/plastiv/CrashlyticsDemo/
mostly people have to problem run the gradle command line so you can use like this:
1) Open terminal.
2) Go to your project work space
3) ./gradlew
(Note if permission denies error use this command- chmod 744 gradlew and again run ./gradlew)
(4) ./gradlew assemble -P apiKey=Your fabric api key
Now you can fully secret your api key but remember one thing your fabric.properties looks like that
fabric.properties:-
apiSecret=”Your fabric secret key” apiKey=”Your fabric api key”
Enjoy! You dont need to write your fabric key in your AndroidManifest.xml....

Arish Khan
- 254
- 4
- 10
-
-
I am getting this error after removing key from manifeest Error:Execution failed for task ':app:fabricGenerateResourcesDebug'. > Crashlytics Developer Tools error. – VVB Aug 18 '17 at 01:08
-
As a heads up, you may need to disable Instant Run on Android Studio for this solution to work. – Will Dec 12 '17 at 20:03