Parse Error : There was a problem parsing the package , Error while installing .apk on my phone

  • 1
  • Question
  • Updated 3 years ago
While installing my .apk that I have build using phoneGap build I get error like There was problem parsing the package .

Code of my config file is as follows:-
<?xml version="1.0" encoding="UTF-8"?>

<!--  <?xml version='1.0' encoding='utf-8'?>-->
<widget xmlns:gap="http://phonegap.com/ns/1.0";
    id="Appid.techmondash" version="0.1"
    xmlns="http://www.w3.org/ns/widgets";
    xmlns:cdv="http://cordova.apache.org/ns/1.0">;

  <name>
    Dashboard
  </name>

  <description>
This SAPUI5 app is used to automate manual monitoring .
  </description>

  <author email="" >
    
  </author>

<platform name="android">
    <icon src="image/ldpi.png" />
<icon src="image/mdpi.png" />
<icon src="image/hdpi.png" />
<icon src="image/xhdpi.png" />
<icon src="image/xxhdpi.png" />
<icon src="image/xxxhdpi.png" />

</platform>



<platform name="ios">
    <icon src="icon.png" width="57" height="57" />
<icon src="image/Icon-60.png"  width="60" height="60"/>
  <icon src="image/Icon-60@3x.png"  width="180" height="180"/>
<icon src="image/Icon@2x.png" width="114" height="114" />
<icon src="image/Icon-60@2x.png"  width="120" height="120"/>
<icon src="image/Icon-76.png"  width="76" height="76"/>
<icon src="image/Icon-76@2x.png"  width="152" height="152"/>
<icon src="image/Icon-72.png"  width="72" height="72"/>
<icon src="image/Icon-72@2x.png"  width="144" height="144"/>
<icon src="image/Icon-Small.png"  width="29" height="29"/>
<icon src="image/Icon-Small@2x.png"  width="58" height="58"/>
<icon src="image/Icon-40.png"  width="40" height="40"/>
<icon src="image/Icon-40@2x.png"  width="80" height="80"/>
<icon src="image/Icon-50.png"  width="50" height="50"/>
<icon src="image/Icon-50@2x.png"  width="100" height="100"/>

<!-- iPhone and iPod touch -->
<splash src="Default.png"  width="320" height="480" />
<splash src="Default@2x.png"  width="640" height="960" />

<!-- iPhone 5 / iPod Touch (5th Generation) -->
<splash src="Default-568h@2x.png"  width="640" height="1136" />

<!-- iPhone 6 -->
<splash src="Default-667h@2x.png"  width="750" height="1334" />
<splash src="Default-Portrait-736h@3x.png"  width="1242" height="2208" />
<splash src="Default-Landscape-736h@3x.png"  width="2208" height="1242" />

<!-- iPad -->
<splash src="Default-Portrait.png"  width="768" height="1024" />
<splash src="Default-Landscape.png"  width="1024" height="768" />

<!-- Retina iPad -->
<splash src="Default-Portrait@2x.png"  width="1536" height="2048" />
<splash src="Default-Landscape@2x.png"  width="2048" height="1536" />

</platform>


  <content src="index.html" />

  <plugin name="cordova-plugin-whitelist" />
  <!-- <plugin name="com.indigoway.cordova.whitelist.whitelistplugin" spec="1.1.1" source="pgb" /> -->
  <access origin="*" />
  <allow-navigation href="*" />
  </widget>
Photo of Manali

Manali

  • 5 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Saba Rais

Saba Rais

  • 724 Posts
  • 3 Reply Likes
Hi,
The problem is not big.
Tell me which CLI version you are using?


Saba