Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No resource found that matches the given name (at 'resource' with value '@xml/provider_paths'). #43

Closed
vovikdrg opened this issue Oct 1, 2017 · 5 comments

Comments

@vovikdrg
Copy link
Contributor

vovikdrg commented Oct 1, 2017

I am getting error

platforms\android\build\intermediates\manifests\full\armv7\debug\AndroidManifest.xml:55: error:
Error: No resource found that matches the given name (at 'resource' with value '@xml/provider_paths').



cli packages: (C:\Projects\flymark-offline\flymark-judging\node_modules)

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.7.1

System:

Android SDK Tools : 26.1.1
Node              : v6.11.2
npm               : 5.2.0
OS                : Windows 10

Misc:

backend : legacy
@vovikdrg
Copy link
Contributor Author

vovikdrg commented Oct 1, 2017

I solved my problem by

Defining xml file

resources/xml/provider_paths.xml

<paths xmlns:android="http://schemas.android.com/apk/res/android">
    <external-path name="external_files" path="."/>
    <files-path name="files" path="."/>
</paths>

Then inside config.xml > platform android insert
<resource-file src="resources/xml/provider_paths.xml" target="res/xml/provider_paths.xml" />

After some reading its possible to add this to be part of plugin https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file

I can try to do pull request if you want

@vovikdrg
Copy link
Contributor Author

vovikdrg commented Oct 1, 2017

Duplicate of #40

@vovikdrg
Copy link
Contributor Author

vovikdrg commented Oct 1, 2017

It seems that your pull request did not fixes since i am on "cordova-plugin-app-update": "^1.3.11",

@vaenow
Copy link
Owner

vaenow commented Oct 2, 2017

@vovikdrg it's very appreciate for your pull request

@vaenow vaenow closed this as completed Oct 8, 2017
vovikdrg added a commit to vovikdrg/cordova-plugin-app-update that referenced this issue Oct 11, 2017
vaenow added a commit that referenced this issue Oct 11, 2017
vaenow added a commit that referenced this issue Oct 11, 2017
@GurdeepAgam
Copy link

solution provided by vovikdrg works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants