4 Replies Latest reply on May 2, 2017 7:20 PM by GeneralUSA

    PGB App Fails to Install Due to Parsing Error

    ghabrel

      So this is my first time using PGB, so it may well be that I'm just not familiar enough with it to do it properly, but the app's HTML is super simple and I don't think it requires any plugins (it doesn't even use additional resources, the index.html has everything in it. So that leads me to the assumption that whatever is wrong must be in the config.xml. What I currently have for it is as follows:

       

      <?xml version="1.0" encoding="UTF-8" ?>

      <widget id = "Attack.and.Damage.Roller" version = "0.2.1" xmlns = "http://www.w3.org/ns/widgets" xmlns:cdv = "http://cordova.apache.org/ns/1.0">

             

              <name>Attack and Damage Roller</name>

             

              <description>A simple program for rolling multiple NPC attack and damage rolls for Dungeons and Dragons 5th Edition.</description>

             

              <content src="index.html" />

             

      </widget>

       

      So the last thing I did was remove the versionCode attribute and platform element, figuring maybe those were part of the problem, and added the xmlns and xmlns:cdv attributes, directly pasted from the cordova config.xml example (Config.xml - Apache Cordova), wondering if maybe I needed those.

       

      Maybe I misunderstand the proper use of the id attribute and it's supposed to link to an actual webpage; what if I don't need my app to access the internet, just run HTML?

       

      Whatever the case, I'm having issues getting this program onto my phone and the reason why is beyond me. Any assistance would be greatly appreciated.