pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
314 stars 587 forks source link

Could not get unknown property '''ANDROID_SUPPORT_V4_VERSION''' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler #239

Closed PidkovychVladyslav closed 5 years ago

PidkovychVladyslav commented 5 years ago

Hi, i am facing an issue while building cordova app:

Could not get unknown property '''ANDROID_SUPPORT_V4_VERSION''' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Android target: android-26 Android project created with cordova-android@6.3.0 I am using version @2.0.3 or above and getting this error.

While using @2.0.2 it builds app fine but with this version I am facing issue with old android devices: Error openening file file:///storage/emulated/0/Android/data/io.ionic.starter/files/... exposed beyond app through Intent.getData()

Tried to add opener_paths.xml manually but that caused my app not to launch at all. So I have got hope to update to @2.1.0 to get vesrion with opener_paths

PidkovychVladyslav commented 5 years ago

I have got this one fixed by updating to @2.0.19 Error openening file file:///storage/emulated/0/Android/data/io.ionic.starter/files/... exposed beyond app through Intent.getData()