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: failed linking file resources #2

Open
leedorian opened this issue Jul 30, 2018 · 7 comments
Open

error: failed linking file resources #2

leedorian opened this issue Jul 30, 2018 · 7 comments

Comments

@leedorian
Copy link

leedorian commented Jul 30, 2018

Hi,
When build app, got error:

:app:processDebugResources/Users/Works/myrepo/game/cordova/platforms/android/app/src/main/res/drawable/launch_screen.xml:12: AAPT: error: resource drawable/animated_splash (aka cn.joycells:drawable/animated_splash) not found.

/Users/Works/myrepo/game/cordova/platforms/android/app/src/main/res/drawable/launch_screen.xml:12: error: resource drawable/animated_splash (aka cn.joycells:drawable/animated_splash) not found.
error: failed linking file resources.

Regards,
Dorian

@lizqjue
Copy link

lizqjue commented Jul 31, 2018

Dear Nikita,

I'm getting the same error when tying to compile Android application with the Android version of the plugin.

<source-file src="src/android/xml/launch_screen.xml" target-dir="res/drawable" />

This line in the plugin.xml is copying a xml file which looks for a file which doesn't exist.

Could you please fix the Android plugin?

Thank you very much for your work,

Kind regards,

Luis

@dsitn201703
Copy link

I'm getting the same error, could you please tell me how you solve this problem? @leedorian @lizqjue

@mavilla-vishnu
Copy link

Hi,

Great plugin you have developed but getting the same error as above when built on Phonegap cloud. But working fine when built using cordova CLI and running on Android studio.
I think phonegap is compiling launch_screen.xml before the resources are generated to drawable folders from config.xml

Please fix this.

Regards,
Vishnu

@guyromb
Copy link

guyromb commented Nov 14, 2018

Same here. Did anyone solve it?

@TextEditorDS
Copy link

Hi guys, I am having same trouble, have someone figgured out how to use this plugin?

@naresrana
Copy link

Hi, I am getting the same error while trying to build the application. Please confirm if anyone is able to resolve the issue.

@medo99
Copy link

medo99 commented Sep 24, 2019

i solved it by create drawable file inside the android platform but the problem that first no transfer to the images slides and second when i add it as gif it display it but without any animation

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

8 participants