• 15-05-2025, 06:33:06
    #1
    merhaba bende 1 tane flutter uygulama varda bir türlü çıktısını alamadım apk olarak flutterdan nasıl cıktı alınır hıcbır fıkrım yok aceba bilen arkadaşlar yardım edebilirmi ederse çok sevinirim.
  • 15-05-2025, 08:05:42
    #2
    Terminale "flutter build apk" yazarak alabilirsiniz hocam
  • 15-05-2025, 09:42:26
    #3
    Sırasıyla
    flutter clean
    flutter pub get
    flutter build apk yazınız eğer imzalı bir şekilde almak istiyorsanız flutter build aab yazın
  • 15-05-2025, 16:30:42
    #4
    suatbuyukboz adlı üyeden alıntı: mesajı görüntüle
    Terminale "flutter build apk" yazarak alabilirsiniz hocam
    hocam flutter ile bir hata alıyorum çıktı vermiyor

    FAILURE: Build failed with an exception.
    
    * Where:
    Script 'B:\flutter\packages\flutter_tools\gradle\app_plugin_loader.gradle' line: 9
    
    * What went wrong:
    A problem occurred evaluating script.
    > You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is not possible anymore. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
    
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BU�LD FAILED in 12s
    Running Gradle task 'assembleRelease'...                           12,8s
    Gradle task assembleRelease failed with exit code 1
  • 15-05-2025, 16:31:40
    #5
    Alwaysmile08 adlı üyeden alıntı: mesajı görüntüle
    Sırasıyla
    flutter clean
    flutter pub get
    flutter build apk yazınız eğer imzalı bir şekilde almak istiyorsanız flutter build aab yazın
    FAILURE: Build failed with an exception.
    
    * Where:
    Script 'B:\flutter\packages\flutter_tools\gradle\app_plugin_loader.gradle' line: 9
    
    * What went wrong:
    A problem occurred evaluating script.
    > You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is not possible anymore. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
    
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BU�LD FAILED in 12s
    Running Gradle task 'assembleRelease'...                           12,8s
    Gradle task assembleRelease failed with exit code 1
    hocam böyle hata veriyor
  • 15-05-2025, 16:46:41
    #6
    crixised adlı üyeden alıntı: mesajı görüntüle
    FAILURE: Build failed with an exception.
    
    * Where:
    Script 'B:\flutter\packages\flutter_tools\gradle\app_plugin_loader.gradle' line: 9
    
    * What went wrong:
    A problem occurred evaluating script.
    > You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is not possible anymore. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
    
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BU�LD FAILED in 12s
    Running Gradle task 'assembleRelease'...                           12,8s
    Gradle task assembleRelease failed with exit code 1
    hocam böyle hata veriyor

    Bu hata satırlarının biraz daha üstünü atabilir misiniz hocam?
  • 15-05-2025, 17:00:57
    #7
    Gradle güncellemen gerekiyor hocam ve bununla beraber flutter da güncellemen gerekiyor.

    Tahminimce projen flutterın birkaç versiyon eski tipinde kodlanmış güncel kodlara bile çekmek gerekebilir.
    android klasörünün içindeki çoğu dosya yapısı felan baya değişti
  • 15-05-2025, 17:29:50
    #8
    Alwaysmile08 adlı üyeden alıntı: mesajı görüntüle
    Sırasıyla
    flutter clean
    flutter pub get
    flutter build apk yazınız eğer imzalı bir şekilde almak istiyorsanız flutter build aab yazın
    suatbuyukboz adlı üyeden alıntı: mesajı görüntüle
    Bu hata satırlarının biraz daha üstünü atabilir misiniz hocam?
    PS B:\Application\android> flutter build apk
    Changing current working directory to: B:\Application
    Package wakelock:windows references wakelock_windows:windows as the default plugin, but the package does not exist, or is not a plugin package.
    Ask the maintainers of wakelock to either avoid referencing a default implementation via `platforms: windows: default_package: wakelock_windows` or create a plugin named wakelock_windows.
    
    
    Package wakelock:windows references wakelock_windows:windows as the default plugin, but the package does not exist, or is not a plugin package.
    Ask the maintainers of wakelock to either avoid referencing a default implementation via `platforms: windows: default_package: wakelock_windows` or create a plugin named wakelock_windows.
    
    
    
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Script 'B:\flutter\packages\flutter_tools\gradle\app_plugin_loader.gradle' line: 9
    
    * What went wrong:
    A problem occurred evaluating script.
    > You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is not possible anymore. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
    
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BU�LD FAILED in 579ms
    Running Gradle task 'assembleRelease'...                         1.228ms
    Gradle task assembleRelease failed with exit code 1
    Tamamı bu hocam
  • 15-05-2025, 17:30:56
    #9
    Alwaysmile08 adlı üyeden alıntı: mesajı görüntüle
    Gradle güncellemen gerekiyor hocam ve bununla beraber flutter da güncellemen gerekiyor.

    Tahminimce projen flutterın birkaç versiyon eski tipinde kodlanmış güncel kodlara bile çekmek gerekebilir.
    android klasörünün içindeki çoğu dosya yapısı felan baya değişti
    Hocam bu uygulamayı yine ben çıktı olarak alamamıştım bu forumda bi arkadaş yardım etmişti. ama nasıl aldı çıktıyı tam bilmiyorum