Recently made an Android app, the test on the average phone is not a problem, but on Android5.0 and Android5.1 's phone, either installed or crashed to quit.
The installation error is the installation failure: Install_failed_duplicate_permission
Crash exit error is a run error: NDK ERROR:SIGABRT
Look at the first question, should be android5.x on the support of custom permissions, android5.x does not support multiple apps with the same custom permissions, so you have custom permissions in your app, you should be careful, it is difficult to ensure that other applications do not use this custom permission.
See the second question, should be an SDK incompatible android5.x caused.
First solve the first problem, I checked one side of the authority, only Baidu map of the location SDK used to customize permissions. I think Baidu map must know this problem, must have been updated and compatible. So I changed a new version of the Baidu Map SDK, and then the problem solved.
Then look at the second question, I use the SDK more than one test to exclude. As a result, I have no problem with the test! Baidu Map SDK seems to be the problem ^_^. Because I have changed, the problem will be gone.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
A little problem with android5.x adaptation (NDK ERROR:SIGABRT)