Android Studio' da Uygulamalarım açılmıyor.
yeni bir uygulama almadan önce açabiliyordum. yeni aldığım uygulamayı açabilmek için yaptığım çalışmalardan diğer açabildiğim uygulamalarıda açamaz oldum.
ilk hata dökümünü aşağıda veriyorum. hatanın düzeltme linkinde baya bir kodlama vermişler ama durumlara acemi olduğum için tıkandım kaldım. linkte verilen çözümden daha basit bir şekilde pulugin yüklemese olması gerektiğini düşünüyorum. konu ile alakalı yardımlarınızı bekliyorum. teşekkürler.
The plugin `chatbar` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Warning: The plugin firebase_messaging requires Android SDK version 33.
For more information about build configuration, see https://docs.flutter.dev/deployment/...-configuration.
Warning: The plugin flutter_local_notifications requires Android SDK version 33.
For more information about build configuration, see https://docs.flutter.dev/deployment/...-configuration.
Warning: The plugin url_launcher_android requires Android SDK version 33.
For more information about build configuration, see https://docs.flutter.dev/deployment/...-configuration.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to C:UsershcistDesktoptrinderandroidappbuild.gradle:
android {
compileSdkVersion 33
...
}
C:srcflutter.pub-cachehostedpub.dartlang.orgflutter_local_notificat ions-9.9.1androidsrcmainjavacomdexterousflutterlocalnot ificationsFlutterLocalNotificationsPlugin.java:155 4: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
^
symbol: variable TIRAMISU
location: class VERSION_CODES
C:srcflutter.pub-cachehostedpub.dartlang.orgflutter_local_notificat ions-9.9.1androidsrcmainjavacomdexterousflutterlocalnot ificationsFlutterLocalNotificationsPlugin.java:155 5: error: cannot find symbol
String permission = Manifest.permission.POST_NOTIFICATIONS;
^
symbol: variable POST_NOTIFICATIONS
location: class permission
2 errors
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/firebase_app.dart:18:25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'.
FirebaseAppPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.5.1/lib/flutter_datetime_picker.dart:311:32: Warning: Operand of null-aware operation '??' has type 'Color' which excludes null.
- 'Color' is from 'dart:ui'.
color: theme.backgroundColor ?? Colors.white,
^
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':flutter_local_notifications:compileReleaseJavaWi thJavac'.
> Compilation failed; see the compiler error output for details.
* 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.
================================================== ============================
2: Task failed with an exception.
-----------
* Where:
Script 'C:srcflutterpackagesflutter_toolsgradleflutter.gr adle' line: 1156
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:srcflutterbinflutter.bat'' finished with non-zero exit value 1
* 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 40s
Running Gradle task 'assembleRelease'... 41,4s
Gradle task assembleRelease failed with exit code 1
Process finished with exit code 1
.
Android Studio' da Uygulamalarım açılmıyor.
4
●190
- 09-12-2022, 20:44:23
- 09-12-2022, 21:29:57bycida adlı üyeden alıntı: mesajı görüntüle
flutter ın 3.3.9 son versiyonu yüklu ve flutter upgrade yaptıgımda chatbar klasörünü kuruyor. ne yapmam gerek bir şeymi kaçırıyorum - 09-12-2022, 22:06:06eski sürümlerini kurum 2.5 sürümlerini deneyin son sürüm indirmişsiniz hocamhcistanbul adlı üyeden alıntı: mesajı görüntüle
- 11-12-2022, 12:22:15