You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a lot of errors like this and fileas are not copied: Error occurred while copying resources/android/splash/drawable-land-mdpi-screen.png
In verbose mode I can see that wrong path is used for generated resource files.
cordova-res:native Copying generated resource from 'resources/android/splash/drawable-land-mdpi-screen.png' to 'android/app/src/main/res/drawable-land-mdpi/splash.png'
cordova-res -v
0.15.1
File structure:
With upper file structure, using command
I get a lot of errors like this and fileas are not copied:
Error occurred while copying resources/android/splash/drawable-land-mdpi-screen.png
In verbose mode I can see that wrong path is used for generated resource files.
cordova-res:native Copying generated resource from 'resources/android/splash/drawable-land-mdpi-screen.png' to 'android/app/src/main/res/drawable-land-mdpi/splash.png'
The cause of problem is, that paths to resource files are defined in constants here:
https://github.com/ionic-team/cordova-res/blob/b6c1fd030daa12717b605655a1f1637d59f6eef4/src/native.ts#L68-L71
and custom path defined in --resources parameter is not used.
The text was updated successfully, but these errors were encountered: