Where is the root level and application level in the Cordova project

I am confused with the directory of paths at the root level and application level as indicated in thid docs https://firebase.google.com/docs/android/setup#available_libraries

There are 2 different build.gradle files that I need to modify. But in cordova projects there are 3 build.gradle. Which one should I edit?

./platforms/android/build.gradle
./platforms/android/CordovaLib/build.gradle
./plugins/cordova-plugin-firebase/src/android/build.gradle

FYI: I have a build error with FCM.

+4
source share
1 answer

It seems to have worked for me

  • Add the path to the file as build.gradle( project root > CordovaLib > build.gradleand project root > build.gradle)
  • Add the application level update to project root > build.gradle
  • Sync and Test

: Android

0

Source: https://habr.com/ru/post/1648109/


All Articles