No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Error compiling cordova android

    Help
    2
    7
    798
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      leon last edited by leon

      I have a fresh install of quasar cli and created a project.
      Installed cordova from docs.
      I did this too
      cd src-cordova
      cordova plugin add cordova-plugin-splashscreen
      cordova plugin save

      When compile get error above.
      Tks for help!

      test\src-cordova\platforms\android\app\src\main\res\drawable-land-hdpi\screen.png: Error: The drawable “screen” in drawable-land-hdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource]

      
      Operating System - Windows_NT(10.0.18363) - win32/x64
      NodeJs - 10.21.0
      
      Global packages
        NPM - 6.14.4
        yarn - 1.22.4
        @quasar/cli - 1.1.0
        cordova - 9.0.0 (cordova-lib@9.0.1)
      
      Important local packages
        quasar - 1.12.13 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
        @quasar/app - 2.0.6 -- Quasar Framework local CLI
        @quasar/extras - 1.9.0 -- Quasar Framework fonts, icons and animations
        eslint-plugin-quasar - Not installed
        vue - 2.6.11 -- Reactive, component-oriented view layer for modern web interfaces.
        vue-router - 3.2.0 -- Official router for Vue.js 2
        vuex - 3.4.0 -- state management for Vue.js
        electron - Not installed
        electron-packager - Not installed
        electron-builder - Not installed
        @capacitor/core - Not installed
        @capacitor/cli - Not installed
        @capacitor/android - Not installed
        @capacitor/ios - Not installed
        @babel/core - 7.10.5 -- Babel compiler core.
        webpack - 4.43.0 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
        webpack-dev-server - 3.11.0 -- Serves a webpack app. Updates the browser on changes.
        workbox-webpack-plugin - Not installed
        register-service-worker - 1.7.1 -- Script for registering service worker, with hooks
        typescript - 3.9.5 -- TypeScript is a language for application scale JavaScript development
      
      Quasar App Extensions
        *None installed*
      1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel last edited by

        does it work without the cordova-plugin-splashscreen?

        1 Reply Last reply Reply Quote 0
        • L
          leon last edited by

          No.
          I installed the splashcreeen wishing to help

          dobbel 1 Reply Last reply Reply Quote 0
          • dobbel
            dobbel @leon last edited by dobbel

            @leon with what command did you start your app?

            here’s a thread with the same problem. Last 2 posts says it has a solution:

            https://github.com/apache/cordova-android/issues/689

            1 Reply Last reply Reply Quote 0
            • L
              leon last edited by

              Tks for the help man, the problem is:
              quasar docs must put this part https://quasar.dev/quasar-cli/developing-cordova-apps/app-icons-cordova
              as mandatory to generate, in previus versions this are not.

              dobbel 1 Reply Last reply Reply Quote 0
              • dobbel
                dobbel @leon last edited by dobbel

                @leon ah so you did not have any icons or spashscreen images at all?

                I agree without Icon Genie or something similar you’re going to have a bad time with Cordova.

                I think its a a good idea to read the complete quasar doc at least once globally,

                1 Reply Last reply Reply Quote 0
                • L
                  leon last edited by leon

                  Yea man, i know, we must read docs before post something, but this project was compiling in early versions whitout manage any icons.
                  In upgrade docs dont mention this change of mandatory.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post