I would appreciate too much if someone could help me.
Until yesterday I could build without problem and today I wanted to build again and I mark this error:
“UserError: Error ‘Plugin-Version’ of ‘unspecified’ for ‘com.android.build.gradle.AppPlugin@985ec37’ is not a valid version number You most likely have an out of date plugin or a plugin conflict.”
I already changed the plugins “onesignal-cordova-plugin” and “cordova-background-geolocation-plugin” to AndroidX but still getting the error.
The next step is to isolate the problem. Build twice, each time without one of the two plugins. Do they both have problems?
(This is not likely to be a VoltBuilder issue. It’s something to do with the plugins you are using. Have you checked for open issues in their GitHub repositories?)
FYI: This is new for me as well… now happening with onesignal 3.0.0 and 3.0.1
Also, if you look at my build logs it appears everything built just fine, but Volt still rejects it due to this error. According to a forum post I found online, this is not a game stopper error and can be safely ignored.
Additional note: I can confirm this same “error” is produced with my local builds (my own build enviroment). However, the app indeeds builds just fine and onesignal works perfectly.
Volt: Anyway the Volt android build system can be modified to ignore this error so we can successfully build/publish android? Especially if the build is successful (see below)
Another update: Odd thing is Volt built my app just fine about 3 days ago. Trying to target same Onesignal, cordova, sdk, etc versions.
BUILD SUCCESSFUL in 30s
55 actionable tasks: 55 executed
Built the following bundle(s):
/platforms/android/app/build/outputs/bundle/release/app-release.aab
Error ‘Plugin-Version’ of ‘unspecified’ for ‘com.android.build.gradle.AppPlugin@1bc85003’ is not a valid version number
You most likely have an out of date plugin or a plugin conflict.
Build 9127d15b-f630-4ee2-a8ea-70519427312a failed
I think while you were figuring this out, the latest version/build I tried got uploaded to Google Play. No problem there, but I currently have no update to push out. I might by the end of the day and will let you know when I do.
The solution they are mentioning is about the bug with the plugin “onesignal-cordova-plugin”?
Because if so, I just tried it now and it continues to show the same error.
I would appreciate that in case that error has been fixed, you will help me with the configuration of the “config.xml” file.
Failed UserError: Error ‘Plugin-Version’ of ‘unspecified’ for ‘com.android.build.gradle.AppPlugin@668a086b’ is not a valid version number You most likely have an out of date plugin or a plugin conflict.