Giter Site home page Giter Site logo

Comments (2)

Just4fun2021 avatar Just4fun2021 commented on June 2, 2024

那就是你多次初始了,应该是你手动调用checkAndInit后,又自动初始化一次,因为在InitProvider 中是没有检查是否初始化的。个人觉得直接抛异常对于前期库的开发有好处【容易找出问题点】,但对外开放后抛异常闪退对用户不友好,健壮性不好。
我开发的一个sdk 给接入方使用,因为接入方不按正常流程使用,使得抛异常闪退被说,所以后面我将所有可能不正常使用的流程都要考虑进去。要做到保姆级sdk。 这就好比正常你洗澡是要脱衣服的,但是如果有人忘记脱了衣服就湿了,那喷头就要能识别出洗澡的人有没有脱衣服【当然这只是打比方】。

from androidautosize.

ruanbaojun1105 avatar ruanbaojun1105 commented on June 2, 2024

@Just4fun2021 你真是个喷子,我放在开机自启中,而且我未调用任何初始化,就是用的框架自动启动初始化的,现在怀疑是系统优化的问题(我们做车机系统),现在用作者在其他issues问题下的方式:清单文件去掉框架自启初始化,手动调用。

from androidautosize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.