Issues that cannot be compiled after Android studio integrated Crashlytics

Source: Internet
Author: User

http://blog.csdn.net/zhuobattle/article/details/50555393

Problem Description:

After integration with fabric, the following error has occurred,

Error:Cause:hostname in certificate didn ' t match: <maven.fabric.io>! = <*.motili.com> OR <*. motili.com> OR <motili.com>Build.gradle Partial scripts (automatically generated by the fabric plugin):
Buildscript {    repositories {        maven {URL ' https://maven.fabric.io/public '}    }    dependencies {        Classpath ' io.fabric.tools:gradle:1.+ '    }}apply plugin: ' com.android.application ' Apply plugin: ' Io.fabric ' Repositories {    maven {URL ' https://maven.fabric.io/public '}}

Take a closer look at the Https://maven.fabric.io/public website certificate (such as), the site specified in the certificate is *.motili.com, obviously wrong, do not know how this plugin is generated.

Studio failed to complete the certificate verification in the request Https://maven.fabric.io/public, so the direct error, and the settings to remove the HTTPS certificate is not possible.

Then send the support email to ask why, after 3 days to reply, reply content as follows:

[HTML]View PlainCopy 
    1. Hey there,
    2. is chance connecting through a proxy server, or is you behind a firewall?
    3. Cheers,
    4. Bear
    5. Helpful? Click to give Bear Douglas thanks!



There is no actual content, is the support response too slow, or support simply has not attached importance to this piece of crashlytics.


Cause of the problem:

Https://maven.fabric.io/public cannot access (certificate does not match), then in fact, as long as the URL to replace it, the following found can be replaced by:
Https://twittersdk.artifactoryonline.com/twittersdk/public

Build.gradle Direct replacement can be changed to:

[Java]View PlainCopy 
  1. Buildscript {
  2. repositories {
  3. Maven {URL ' https://twittersdk.artifactoryonline.com/twittersdk/public '}
  4. }
  5. dependencies {
  6. Classpath ' io.fabric.tools:gradle:1.+ '
  7. }
  8. }
  9. Apply plugin: ' com.android.application '
  10. Apply plugin: ' io.fabric '
  11. repositories {
  12. Maven {URL ' https://twittersdk.artifactoryonline.com/twittersdk/public '}
  13. }



Another personal use of crashlytics some feelings:

1. Fabric.io interface, Crash Analysis function is full, unfortunately there is no anr/test, this piece is a bit weak.

2. Although there are studio plug-ins, but the studio integration speed is too slow, foreign sites are often not go, anyway, that plugin point button half a day did not respond

3.gradle compile connection It's very slow to download the AAR library, so be patient.

4. Login Fabric.io View data is sometimes very card, too slow, for the developers to go quickly to see the data is very unfriendly

5. The interface layout is a bit too miscellaneous, many times let the user at a loss, do not know where the point.

6. Collect some crash somehow garbled, can't see the original data

Issues that cannot be compiled after Android studio integrated Crashlytics

Related Article

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.