简体   繁体   English

当我生成签名的 apk 文件并尝试在其他设备上运行时,某些功能无法正常工作。 谁能有解决方案?

[英]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.

相关问题 已签名的APK,在某些设备中“未安装应用”以及在某些设备中,相同的apk正常运行 - Signed APK, “App not installed” in some devices, and in some devices same apk is working fine 成功生成了签名的Apk,但是当我尝试运行我的项目时,出现错误 - Generated signed Apk successfully but when I try to Run my project, I get an error 当签名密钥由 Google 生成时,我可以将使用上传密钥签名的 APK+OBB 上传到 Google Play 吗? - Can I upload an APK+OBB signed with upload key to Google Play when the signing key is generated by Google? apk无法在某些设备上运行 - apk fails to run on some devices 我在android studio中制作Build apk时发生Gradle错误,但能够在无法通过Build Apk生成apk文件的设备上运行 - Gradle error when i make a Build Apk in android studio, but am able to run on devices not able to generate apk file through Build Apk 签名的 apk 不适用于低于 7.1.* 的设备 - Signed apk not working on devices below 7.1.* 文件已存在。 当我尝试使我的.apk登录到android时发生错误 - File already exists. error occured when i am trying to make my .apk signed in android 我在尝试构建已签名的 APK 时遇到错误 - I have an error when I try to Build a signed APK 已签名的APK已生成,已安装但无法运行-Android Studio - Signed APK generated, installed but not working - Android Studio 如何在Android Studio中单击“运行”时部署签名的APK? - How can deploy signed APK when click Run in Android Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM