Android 配置正式签名和debug签名


为了测试微信分享,微信分享必须有签名信息才能成功调用微信,所以需要debug 下设置签名,方便调试
build.gradle里,配置2个签名: signingConfigs { release { keyAlias 'xxx' keyPassword 'xxx' storeFile file('../xxx.keystore') storePassword 'xxx' } debug { keyAlias 'androiddebugkey' keyPassword 'android' storeFile file('./xxx.keystore') storePassword 'android' } buildTypes { debug { signingConfig signingConfigs.release } release { signingConfig signingConfigs.release } }

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM