kitolog / cordova-plugin-animated-splashscreen

Mirror of Apache Cordova Plugin splashscreen
Apache License 2.0
7 stars 4 forks source link

error: failed linking file resources #2

Open leedorian opened 6 years ago

leedorian commented 6 years ago

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 commented 6 years ago

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 commented 5 years ago

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

mavilla-vishnu commented 5 years ago

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 compilinglaunch_screen.xml before the resources are generated to drawable folders from config.xml

Please fix this.

Regards, Vishnu

guyromb commented 5 years ago

Same here. Did anyone solve it?

TextEditorDS commented 5 years ago

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

naresrana commented 5 years ago

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

medo99 commented 4 years ago

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