This is a demo with Baidu Push and FCM Push
Error List
-
Can't find google()
- Download the latest gradle.(need 4.1+)
- Set the project gradle to the latest gradle.
- Change the
classpath 'com.android.tools.build:gradle:2.3.0'
to
classpath 'com.android.tools.build:gradle:3.0.1'
- Sync the project
- If you use the old version IDE, you need revert the previous step