herkese merhaba. versiyon güncellemesinden sonra bu hatayı almaya başladım.
Aranızda bu hatayı alan ya da çözümü bilen var mı ? Aldığım hata : Flutter application has stopped
Build sayfası:
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 28
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.deneme_27_02"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter {
source '../..'
}
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, v1.2.2, on Microsoft Windows [Version 10.0.17134.590], locale tr-TR)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.2)
[√] VS Code (version 1.31.1)
[√] Connected device (1 available)
• No issues found!
flutter doctor -v
[√] Flutter (Channel dev, v1.2.2, on Microsoft Windows [Version 10.0.17134.590], locale tr-TR)
• Flutter version 1.2.2 at C:\flutter
• Framework revision 007a415c2a (5 days ago), 2019-02-21 20:22:47 -0800
• Engine revision f1f19bba8f
• Dart version 2.2.0 (build 2.2.0-dev.2.1 c92d5ca288)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\admintrack\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[√] Android Studio (version 3.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[√] VS Code (version 1.31.1)
• VS Code at C:\Users\admintrack\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 2.23.1
[√] Connected device (1 available)
• Google • 192.168.73.101:5555 • android-x86 • Android 6.0 (API 23)
• No issues found!
logCat
02-27 04:21:02.407 5794-5794/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-27 04:21:02.415 5794-5794/? D/AndroidRuntime: CheckJNI is OFF
02-27 04:21:02.452 5794-5794/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-27 04:21:02.495 5794-5794/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-27 04:21:02.495 5794-5794/? E/android.os.Debug: failed to load memtrack module: -2
02-27 04:21:02.499 5794-5794/? I/Radio-JNI: register_android_hardware_Radio DONE
02-27 04:21:02.540 5794-5794/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
--------- beginning of system
02-27 04:21:02.551 1717-1729/system_process I/ActivityManager: Force stopping com.example.bilgiyarismasi appid=10081 user=0: from pid 5794
02-27 04:21:02.552 1717-1729/system_process I/ActivityManager: Killing 5748:com.example.bilgiyarismasi/u0a81 (adj 9): stop com.example.bilgiyarismasi
02-27 04:21:02.552 1717-1729/system_process W/libprocessgroup: failed to open /acct/uid_10081/pid_5748/cgroup.procs: No such file or directory
02-27 04:21:02.571 5794-5794/? D/AndroidRuntime: Shutting down VM
02-27 04:21:02.578 1717-3173/system_process E/Surface: getSlotFromBufferLocked: unknown buffer: 0xde317c90
02-27 04:21:02.588 1717-1840/system_process W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42e746a attribute=null, token = android.os.BinderProxy@7d9e158
02-27 04:21:02.775 1717-1736/system_process W/AppOps: Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
02-27 04:21:03.561 5802-5802/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-27 04:21:03.566 5802-5802/? D/AndroidRuntime: CheckJNI is OFF
02-27 04:21:03.604 5802-5802/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-27 04:21:03.648 5802-5802/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-27 04:21:03.648 5802-5802/? E/android.os.Debug: failed to load memtrack module: -2
02-27 04:21:03.651 5802-5802/? I/Radio-JNI: register_android_hardware_Radio DONE
02-27 04:21:03.692 5802-5802/? D/AndroidRuntime: Calling main entry com.android.commands.pm.Pm
02-27 04:21:03.700 5802-5802/? I/art: System.exit called, status: 0
02-27 04:21:03.700 5802-5802/? I/AndroidRuntime: VM exiting with result code 0.
02-27 04:21:04.686 5817-5817/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-27 04:21:04.691 5817-5817/? D/AndroidRuntime: CheckJNI is OFF
02-27 04:21:04.725 5817-5817/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-27 04:21:04.769 5817-5817/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-27 04:21:04.769 5817-5817/? E/android.os.Debug: failed to load memtrack module: -2
02-27 04:21:04.772 5817-5817/? I/Radio-JNI: register_android_hardware_Radio DONE
02-27 04:21:04.811 5817-5817/? D/AndroidRuntime: Calling main entry com.android.commands.pm.Pm
02-27 04:21:04.817 5817-5817/? I/art: System.exit called, status: 0
02-27 04:21:04.817 5817-5817/? I/AndroidRuntime: VM exiting with result code 0.
02-27 04:21:09.379 5827-5827/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-27 04:21:09.398 5827-5827/? D/AndroidRuntime: CheckJNI is OFF
02-27 04:21:09.445 5827-5827/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-27 04:21:09.493 5829-5829/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-27 04:21:09.504 5829-5829/? D/AndroidRuntime: CheckJNI is OFF
02-27 04:21:09.521 5827-5827/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-27 04:21:09.521 5827-5827/? E/android.os.Debug: failed to load memtrack module: -2
02-27 04:21:09.526 5827-5827/? I/Radio-JNI: register_android_hardware_Radio DONE
02-27 04:21:09.555 5829-5829/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-27 04:21:09.602 5827-5827/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
02-27 04:21:09.604 1717-1728/system_process I/ActivityManager: Force stopping com.example.bilgiyarismasi appid=10081 user=0: from pid 5827
02-27 04:21:09.605 5827-5827/? D/AndroidRuntime: Shutting down VM
02-27 04:21:09.640 5829-5829/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-27 04:21:09.640 5829-5829/? E/android.os.Debug: failed to load memtrack module: -2
02-27 04:21:09.644 5829-5829/? I/Radio-JNI: register_android_hardware_Radio DONE
02-27 04:21:09.693 5829-5829/? D/AndroidRuntime: Calling main entry com.android.commands.wm.Wm
02-27 04:21:09.697 5829-5829/? D/AndroidRuntime: Shutting down VM
02-27 04:21:10.942 5849-5849/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-27 04:21:10.947 5849-5849/? D/AndroidRuntime: CheckJNI is OFF
02-27 04:21:10.990 5849-5849/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-27 04:21:11.034 5849-5849/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-27 04:21:11.034 5849-5849/? E/android.os.Debug: failed to load memtrack module: -2
02-27 04:21:11.038 5849-5849/? I/Radio-JNI: register_android_hardware_Radio DONE
02-27 04:21:11.090 5849-5849/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
02-27 04:21:11.095 1717-2093/system_process I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.bilgiyarismasi/.MainActivity} from uid 0 on display 0
02-27 04:21:11.113 5849-5849/? D/AndroidRuntime: Shutting down VM
02-27 04:21:11.123 1717-1840/system_process I/ActivityManager: Start proc 5857:com.example.bilgiyarismasi/u0a81 for activity com.example.bilgiyarismasi/.MainActivity
02-27 04:21:11.154 5857-5857/? E/libprocessgroup: failed to make and chown /acct/uid_10081: Read-only file system
02-27 04:21:11.154 5857-5857/? W/Zygote: createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
02-27 04:21:11.156 5857-5857/? I/art: Late-enabling -Xcheck:jni
02-27 04:21:11.339 5870-5870/? W/dex2oat: Unexpected CPU variant for X86 using defaults: x86
02-27 04:21:11.339 5870-5870/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@com.example.bilgiyarismasi-2@split_lib_dependencies_apk.apk@classes.dex: Permission denied
02-27 04:21:11.339 5870-5870/? I/dex2oat: dex2oat took 422.680us (threads: 4)
02-27 04:21:11.341 5857-5857/com.example.bilgiyarismasi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=x86 --instruction-set-features=smp,-ssse3,-sse4.1,-sse4.2,-avx,-avx2 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=x86 --instruction-set-features=default --dex-file=/data/app/com.example.bilgiyarismasi-2/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/x86/data@app@com.example.bilgiyarismasi-2@split_lib_dependencies_apk.apk@classes.dex) because non-0 exit status
02-27 04:21:11.419 5872-5872/? W/dex2oat: Unexpected CPU variant for X86 using defaults: x86
02-27 04:21:11.420 5872-5872/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@com.example.bilgiyarismasi-2@split_lib_slice_3_apk.apk@classes.dex: Permission denied
02-27 04:21:11.420 5872-5872/? I/dex2oat: dex2oat took 419.886us (threads: 4)
02-27 04:21:11.423 5857-5857/com.example.bilgiyarismasi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=x86 --instruction-set-features=smp,-ssse3,-sse4.1,-sse4.2,-avx,-avx2 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=x86 --instruction-set-features=default --dex-file=/data/app/com.example.bilgiyarismasi-2/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/x86/data@app@com.example.bilgiyarismasi-2@split_lib_slice_3_apk.apk@classes.dex) because non-0 exit status
02-27 04:21:11.436 5857-5857/com.example.bilgiyarismasi I/InstantRun: starting instant run server: is main process
02-27 04:21:11.550 5857-5876/com.example.bilgiyarismasi I/ResourceExtractor: Found extracted resources res_timestamp-1-1551259087368
02-27 04:21:12.071 5857-5857/com.example.bilgiyarismasi D/libEGL: loaded /system/lib/egl/libEGL_emulation.so
02-27 04:21:12.112 5857-5857/com.example.bilgiyarismasi D/libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so
02-27 04:21:12.269 5857-5857/com.example.bilgiyarismasi D/libEGL: loaded /system/lib/egl/libGLESv2_emulation.so
02-27 04:21:12.669 2056-2208/com.android.launcher3 E/Surface: getSlotFromBufferLocked: unknown buffer: 0xf3dd2af0
02-27 04:21:12.810 5857-5882/com.example.bilgiyarismasi I/flutter: Observatory listening on http://127.0.0.1:35133/
02-27 04:21:13.369 5857-5857/com.example.bilgiyarismasi D/AndroidRuntime: Shutting down VM
--------- beginning of crash
02-27 04:21:13.371 5857-5857/com.example.bilgiyarismasi E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.bilgiyarismasi, PID: 5857
java.lang.NoSuchMethodError: No virtual method getLocales()Landroid/os/LocaleList; in class Landroid/content/res/Configuration; or its super classes (declaration of 'android.content.res.Configuration' appears in /system/framework/framework.jar)
at io.flutter.view.FlutterView.sendLocalesToDart(FlutterView.java:323)
at io.flutter.view.FlutterView.<init>(FlutterView.java:187)
at io.flutter.app.FlutterActivityDelegate.onCreate(FlutterActivityDelegate.java:161)
at io.flutter.app.FlutterActivity.onCreate(FlutterActivity.java:89)
at com.example.bilgiyarismasi.MainActivity.onCreate(MainActivity.java:10)
at android.app.Activity.performCreate(Activity.java:6237)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-27 04:21:13.389 1717-1840/system_process W/ActivityManager: Force finishing activity com.example.bilgiyarismasi/.MainActivity
02-27 04:21:13.690 1717-1840/system_process I/WindowManager: Screenshot max retries 4 of Token{b46070d ActivityRecord{5f65da4 u0 com.example.bilgiyarismasi/.MainActivity t126 f}} appWin=Window{40cccd3 u0 Starting com.example.bilgiyarismasi} drawState=4
02-27 04:21:13.741 1717-3173/system_process I/OpenGLRenderer: Initialized EGL, version 1.4
02-27 04:21:13.803 1717-3173/system_process W/EGL_emulation: eglSurfaceAttrib not implemented
02-27 04:21:13.804 1717-3173/system_process W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xdb5bdd60, error=EGL_SUCCESS
02-27 04:21:14.191 1717-1731/system_process W/ActivityManager: Activity pause timeout for ActivityRecord{5f65da4 u0 com.example.bilgiyarismasi/.MainActivity t126 f}
02-27 04:21:14.265 2056-2208/com.android.launcher3 W/EGL_emulation: eglSurfaceAttrib not implemented
02-27 04:21:14.265 2056-2208/com.android.launcher3 W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xe9bbe920, error=EGL_SUCCESS
02-27 04:21:14.881 2056-2208/com.android.launcher3 W/OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
02-27 04:21:14.881 2056-2208/com.android.launcher3 W/OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
02-27 04:21:20.471 5857-5857/? I/Process: Sending signal. PID: 5857 SIG: 9
02-27 04:21:20.508 1717-3173/system_process E/Surface: getSlotFromBufferLocked: unknown buffer: 0xde317d00
02-27 04:21:20.510 1717-2074/system_process W/libprocessgroup: failed to open /acct/uid_10081/pid_5857/cgroup.procs: No such file or directory
02-27 04:21:20.510 1717-2074/system_process I/ActivityManager: Process com.example.bilgiyarismasi (pid 5857) has died
02-27 04:21:20.527 1717-3173/system_process D/OpenGLRenderer: endAllStagingAnimators on 0xd8909380 (RippleDrawable) with handle 0xdb7f13a0
02-27 04:21:20.560 1717-2093/system_process W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@e2589b1 attribute=null, token = android.os.BinderProxy@7d9e158
02-27 04:21:20.675 1427-1772/? D/genymotion_audio: out_write: pcm_write() with out_frames=558 frame_size=4 returned -EPIPE
02-27 04:21:20.833 1717-1736/system_process W/AppOps: Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
02-27 04:21:25.101 2003-2003/com.android.inputmethod.latin W/RichInputMethodSubtype: Can't find emoji subtype
02-27 04:21:25.101 2003-2003/com.android.inputmethod.latin W/RichInputMethodSubtype: No input method subtype found; returning dummy subtype: Multi-lingual subtype: android.view.inputmethod.InputMethodSubtype@d78b2ed0, zz
02-27 04:21:25.232 2003-2003/com.android.inputmethod.latin W/ViewPager: Requested offscreen page limit 0 too small; defaulting to 1
02-27 04:21:25.245 2003-2003/com.android.inputmethod.latin I/LatinIME: Starting input. Cursor position = 2,2
02-27 04:21:25.258 2003-2168/com.android.inputmethod.latin I/LatinIME:LogUtils: Dictionary info: dictionary = contacts.en_US ; version = 1551259285 ; date = ?
02-27 04:21:25.258 1717-1728/system_process I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
02-27 04:21:25.313 2003-2168/com.android.inputmethod.latin I/LatinIME:LogUtils: Dictionary info: dictionary = userunigram.en_US ; version = 1551259285 ; date = ?
02-27 04:21:25.323 2003-2168/com.android.inputmethod.latin I/LatinIME:LogUtils: Dictionary info: dictionary = UserHistoryDictionary.en_US ; version = 1551259285 ; date = ?
02-27 04:21:25.365 2003-2168/com.android.inputmethod.latin I/LatinIME:LogUtils: Dictionary info: dictionary = main:en ; version = 54 ; date = 1414726273
02-27 04:21:25.365 2003-5893/com.android.inputmethod.latin D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
02-27 04:21:25.402 2003-2168/com.android.inputmethod.latin I/LatinIME:LogUtils: Dictionary info: dictionary = main:en ; version = 54 ; date = 1414726273
02-27 04:21:25.552 2003-5893/com.android.inputmethod.latin D/libEGL: loaded /system/lib/egl/libEGL_emulation.so
02-27 04:21:25.581 2003-5893/com.android.inputmethod.latin D/libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so
02-27 04:21:25.641 2003-5893/com.android.inputmethod.latin D/libEGL: loaded /system/lib/egl/libGLESv2_emulation.so
02-27 04:21:25.683 2003-5893/com.android.inputmethod.latin I/OpenGLRenderer: Initialized EGL, version 1.4
02-27 04:21:25.788 2003-5893/com.android.inputmethod.latin W/EGL_emulation: eglSurfaceAttrib not implemented
02-27 04:21:25.788 2003-5893/com.android.inputmethod.latin W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xf3d5eda0, error=EGL_SUCCESS
02-27 04:21:29.641 2003-5893/com.android.inputmethod.latin E/Surface: getSlotFromBufferLocked: unknown buffer: 0xe0a52730
02-27 04:21:30.520 2003-2003/com.android.inputmethod.latin I/LatinIME: Starting input. Cursor position = 0,0
02-27 04:21:30.702 2003-5893/com.android.inputmethod.latin W/EGL_emulation: eglSurfaceAttrib not implemented
02-27 04:21:30.702 2003-5893/com.android.inputmethod.latin W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xe911ea20, error=EGL_SUCCESS
02-27 04:21:31.192 1427-1773/? W/AudioFlinger: write blocked for 9956 msecs, 16 delayed writes, thread 0xf1e00000