Android 应用程序在棉花糖和棒棒糖或牛轧糖中完美运行,但在奇巧中不起作用 [英] Android app working perfect in marshmallow and lollipop or nougat but it does not work in kitkat

查看:42
本文介绍了Android 应用程序在棉花糖和棒棒糖或牛轧糖中完美运行,但在奇巧中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的 android 应用程序中,它适用于棉花糖或更高版本,但不适用于奇巧.我已经设置了 minSdkVersion 15 targetSdkVersion 25.当我在 kitkat 版本 API 19 中测试时,不幸的是应用程序停止了.我出错了.我附上错误日志.帮我.先感谢您.

In my android app, It's worked on marshmallow or higher version but not in kitkat. I already set minSdkVersion 15 targetSdkVersion 25. When I test in kitkat version API 19 App is unfortunately stopped.I got error. I attache error log. Help me. Thank you in advance.

推荐答案

看起来这个问题是由 Multidex 编译器引起的.您可能需要为版本 <21.

It looks like that this problem is caused by the Multidex compiler. You may need to configure your App properly for Android Phones with a version <21.

您必须创建自己的应用程序类并在 Manifest xml 文件中注册该类

You have to create your own application class and register this class at the Manifest xml file

这篇关于Android 应用程序在棉花糖和棒棒糖或牛轧糖中完美运行,但在奇巧中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆