Build APK - cordova - Error: unused resources

  • 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="" version="4.9.44" xmlns="" xmlns:cdv="">
      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?

Log in to reply