[{"data":1,"prerenderedAt":228},["ShallowReactive",2],{"article-execution-failed-for-task-appflutterbuilddebug":3},{"article":4,"tags":89,"previous":104,"next":144},{"id":5,"title":6,"author":7,"body":8,"createdAt":77,"description":78,"extension":79,"img":80,"meta":81,"navigation":82,"path":83,"seo":84,"stem":85,"tags":86,"updatedAt":77,"__hash__":88},"articles\u002Farticles\u002Fexecution-failed-for-task-appflutterbuilddebug.md","Execution failed for task ‘:app:flutterBuildDebug’",null,{"type":9,"value":10,"toc":73},"minimark",[11,15,18,21,38,44,50,63],[12,13,14],"p",{},"Suddenly I have this error. I thought it was something I had inadvertently injected into my code. Solution below…",[12,16,17],{},"Error reading dependency file C:{path to project}\\build\\app\\intermediates\\flutter\\debug\\snapshot_blob.bin.d: java.lang.ArrayIndexOutOfBoundsException: 1",[12,19,20],{},"Oops; flutter has exited unexpectedly.",[12,22,23,24,27,28,34,35,37],{},"Crash report written to C:{path to project}\\flutter_11.log;",[25,26],"br",{},"\nplease let us know at ",[29,30,31],"a",{"href":31,"rel":32},"https:\u002F\u002Fgithub.com\u002Fflutter\u002Fflutter\u002Fissues",[33],"nofollow",".",[25,36],{},"\nFAILURE: Build failed with an exception.",[12,39,40,41,43],{},"Where:",[25,42],{},"\nScript 'C:\\flutter\\packages\\flutter_tools\\gradle\\flutter.gradle' line: 435",[12,45,46,47,49],{},"What went wrong:",[25,48],{},"\nExecution failed for task ':app:flutterBuildDebug'.",[51,52,53],"blockquote",{},[12,54,55,56,58,62],{},"Process 'command 'C:\\flutter\\bin\\flutter.bat'' finished with non-zero exit value 1",[25,57],{},[59,60,61],"strong",{},"Solution",":",[64,65,66,70],"ul",{},[67,68,69],"li",{},"Open solution folder, remove the build folder",[67,71,72],{},"Rerun F5 application",{"title":74,"searchDepth":75,"depth":75,"links":76},"",2,[],"2018-06-03T19:46:02.000Z","Errors occur. This one was perplexing but was quickly resolved.  Using Flutter and getting 'dependency file' error.  Check it out.","md","\u002Farticles\u002Fimages\u002FuO8VUVifgS.png",{},true,"\u002Farticles\u002Fexecution-failed-for-task-appflutterbuilddebug",{"title":6,"description":78},"articles\u002Fexecution-failed-for-task-appflutterbuilddebug",[87],"flutter","Z12hhh5QoJueG5H5FTzIPniuxsdYh8FrpbtVEnzsdTs",[90],{"id":91,"title":92,"body":93,"description":97,"extension":79,"img":98,"meta":99,"name":87,"navigation":82,"path":100,"seo":101,"stem":102,"__hash__":103},"tags\u002Ftags\u002Fflutter.md","Flutter",{"type":9,"value":94,"toc":95},[],{"title":74,"searchDepth":75,"depth":75,"links":96},[],"Flutter SDK is Google's UI toolkit for crafting beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fflutter",{"description":97},"tags\u002Fflutter","9lY6efG0wl_9qbC_N3ABqlg6pCSWlTRgJqo_PHk8rUM",{"id":105,"title":106,"author":7,"body":107,"createdAt":135,"description":136,"extension":79,"img":129,"meta":137,"navigation":82,"path":138,"seo":139,"stem":140,"tags":141,"updatedAt":135,"__hash__":143},"articles\u002Farticles\u002Fcannot-execute-as-the-database-principle.md","Cannot execute as the database principle",{"type":9,"value":108,"toc":133},[109,112,119],[12,110,111],{},"I resolved this issue by setting database owner. My database did not have had any owner before this issue. Execute this command in your database to set owner to sysadmin account",[113,114,115],"pre",{},[116,117,118],"code",{},"use [YourDatabaseName] EXEC sp_changedbowner 'sa'\n",[12,120,121],{},[29,122,124],{"href":123},"\u002Farticles\u002Fimages\u002Fimage_636694161252157189.png",[125,126],"img",{"style":127,"title":128,"src":129,"alt":128,"width":130,"height":131,"border":132},"border: 0px currentcolor; display: inline; background-image: none;","image","\u002Farticles\u002Fimages\u002Fimage_thumb_636694161255987537.png",416,97,0,{"title":74,"searchDepth":75,"depth":75,"links":134},[],"2018-08-09T16:55:25.000Z","My database did not have had any owner before this issue. Execute this command in your database to set owner to sysadmin account",{},"\u002Farticles\u002Fcannot-execute-as-the-database-principle",{"title":106,"description":136},"articles\u002Fcannot-execute-as-the-database-principle",[142],"sqlserver","PbylAI9ZBnAUp_zBnJXlFXGO3ZSZlRYI-Inwu0l9OrU",{"id":145,"title":146,"author":7,"body":147,"createdAt":219,"description":220,"extension":79,"img":166,"meta":221,"navigation":82,"path":222,"seo":223,"stem":224,"tags":225,"updatedAt":219,"__hash__":227},"articles\u002Farticles\u002Fxamarin-android-device-manager-diskdatapartitionsize.md","Xamarin Android Device Manager, disk.dataPartition.size",{"type":9,"value":148,"toc":217},[149,152,158,169,190,193,204,207],[12,150,151],{},"Changing the size of emulator memory as a result of INSTALL_FAILED_INSUFFICIENT_STORAGE error message.",[12,153,154,155,157],{},"Step 1 Edit Configuration files",[25,156],{},"\nLocate the configuration files by opening the directory for the particular emulator.  Ensure that the emulator is stopped before proceeding.",[12,159,160],{},[29,161,163],{"href":162},"\u002Farticles\u002Fimages\u002Fimage_636635510284638219.png",[125,164],{"style":165,"title":128,"src":166,"alt":128,"width":167,"height":168,"border":132},"margin: 0px; display: inline; background-image: none;","\u002Farticles\u002Fimages\u002Fimage_thumb_636635510288324866.png",321,160,[64,170,171,178,181,184],{},[67,172,173,174,177],{},"Edit ",[59,175,176],{},"hardware-qemu.ini"," file",[67,179,180],{},"Before disk.dataPartition.size = 550m",[67,182,183],{},"After disk.dataPartition.size = 8192m",[67,185,173,186,189],{},[59,187,188],{},"config.ini"," (change to the following) disk.dataPartition.size=8192M",[12,191,192],{},"Step 2 Factory Reset the emulator before booting the emulator, start up.",[12,194,195],{},[29,196,198],{"href":197},"\u002Farticles\u002Fimages\u002Fimage_636635510293311055.png",[125,199],{"style":200,"title":128,"src":201,"alt":128,"width":202,"height":203,"border":132},"display: inline; background-image: none;","\u002Farticles\u002Fimages\u002Fimage_thumb_636635510296662287.png",336,164,[12,205,206],{},"Step 3 Start up emulator and take a look at storage now.",[12,208,209],{},[29,210,212],{"href":211},"\u002Farticles\u002Fimages\u002Fimage_636635510300830063.png",[125,213],{"style":200,"title":128,"src":214,"alt":128,"width":215,"height":216,"border":132},"\u002Farticles\u002Fimages\u002Fimage_thumb_636635510304088087.png",181,319,{"title":74,"searchDepth":75,"depth":75,"links":218},[],"2018-06-02T19:33:00.000Z","Changing the size of emulator memory as a result of INSTALL_FAILED_INSUFFICIENT_STORAGE error message.  Using the following information you can resize the memory allocated to particular android emulator.",{},"\u002Farticles\u002Fxamarin-android-device-manager-diskdatapartitionsize",{"title":146,"description":220},"articles\u002Fxamarin-android-device-manager-diskdatapartitionsize",[226],"xamarin","FQg2AVDtJFEVZK1j13-8ho-HWvJYPApSvpnabHJdVBg",1781574764391]