How to set sdk version to 4.9

How can I set my pebble app SDK version to 4.9? My package.json does not accept a value greater than 3.

I am building this as a c app locally and I am interested in trying out the custom vibration api in 4.9: Vibes // Pebble Developers

"pebble": {
    ...
    "sdkVersion": "4.9",
    ...
slowcache@pop-os:~/projects/pebble/test$ pebble sdk list
Installed SDKs:
4.9.127 (active)

Available SDKs:
4.4
4.5
4.9.148
slowcache@pop-os:~/projects/pebble/test$ pebble build
An invalid value of '4.9' was found in the 'sdkVersion' field of the project's package.json. The latest supported value for this field is '3'.
1 Like

SdkVersion is a misleading field — just leave it on 3. You just need to build the project with the latest SDK.

2 Likes