flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
9.95k stars 392 forks source link

I can't capitalize the application name in the terminal #3576

Open Legolaz7 opened 6 days ago

Legolaz7 commented 6 days ago

Discussed in https://github.com/flet-dev/flet/discussions/3567

Originally posted by **Legolaz7** June 28, 2024 I can’t enter a capital letter in the application name) Although it worked before If you write the name in another language, an error also appears, but before everything worked) Has anyone encountered this? How to solve? Works only if written in small letters and in English
Legolaz7 commented 6 days ago
(.venv) PS C:\Users\Admin\PycharmProjects\pythonProject> flet build apk --project "Мой бонус"                                                                                                                                                      
[21:39:45] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.23.2 ✅                                                                                                                                               
           Customized app icons and splash images ✅                                                                                                                                                                                               
[21:39:46] Error on line 1, column 1 of pubspec.yaml: Missing the required "name" field.                                                                                                                                                           
              ╷                                                                                                                                                                                                                                    
           1  │ ┌ dependencies:                                                                                                                                                                                                                    
           2  │ │   cupertino_icons: ^1.0.6                                                                                                                                                                                                        
           3  │ │   flet: ^0.23.2                                                                                                                                                                                                                  
           4  │ │   flutter:                                                                                                                                                                                                                       
           5  │ │     sdk: flutter                                                                                                                                                                                                                 
           6  │ │   path: ^1.9.0                                                                                                                                                                                                                   
           7  │ │   serious_python: ^0.7.1                                                                                                                                                                                                         
           8  │ │   url_strategy: ^0.2.0                                                                                                                                                                                                           
           9  │ │ dependency_overrides:                                                                                                                                                                                                            
           10 │ │   package_info_plus: ^8.0.0                                                                                                                                                                                                      
           11 │ │   wakelock_plus: ^1.2.5                                                                                                                                                                                                          
           12 │ │ description: null                                                                                                                                                                                                                
           13 │ │ dev_dependencies:                                                                                                                                                                                                                
           14 │ │   flutter_launcher_icons: ^0.13.1                                                                                                                                                                                                
           15 │ │   flutter_lints: ^2.0.0                                                                                                                                                                                                          
           16 │ │   flutter_native_splash: ^2.3.6                                                                                                                                                                                                  
           17 │ │ environment:                                                                                                                                                                                                                     
           18 │ │   sdk: '>=3.1.5 <4.0.0'                                                                                                                                                                                                          
           19 │ │ flutter:                                                                                                                                                                                                                         
           20 │ │   assets:                                                                                                                                                                                                                        
           21 │ │   - app/app.zip                                                                                                                                                                                                                  
           22 │ │   - app/app.zip.hash                                                                                                                                                                                                             
           23 │ │   uses-material-design: true                                                                                                                                                                                                     
           24 │ │ flutter_launcher_icons:                                                                                                                                                                                                          
           25 │ │   android: true                                                                                                                                                                                                                  
           26 │ │   image_path: images/icon.jpg                                                                                                                                                                                                    
           27 │ │   image_path_android: images/icon.jpg                                                                                                                                                                                            
           28 │ │   image_path_ios: images/icon.jpg                                                                                                                                                                                                
           29 │ │   ios: true                                                                                                                                                                                                                      
           30 │ │   macos:                                                                                                                                                                                                                         
           31 │ │     generate: true                                                                                                                                                                                                               
           32 │ │     image_path: images/icon.jpg                                                                                                                                                                                                  
           33 │ │   remove_alpha_ios: true                                                                                                                                                                                                         
           34 │ │   web:                                                                                                                                                                                                                           
           35 │ │     generate: true                                                                                                                                                                                                               
           36 │ │     image_path: images/icon.jpg                                                                                                                                                                                                  
           37 │ │   windows:                                                                                                                                                                                                                       
           38 │ │     generate: true                                                                                                                                                                                                               
           39 │ │     icon_size: 256                                                                                                                                                                                                               
           40 │ │     image_path: images/icon.jpg                                                                                                                                                                                                  
           41 │ │ flutter_native_splash:                                                                                                                                                                                                           
           42 │ │   android: true                                                                                                                                                                                                                  
           43 │ │   android_12:                                                                                                                                                                                                                    
           44 │ │     color: '#ffffff'                                                                                                                                                                                                             
           45 │ │     color_dark: '#333333'                                                                                                                                                                                                        
           46 │ │     image: images/icon.jpg                                                                                                                                                                                                       
           47 │ │     image_dark: images/icon.jpg                                                                                                                                                                                                  
           48 │ │   color: '#ffffff'                                                                                                                                                                                                               
           49 │ │   color_dark: '#222222'                                                                                                                                                                                                          
           50 │ │   image: images/icon.jpg                                                                                                                                                                                                         
           51 │ │   image_android: images/icon.jpg                                                                                                                                                                                                 
           52 │ │   image_dark: images/icon.jpg                                                                                                                                                                                                    
           53 │ │   image_dark_android: images/icon.jpg                                                                                                                                                                                            
           54 │ │   image_dark_ios: images/icon.jpg                                                                                                                                                                                                
           55 │ │   image_dark_web: images/icon.jpg                                                                                                                                                                                                
           56 │ │   image_ios: images/icon.jpg                                                                                                                                                                                                     
           57 │ │   image_web: images/icon.jpg                                                                                                                                                                                                     
           58 │ │   ios: true                                                                                                                                                                                                                      
           59 │ │   web: true                                                                                                                                                                                                                      
           60 │ │ name: null                                                                                                                                                                                                                       
           61 │ │ publish_to: none                                                                                                                                                                                                                 
           62 │ └ version: 1.0.0+1                                                                                                                                                                                                                 
              ╵