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