-
Notifications
You must be signed in to change notification settings - Fork 206
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 on creation #13
Comments
@henriquearthur plz help :) |
That Exception comes from Dart actually but I can see the error happens when checking
Can you share your |
@henriquearthur here is the whole thing just in case
|
Thanks for reporting. It was bad logic on checking It is now fixed on v0.1.7+2 by using regex to obtain the number.
|
@henriquearthur wow thanks a ton! |
Hi @henriquearthur, android/app/build.gradle
flutter pub run flutter_native_splash:create
[Android] Creating splash images
[Android] Updating launch_background.xml with splash image path
[Android] No colors.xml file found in your Android project
[Android] Creating colors.xml file and adding it to your Android project
[Android] Updating styles.xml with full screen mode setting
Unhandled exception:
FormatException: Invalid radix-16 number (at character 1)
re
^
#0 int._throwFormatException (dart:core-patch/integers_patch.dart:133:5)
#1 int._parseRadix (dart:core-patch/integers_patch.dart:144:16)
#2 int._parse (dart:core-patch/integers_patch.dart:102:12)
#3 int.parse (dart:core-patch/integers_patch.dart:65:12)
#4 new HexColor (package:color/hex_color.dart:21:17)
#5 _generatePrimaryColorDarkFromColor (package:flutter_native_splash/android.dart:48:45)
#6 createSplash (package:flutter_native_splash/android.dart:42:34)
<asynchronous suspension>
#7 createSplash (package:flutter_native_splash/flutter_native_splash.dart:20:11)
<asynchronous suspension>
#8 main (file:https:///Users/iambudi/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_splash-0.1.9/bin/create.dart:5:3)
#9 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#10 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12) |
@iambudi can you share your |
@henriquearthur Here is the name: hello
description: A new Flutter project.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# # The following adds the Cupertino Icons font to your application.
# # Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
# geolocator: ^5.1.5
# fab_circular_menu: ^0.1.3
# circular_check_box: ^1.0.1
# dio: ^3.0.8 #latest version
# permission_handler: '^4.0.0'
# fluro: "^1.5.1"
dev_dependencies:
flutter_test:
sdk: flutter
flutter_native_splash: ^0.1.9
flutter_native_splash:
image: assets/images/splash.png
color: "red"
fill: true
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/images/
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages |
|
@henriquearthur Perfect! Thank you. |
hi @henriquearthur ════════ Exception caught by widgets library ═══════════════════════════════════════════════════════ The relevant error-causing widget was: |
I don't know what your error codes mean
but after running what's indicated in the tutorial I get these errors
NOTE: that for some reason the splash screen still works on my Samsung Galaxy S10
The text was updated successfully, but these errors were encountered: