skip to Main Content

Android Studio – Exception is thrown when running flutter app, on assembleDebug Task. Tries to read file from non existing path that's not specified anywhere

Error Launching lib/main.dart on sdk gphone64 arm64 in debug mode... Running Gradle task 'assembleDebug'... E/flutter ( 6095): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Unable to load asset: assets/ This started happening out of nowhere, after the exception is thrown, the task still runs…

VIEW QUESTION

Android Studio – Dialog Box Appears for half a second and closes automatically

I am trying to create a very simple dialog box. I found the code references from the internet obviously. My code is this: AlertDialog.Builder alertDialog = new AlertDialog.Builder( ConsignmentConViewActivity.this); alertDialog.setTitle("Alert Dialog"); alertDialog.setMessage("Welcome to AndroidHive.info"); alertDialog.setPositiveButton("OK", new DialogInterface.OnClickListener() { public void…

VIEW QUESTION
Back To Top
Search