[英]when i generated the signed apk file and trying to run on other devices some fuction not working. can anyone have solution?
I am trying to run my android application on other devices, it installed properly but some XML file not working properly.我正在尝试在其他设备上运行我的 android 应用程序,它安装正确,但某些 XML 文件无法正常工作。 It works as I expected when I installed through USB debugging.
当我通过 USB 调试安装时,它可以正常工作。 I am trying to find solution for many days.
我试图找到解决方案很多天。 I don't get anything related to my issue.
我没有得到任何与我的问题相关的信息。
This must be the result of Obfuscation这一定是混淆的结果
Add this lines in your build.gradle在您的 build.gradle 中添加此行
buildTypes {
release {
...
debuggable false
shrinkResources false
minifyEnabled false
...
}
}
or you can add your files in pro-gaurd或者您可以在 pro-gaurd 中添加您的文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.