GitHub user breautek added a comment to the discussion: Cordova Plugin File 
doesn't work on Android 13

To put knowledge here...

android/build.gradle is the "project" gradle and app/build.gradle & 
CordovaLib/build.gradle are "modules" for the application and Cordova framework 
respectively.

`app/build.gradle` is the proper place for app dependencies and is what the 
`<framework>` entries in `plugin.xml` would manipulate.

With that being said, I'm not sure on the cause of the original error:

> Could not find method implementation() for arguments 
> [androidx.documentfile:documentfile:1.0.1] on object of type 
> org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler."

If you can open the native project in Android Studio, perhaps the IDE can give 
more details. (Just don't update AGP / Android Gradle Plugin)

GitHub link: 
https://github.com/apache/cordova/discussions/424#discussioncomment-7136302

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to