Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70752

Ionic Missing Default Resources

$
0
0

@AhsanMughal wrote:

Hello i am working on ionic application. with executing this command ionic cordova build android --prod --release . it does generate the unasigned apk file. but it also show error.

Error: this error is reference to config.xml file splash screen src path.

\platforms\android\app\src\main\res\drawable-port-mdpi\screen.png: Error: The drawable “screen” in drawable-port-mdpi 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]

Explanation for issues of type “MissingDefaultResource”: If a resource is only defined in folders with qualifiers like -land or -en, and there is no default declaration in the base folder (layout or values etc), then the app will crash if that resource is accessed on a device where the device is in a configuration missing the given qualifier.

Reference https://github.com/apache/cordova-plugin-splashscreen/issues/214

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>