android strange crash
黄舟
黄舟 2017-06-13 09:23:47
0
1
852

I have encountered a very strange problem recently. In this way,

Click to run:

The command displayed by the gradle console is: Executing tasks: [:app:assembleRecticonRelease]
A package A is generated,

Then use the command line to execute the packaging command and generate a package B

Compare the two packages: the size of dex is the same, but the resource files under res are different. I don’t know what is the reason for this?


What’s even stranger is that package B keeps crashing on some Samsung machines, but package A does not. Both packages The layout file is the same, the error reported is:
android.view.InflateException: Binary XML file line #20: Error inflating class android.support.design.widget.CollapsingToolbarLayout

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
左手右手慢动作

You made a typo in the package. The correct command is gradlew assembleRecticonRelease
You can download gradlew tasks, and there is no such task at all

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template