更新时间:2022-04-29 22:54:15
也许问题与apk的签名有关.如果使用debuggable true
,则将使用通用调试密钥库对您的应用程序进行签名,并且一切正常.
相反,如果将其删除,则必须提供
Maybe the problem is related to the signing of the apk. If you use debuggable true
then your app is signed with a generic debug keystore and everything works correctly.
Conversely, if you remove it you have to provide
storeFile file("myreleasekey.keystore")
storePassword "password"
keyAlias "MyReleaseKey"
keyPassword "password"
更多信息在这里:
https://developer.android.com/studio/build/build-variants.html#build-types
【Android 安装包优化】Android 中使用 SVG 图片 ( 使用 appcompat 支持库兼容 5.0 以下版本的 Android 系统使用矢量图 )
与项目“:app"中的依赖项"com.android.support:support-annotations"冲突.应用(26.1.0)和测试应用(27.1.1)的已解决版本不同.
无法解析android.support.v4.app.Fragment(版本21.0.3)Android Studio中的方法getContext()
无法解析 android.support.v4.app.Fragment(版本 21.0.3)Android Studio 中的方法 getContext()