# When we change the effect and then app is crashed in flutter

**URL:** <https://forum.deepar.ai/t/when-we-change-the-effect-and-then-app-is-crashed-in-flutter/592>\
**Category:** Help & Questions\
**Tags:** effect-help, background, face-tracking\
**Created:** [March 14, 2024, 7:26am UTC](https://forum.deepar.ai/t/when-we-change-the-effect-and-then-app-is-crashed-in-flutter/592 "2024-03-14T07:26:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranbir\_Saini](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/ranbir_saini/32/821_2.png) [@Ranbir\_Saini](https://forum.deepar.ai/u/Ranbir_Saini)\
**Post date:** [March 14, 2024, 7:26am UTC](https://forum.deepar.ai/t/when-we-change-the-effect-and-then-app-is-crashed-in-flutter/592/1 "2024-03-14T07:26:51Z")

</div>

when we change effect then app is crashed in fluttter

this is my code  
import ‘package:deepar\_flutter/deepar\_flutter.dart’;  
import ‘package:flutter/material.dart’;

void main() {  
runApp(const MyApp());  
}

class MyApp extends StatelessWidget {  
const MyApp({Key? key}) : super(key: key);

@override  
Widget build(BuildContext context) {  
return MaterialApp(  
title: ‘Flutter Demo’,  
theme: ThemeData(  
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),  
useMaterial3: true,  
),  
home: const MyHomePage(title: ‘Flutter Demo Home Page’),  
);  
}  
}

class MyHomePage extends StatefulWidget {  
const MyHomePage({Key? key, required this.title}) : super(key: key);

final String title;

@override  
State createState() =\> \_MyHomePageState();  
}

class \_MyHomePageState extends State {

late DeepArController \_controller;  
String androidKey =  
" \*\*\*\*\*\*\*";

@override  
void initState() {  
super.initState();  
\_controller = DeepArController();  
\_initializeController();  
}

/\* @override  
void dispose() {  
\_controller.dispose();  
super.dispose();  
}\*/

void \_initializeController() async {  
await \_controller.initialize(  
androidLicenseKey: androidKey,  
iosLicenseKey:“\*\*\*\*\*”,  
resolution: Resolution.high  
);  
}

Future \_incrementCounter() async {  
if (!\_controller.isInitialized) {  
return;  
}

```
try {     
  await _controller.switchFaceMask("assets/images/cap.png");
} catch (e, stackTrace) {
  // Handle the error or log it for debugging
  print("Error switching effect: $e");
  print(stackTrace);
}

```

}

@override  
Widget build(BuildContext context) {  
return Scaffold(  
body: Stack(  
children: [  
Container(  
height: 500,  
width: 300,  
child: DeepArPreview(\_controller, onViewCreated: () async {  
await \_controller.fireTrigger(  
trigger: “assets/images/flowers.fdx”);  
//await \_controller.switchFaceMask(“assets/images/cap.png”);  
})),  
// : const Center(child: Text(“Loading Preview”)),  
Center(  
child: GestureDetector(  
child: Text(“CFgvb”),  
onTap: \_incrementCounter,  
),  
),  
],  
),  
);  
}  
}

error :-W/xample.deepear(10475): 0xebadde09 skipped times: 0  
F/libc (10475): Fatal signal 11 (SIGSEGV), code 1 (SEGV\_MAPERR), fault addr 0x0 in tid 10475 (xample.deepearr), pid 10475 (xample.deepearr)

* * *

Build fingerprint: ‘samsung/greatltexx/greatlte:9/PPR1.180610.011/N950FXXUGDVG5:user/release-keys’  
Revision: ‘9’  
ABI: ‘arm64’  
pid: 10475, tid: 10475, name: xample.deepearr \>\>\> com.example.deepearr \<\<\<  
signal 11 (SIGSEGV), code 1 (SEGV\_MAPERR), fault addr 0x0  
Cause: null pointer dereference  
x0 0000007341642df8 x1 0000000000000000 x2 000000735f000ac0 x3 0000000000000000  
x4 0000000000000000 x5 0000007ffbb354d8 x6 000000006b73616d x7 000000732bc27703  
x8 0000000000000000 x9 0000000000000000 x10 0000000000000000 x11 0000000000000000  
x12 0000000000000bf1 x13 0000000000000bf0 x14 0000000000000000 x15 0000000000000008  
x16 00000073e0c321c0 x17 00000073e0bc8e98 x18 000000000000001c x19 000000734161a500  
x20 ffffffffffffffff x21 0000007ffbb35660 x22 000000734161a5c8 x23 000000734161a508  
x24 000000737c671f89 x25 0000000000000000 x26 0000000000000001 x27 000000732b7e9630  
x28 0000000000000004 x29 0000007ffbb355f0  
sp 0000007ffbb35580 lr 000000732b7e8398 pc 000000732b7e8428  
backtrace:  
#00 pc 000000000019c428 /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk (offset 0x3723000) (ar::ChangeEffectCommand::parseTextures()+328)  
#01 pc 000000000019d0e4 /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk (offset 0x3723000) (ar::ChangeEffectCommand::ChangeEffectCommand(std::\_\_ndk1::basic\_string\<char, std::\_\_ndk1::char\_traits, std::\_\_ndk1::allocator\>, std::\_\_ndk1::vector\<unsigned char, std::\_\_ndk1::allocator\>&&)+228)  
#02 pc 00000000001839a4 /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk (offset 0x3723000) (ar::Controller::switchEffect(char const\*, std::\_\_ndk1::vector\<unsigned char, std::\_\_ndk1::allocator\>&&)+220)  
#03 pc 0000000000129d20 /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk (offset 0x3723000) (Java\_ai\_deepar\_ar\_DeepAR\_switchEffectRawNative+280)  
#04 pc 000000000056b7e0 /system/lib64/libart.so (art\_quick\_generic\_jni\_trampoline+144)  
#05 pc 0000000000562788 /system/lib64/libart.so (art\_quick\_invoke\_stub+584)  
#06 pc 00000000000d0140 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread\*, unsigned int\*, unsigned int, art::JValue\*, char const\*)+200)  
#07 pc 00000000002865e8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread\*, art::ArtMethod\*, art::ShadowFrame\*, unsigned short, art::JValue\*)+344)  
#08 pc 00000000002816b0 /system/lib64/libart.so (bool art::interpreter::DoCall\<true, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+752)  
#09 pc 000000000053454c /system/lib64/libart.so (MterpInvokeDirectRange+244)  
#10 pc 0000000000555194 /system/lib64/libart.so (ExecuteMterpImpl+15252)  
#11 pc 00000000000cbca6 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk\_10475\_10475 (deleted) (ai.deepar.ar.DeepAR.switchEffect+70)  
#12 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#13 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#14 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#15 pc 00000000005319d8 /system/lib64/libart.so (MterpInvokeVirtual+584)  
#16 pc 0000000000554d94 /system/lib64/libart.so (ExecuteMterpImpl+14228)  
#17 pc 00000000000066cc /dev/ashmem/dalvik-classes2.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk!classes2.dex\_10475\_10475 (deleted) (com.deepar.ai.DeepArPlugin.handleMethods+1464)  
#18 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#19 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#20 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#21 pc 0000000000532d18 /system/lib64/libart.so (MterpInvokeDirect+296)  
#22 pc 0000000000554e94 /system/lib64/libart.so (ExecuteMterpImpl+14484)  
#23 pc 00000000000060ac /dev/ashmem/dalvik-classes2.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk!classes2.dex\_10475\_10475 (deleted) (com.deepar.ai.DeepArPlugin.access$000)  
#24 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#25 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#26 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#27 pc 0000000000532edc /system/lib64/libart.so (MterpInvokeStatic+204)  
#28 pc 0000000000554f14 /system/lib64/libart.so (ExecuteMterpImpl+14612)  
#29 pc 0000000000005dd4 /dev/ashmem/dalvik-classes2.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk!classes2.dex\_10475\_10475 (deleted) (com.deepar.ai.DeepArPlugin$1.onMethodCall+4)  
#30 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#31 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#32 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#33 pc 0000000000532950 /system/lib64/libart.so (MterpInvokeInterface+1392)  
#34 pc 0000000000554f94 /system/lib64/libart.so (ExecuteMterpImpl+14740)  
#35 pc 00000000001a93da /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk\_10475\_10475 (deleted) (io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage+34)  
#36 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#37 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#38 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#39 pc 0000000000532950 /system/lib64/libart.so (MterpInvokeInterface+1392)  
#40 pc 0000000000554f94 /system/lib64/libart.so (ExecuteMterpImpl+14740)  
#41 pc 000000000019c8d0 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk\_10475\_10475 (deleted) (io.flutter.embedding.engine.dart.DartMessenger.invokeHandler+36)  
#42 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#43 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#44 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#45 pc 0000000000532d18 /system/lib64/libart.so (MterpInvokeDirect+296)  
#46 pc 0000000000554e94 /system/lib64/libart.so (ExecuteMterpImpl+14484)  
#47 pc 000000000019c988 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk\_10475\_10475 (deleted) (io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger+88)  
#48 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#49 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#50 pc 0000000000281694 /system/lib64/libart.so (bool art::interpreter::DoCall\<true, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+724)  
#51 pc 0000000000533210 /system/lib64/libart.so (MterpInvokeVirtualRange+576)  
#52 pc 0000000000555094 /system/lib64/libart.so (ExecuteMterpImpl+14996)  
#53 pc 000000000019c0dc /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.deepearr-CqALz5-LDE\_FICWKF68mCQ==/base.apk\_10475\_10475 (deleted) (io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run+24)  
#54 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#55 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#56 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#57 pc 0000000000532950 /system/lib64/libart.so (MterpInvokeInterface+1392)  
#58 pc 0000000000554f94 /system/lib64/libart.so (ExecuteMterpImpl+14740)  
#59 pc 0000000000da3448 /system/framework/boot-framework.vdex (android.os.Handler.handleCallback+4)  
#60 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#61 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#62 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#63 pc 0000000000532edc /system/lib64/libart.so (MterpInvokeStatic+204)  
#64 pc 0000000000554f14 /system/lib64/libart.so (ExecuteMterpImpl+14612)  
#65 pc 0000000000c4cc14 /system/framework/boot-framework.vdex (android.os.Handler.dispatchMessage+8)  
#66 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#67 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#68 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#69 pc 00000000005319d8 /system/lib64/libart.so (MterpInvokeVirtual+584)  
#70 pc 0000000000554d94 /system/lib64/libart.so (ExecuteMterpImpl+14228)  
#71 pc 0000000000c55866 /system/framework/boot-framework.vdex (android.os.Looper.loop+406)  
#72 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#73 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread\*, art::CodeItemDataAccessor const&, art::ShadowFrame\*, art::JValue\*)+216)  
#74 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+920)  
#75 pc 0000000000532edc /system/lib64/libart.so (MterpInvokeStatic+204)  
#76 pc 0000000000554f14 /system/lib64/libart.so (ExecuteMterpImpl+14612)  
#77 pc 00000000004c0bf0 /system/framework/boot-framework.vdex (android.app.ActivityThread.main+220)  
#78 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#79 pc 0000000000522118 /system/lib64/libart.so (artQuickToInterpreterBridge+1032)  
#80 pc 000000000056b8fc /system/lib64/libart.so (art\_quick\_to\_interpreter\_bridge+92)  
#81 pc 0000000000562a4c /system/lib64/libart.so (art\_quick\_invoke\_static\_stub+604)  
#82 pc 00000000000d0160 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread\*, unsigned int\*, unsigned int, art::JValue\*, char const\*)+232)  
#83 pc 0000000000468a78 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod\*, art::(anonymous namespace)::ArgArray\*, art::JValue\*, char const\*)+104)  
#84 pc 000000000046a4d0 /system/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, \_jobject\*, \_jobject\*, \_jobject\*, unsigned long)+1440)  
#85 pc 00000000003f8f50 /system/lib64/libart.so (art::Method\_invoke(\_JNIEnv\*, \_jobject\*, \_jobject\*, \_jobjectArray\*)+48)  
#86 pc 000000000011f7e4 /system/framework/arm64/boot.oat (offset 0x115000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+180)  
#87 pc 0000000000562788 /system/lib64/libart.so (art\_quick\_invoke\_stub+584)  
#88 pc 00000000000d0140 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread\*, unsigned int\*, unsigned int, art::JValue\*, char const\*)+200)  
#89 pc 00000000002865e8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread\*, art::ArtMethod\*, art::ShadowFrame\*, unsigned short, art::JValue\*)+344)  
#90 pc 00000000002805a4 /system/lib64/libart.so (bool art::interpreter::DoCall\<false, false\>(art::ArtMethod\*, art::Thread\*, art::ShadowFrame&, art::Instruction const\*, unsigned short, art::JValue\*)+948)  
#91 pc 00000000005319d8 /system/lib64/libart.so (MterpInvokeVirtual+584)  
#92 pc 0000000000554d94 /system/lib64/libart.so (ExecuteMterpImpl+14228)  
#93 pc 00000000013ba372 /system/framework/boot-framework.vdex (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)  
#94 pc 000000000025a0a0 /system/lib64/libart.so (\_ZN3art11interpreterL7ExecuteEPNS\_6ThreadERKNS\_20CodeItemDataAccessorERNS\_11ShadowFrameENS\_6JValueEb.llvm.1209744080+496)  
#95 pc 0000000000522118 /system/lib64/libart.so (artQuickToInterpreterBridge+1032)  
#96 pc 000000000056b8fc /system/lib64/libart.so (art\_quick\_to\_interpreter\_bridge+92)  
#97 pc 0000000000e17f80 /system/framework/arm64/boot-framework.oat (offset 0x420000) (com.android.internal.os.ZygoteInit.main+2208)  
#98 pc 0000000000562a4c /system/lib64/libart.so (art\_quick\_invoke\_static\_stub+604)  
#99 pc 00000000000d0160 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread\*, unsigned int\*, unsigned int, art::JValue\*, char const\*)+232)  
#100 pc 0000000000468a78 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod\*, art::(anonymous namespace)::ArgArray\*, art::JValue\*, char const\*)+104)  
#101 pc 00000000004686d0 /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, \_jobject\*, \_jmethodID\*, std::\_\_va\_list)+416)  
#102 pc 000000000036ab24 /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(\_JNIEnv\*, \_jclass\*, \_jmethodID\*, std::\_\_va\_list)+644)  
#103 pc 00000000000b9d10 /system/lib64/libandroid\_runtime.so (\_JNIEnv::CallStaticVoidMethod(\_jclass\*, \_jmethodID\*, …)+120)  
#104 pc 00000000000bc8d4 /system/lib64/libandroid\_runtime.so (android::AndroidRuntime::start(char const\*, android::Vectorandroid::String8 const&, bool)+780)  
#105 pc 0000000000004990 /system/bin/app\_process64 (main+1200)  
#106 pc 00000000000b0540 /system/lib64/libc.so (\_\_libc\_init+88)  
Lost connection to device.  
the Dart compiler exited unexpectedly.

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [March 19, 2024, 6:28pm UTC](https://forum.deepar.ai/t/when-we-change-the-effect-and-then-app-is-crashed-in-flutter/592/2 "2024-03-19T18:28:33Z")

</div>

Hi!

DeepAR [Flutter plugin](https://github.com/ridvanaltun/react-native-deepar) is an open-source project developed and maintained by the DeepAR community. DeepAR does not actively maintain nor provide customer support for them. Our support covers only native mobile (iOS and Android), Web, and MacOS, and future development will focus on those platforms.
