Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2608

java.lang.RuntimeException: Canvas: trying to draw too large(157286400bytes) bitmap.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6.0
    • Component/s: Android, Cordova
    • Labels:
    • Testing Instructions:
      Hide
      1. In the development environment, checkout the branch with the patch.
      2. Run "cordova run android".
      3. Once it finishes, go to "platforms/android/app/src/main/res" and check that all the folders "drawable-land-" and "drawable-port-" contain the right splash screen.
      Show
      In the development environment, checkout the branch with the patch. Run "cordova run android". Once it finishes, go to "platforms/android/app/src/main/res" and check that all the folders "drawable-land- " and "drawable-port- " contain the right splash screen.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      I found this error when installing an APK built using the development environment in a xxxhdpi emulator.

      It seems Cordova isn't copying the splash screens to the right folder.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Pau Ferrer
            Participants:
            Component watchers:
            Juan Leyva
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jan/19