I have an app that works fine in debug mode, but when I create a signed apk and install it on the same phone, some features do not work.
Is there a way to get console messages from the release version?
Thanks in advance.
@Matt If it is working fine in your simulator while running in debug mode then obviously it should work with your apk in mobile device as well. Actually elaborate your question.
In you release gradle build change to this
release {
multiDexEnabled true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
multiDexEnabled true
minifyEnabled false
shrinkResources false
}
hope this is helpful .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.