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

    Build APK - cordova - Error: unused resources

    Help
    1
    1
    103
    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.
    • ahiguita
      ahiguita last edited by

      Hi guys,
      I need you help, it’s my first time build a mobile app using cordova. I have a PWA SSR builded with Quasar, now I want build this app to cordova, I prepared the app using the quasar doc guide. I created an APK and test on DEV mode, all is OK, however, when I try load to Google Play, the system are showing alert about Unused resources.

      I run the cmd quasar build -m android --ideIDE and run the gradlew lint command, and I got more details:

      ../../src/main/res/xml/config.xml:2: The resource R.xml.config appears to be unused
        1 <?xml version='1.0' encoding='utf-8'?>
        2 <widget id="app.eurus.pro" version="4.9.44" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
        3     <feature name="Whitelist">
        4         <param name="android-package" value="org.apache.cordova.whitelist.WhitelistPlugin" />
        5         <param name="onload" value="true" />
      ../../src/main/res/drawable-land-hdpi/screen.png: The resource R.drawable.screen appears to be unused
      

      Do you know how can I solve this issue?

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