美文网首页
百度地图申请SHA1

百度地图申请SHA1

作者: _离不开 | 来源:发表于2018-05-23 16:34 被阅读21次

第一步、打开Android Studio的Tools->Open Terminal...

第二步、输入命令:keytool -v -list -keystore keystore.jks

【一定要记得加上 -v 参数,不然只能看到SHA1,没有MD5】【keystore.jks

打正式包报错

Error:Execution failed for task ´:app:lintVitalRelease´.> Lint found fatal errors while assembling a release target. To proceed, either fix the issues identified by lint, or modify your build script as follows: ...

 android { 

         lintOptions { 

                 checkReleaseBuilds false

                  // Or, if you prefer, you can continue to check for errors in release builds,          

                // but continue the build even when errors are found:          

                abortOnError false

          }  

}

解决方案:

lintOptions { 

         checkReleaseBuilds false

        abortOnError false

    }

相关文章

网友评论

      本文标题:百度地图申请SHA1

      本文链接:https://www.haomeiwen.com/subject/uuorjftx.html