Issue
When I try
gradle(Right corner): My_project: app: click on tasks: android: signingReport
it doesn't give me any key or anything expected. I am not able to get SHA-1 key in Android Studio 2.3.1.
I get this:
Run build 761ms
Run init scripts 23ms
Configure settings 1ms
Configure build 343ms
Project : 343ms
Resolve dependencies :classpath 331ms
Calculate task graph 355ms
Project :app 352ms
Resolve dependencies :app:classpath 0ms
Resolve dependencies :app:_debugApk 78ms
Resolve dependencies :app:_debugCompile 12ms
Resolve dependencies :app:_releaseApk 14ms
Resolve dependencies :app:_releaseCompile 59ms
Resolve dependencies :app:_debugUnitTestApk 2ms
Resolve dependencies :app:_debugUnitTestCompile 2ms
Resolve dependencies :app:releaseWearApp 1ms
Resolve dependencies :app:wearApp 0ms
Resolve dependencies :app:_releaseUnitTestApk 1ms
Resolve dependencies :app:_releaseUnitTestCompile 1ms
Resolve dependencies :app:_debugAndroidTestApk 17ms
Resolve dependencies :app:_debugAndroidTestCompile 2ms
Run tasks 10ms
:app:signingReport 4ms
Thanks in advance.
Solution
Try following this:How to get the SHA-1 fingerprint certificate in Android Studio for debug mode?.
- Open Android Studio
- Open your Project
- Click on Gradle (From Right Side Panel, you will see Gradle Bar)
- Click on Refresh (Click on Refresh from Gradle Bar, you will see List Gradle scripts of your Project)
- Click on Your Project (Your Project Name form List (root))
- Click on Tasks
- Click on Android
- Double Click on signingReport (You will get SHA1 and MD5 in Run Bar)
- You can find it in the log of
Gradle Console
Answered By - karthik gorijavolu
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.