A little problem with android5.x adaptation (NDK ERROR:SIGABRT)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.