-
Notifications
You must be signed in to change notification settings - Fork 214
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
cannot copy dark-backgorund.png android #163
Comments
Hello @fredgrott. In your title the name is dark-backgorund.png with a dash, but in the error message the filename is background.png without the dash. Is it possible the filename in pubspec.yaml is different from the filename of the file? |
I have the same issue for dark mode. The system says OS Error: The system cannot find the path specified. I have to make sure the name path is correct. But it still can't copy my dark image. |
same issue any solutions? |
@jonbhanson Nope, I running Android Studio on Linux |
[Android] Creating splash images |
Found the source of the problem; will push an update soon. |
does not create the android dark background image for splash, my terminal output is:
PS D:\fredgrttsstuff\GithubProjects\base_getx> flutter pub run flutter_native_splash:create
[Android] Updating android/app/src/main/res/drawable/launch_background.xml with splash image path
Unhandled exception:
FileSystemException: Cannot copy file to 'android/app/src/main/res/drawable-night/background.png', path = 'assets/dark/background.png' (OS Error: The system cannot find the path specified.
, errno = 3)
#0 _File.throwIfError (dart:io/file_impl.dart:635:7)
#1 _File.copySync (dart:io/file_impl.dart:340:5)
#2 _createBackground (package:flutter_native_splash/ios.dart:273:37)
#3 _createAndroidSplash (package:flutter_native_splash/android.dart:57:3)
#4 tryCreateSplashByConfig (package:flutter_native_splash/supported_platform.dart:77:5)
#5 tryCreateSplash (package:flutter_native_splash/supported_platform.dart:28:3)
#6 createSplash (package:flutter_native_splash/flutter_native_splash.dart:17:3)
#7 main (file:///D:/fluttersdk/myfluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_splash-1.1.7+1/bin/create.dart:5:3)
#8 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:281:32)
#9 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
pub finished with exit code 255
PS D:\fredgrttsstuff\GithubProjects\base_getx>
The text was updated successfully, but these errors were encountered: