Telegram source code compile error

北城余情 提交于 2019-12-09 03:07:31

Goto build.gradle (Module level).

Replace

buildTypes {
    debug {
        debuggable true
        jniDebuggable true
        signingConfig signingConfigs.debug
        applicationIdSuffix ".beta"
    }
...
}

with

buildTypes {
    debug {
        debuggable true
        jniDebuggable true
        signingConfig signingConfigs.debug
    }
...
}

I have the same problem.

You won't be able to just compile and run telegram from source simply because google-services.json is not on repo.

UPDATE

No matching client found for package name

means that in the google-services.json the client package name doesn't match your application package.

You will need to generate a google-services.json file for each app package (for example if you change package name in flavour configuration)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!