Phonegap Version Configuration on old NSB Project

I have an old NSB project that I have continued to bring over to the latest versions of NSB. One thing that I am having issues with is getting the correct Phonegap versioning. When I build my phonegap project and check device.cordova i get 6.1.2

I noticed that my config.xml looks a bit different than the examples

id = "com.nsbasic.phonegap"
versionCode = "1"
version = "1.0.0"
<preference name="phonegap-version" value="" />

So I altered it to look more like the samples

id = "com.nsbasic.{id}"
versionCode = "1"
version = "{version}">
<preference name="phonegap-version" value="{phoneGapVersion}" />

Next, I assume that it now references the version from the project properties so I set the value, I get different errors

version=cli-6.1.2   Phonegap 6.1.2 not supported
version=cli-7.0.0   Phonegap 7.0.0 not supported
version=cli-8.0.0   Error  Source path dies not exist     icons/android/ldpi.png 

I figure it must be some legacy configuration left on this project because if I build a sample project which has a cli-8.0.0 in properties it builds just fine

One thing I thought possible, where is the reference for {id} come from?

id = "com.nsbasic.{id}

The value for {id} is the name the project is saved at.

cli-8.0.0 is the one to use these days. However, it requires more icon files than earlier versions did. Once you add those, it should work.

Thanks for pointing me in the right direction!

I added a folder “icons” and “splash” to my project.

One more change is needed… in properties -> extrafiles add “splash” and “icons”

works great now!!

Appreciate the help