For the default ApplicationID in Build.gradle in Android Studio, do you want to write it?

Source: Internet
Author: User

    1. Cause

        1. Just completed a version of the development. Just on Google Play there is a user response that cannot update the app.
          The error code is: Can ' t install App "* * *" can ' be installed. Try again, and if the problem Continues,get help toubleshooting. (Error code:-505)
    2. Solution Ideas
        1. Getting such a bug certainly feels baffling. Because the development phase has been no problem. But it has to be solved.
        2. First go to Baidu or google this keyword "Google Play Error code:-505"
          1. Get similar Http://wikitechsolutions.com/12401/unknown-error-code-505-in-google-play-solution
            1. This one says it is a question of permission. It is advisable to remove the extra permission. (But the problem is not resolved)
          2. http://stackoverflow.com/questions/34618123/android-play-store-error-505
            1. This is said to be related to provider's Android:authorities property.
              1. Can only try, with as search "<provider" found really, but that Androidmanifest.xml is in play-services-measurement.
              2. Discover this ${applicationid}, how can you declare this in AAR?
              3. Because there is this ${applicationid}, so had to start the project in Build.gradle configuration

              4. and then in packaging. Try again. Then there was no problem.
    3. Conclusion
        1. This problem arises. In fact, I was not using as as the IDE in the final analysis. (I also use eclipse)
        2. Google's side to promote as, actually in the Google Play service kind of such a bug.
          ${applicationid} is not a suitable way to use eclipse development.
          So you can only copy the Androidmanifest.xml that contains this code into your startup project, and then change the package name to your project.
          (I'm going to have this problem, too.) Because that GCM push function is not my integrated input purpose, ha ha, can rely on it. )
        3. Finally, say something. According to the intelligence of now as. It's possible that you may have problems with anything that you configure later.
          So if you want to step up Android, some things don't get too smart. hahaha.

For the default ApplicationID in Build.gradle in Android Studio, do you want to write it?

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.