Error: "Notice: Build Fail" when opening WFS for first time

As an update, I followed through with Ron’s suggestion to contact support and they replied with this:

This issue will be fixed in the next release of WFS. We don’t have the definite schedule of the release but we expect that it will be released within 1 ~ 2 months.
Till then we appreciate your patience.

No problem, we tried. I’ll be looking forward to the update then. At least i can get to work done while waiting.

HI Justin,

I checked your support report and your keystore path is wrong you have to use keystore.jks not the folder to it
In your project menu you have
C:\Users\XXXX\WatchFaceStudio\keystore
it should be
C:\Users\XXXX\WatchFaceStudio\keystore\keystore.jks

That is throwing the error.

Ron
Samsung Developer Relations

Hi Ron,

I set the Keystore Path in the Build menu to C:\Users\justi\WatchFaceStudio\keystore\keystore.kjs but now I am getting another error: Keystore file exists but is empty. I filled out every field so I don’t know what I am doing wrong.

Edit: From the log file these look like the relevant lines:

[1.1.9][26/02/20225:25:07 am][Socket.<anonymous>(KeyStore.js:127)] stderr: Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 9,125 days
	for: CN=Justin Wilson, OU=None, O=None, L=None, ST=None, C=None
[1.1.9][26/02/20225:25:07 am][Socket.<anonymous>(KeyStore.js:127)] stderr: 

[1.1.9][26/02/20225:25:08 am][Socket.<anonymous>(KeyStore.js:127)] stderr: [Storing C:\Users\justi\WatchFaceStudio\keystore\keystore.jks]

[1.1.9][26/02/20225:25:26 am][Object.<anonymous>(captureListener.js:84)] [childWin][OffScreen9][did-create-window] id: 12
[1.1.9][26/02/20225:25:26 am][Object.<anonymous>(captureListener.js:86)] [childWin][OffScreen9][did-frame-finish-load] frameProcessId: 4, frameRoutingId: 34
[1.1.9][26/02/20225:25:27 am][BrowserWindow.<anonymous>(captureListener.js:105)] [childWin][OffScreen9][close]
[1.1.9][26/02/20225:25:27 am][BrowserWindow.<anonymous>(captureListener.js:126)] [childWin][OffScreen9][closed]
[1.1.9][26/02/20225:25:27 am][BrowserWindow.<anonymous>(captureListener.js:127)] [childWin][OffScreen9] childWebContentMap: [RunPreview,2]
[1.1.9][26/02/20225:25:27 am][Object.<anonymous>(captureListener.js:99)] [childWin][OffScreen9][destroyed]



They are empty try N/A instead of None for Organization and Organization unit You need to fill in valid City, State and Country Code
country code is 2 letters

Ron

Hi Ron, can you give me an example city/locality, and state/province for someone who lives in Australia? For us, City and State is kind of the same thing, but we also have suburbs and districts.

Also from the support ticket about pressing the popup on my watch quickly, I did it as fast as I could (less than a second) but still got the blank error (Notice, Build fail:).

Edit: Now I definitely think the connection is a problem because I turned off ADB debugging on my watch and I could still try to connect to my watch. Trying to run will get me the same blank error.

Edit 2: Relevant log files (I changed my internet on my watch so it matches my computer. Previously my watch was on the 5G version of the network)

[1.1.9][26/02/20226:16:36 am][C:\Program(adb.js:380)] Something went wrong: Error: failed to authenticate to 10.1.1.152:5555
    at C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\lib\adb\command\host\connect.js:30:23
    at tryCatcher (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\util.js:26:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\promise.js:503:31)
    at Promise._settlePromiseAt (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\promise.js:577:18)
    at Async._drainQueue (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:128:12)
    at Async._drainQueues (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
[1.1.9][26/02/20226:16:36 am][C:\Program(adb.js:79)] Something went wrong: FailError: Failure: 'device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.'
    at C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\lib\adb\parser.js:183:29
    at tryCatcher (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\util.js:26:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\promise.js:503:31)
    at Promise._settlePromiseAt (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\promise.js:577:18)
    at Async._drainQueue (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:128:12)
    at Async._drainQueues (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
[1.1.9][26/02/20226:16:36 am][C:\Program(adb.js:52)] Something went wrong: FailError: Failure: 'device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.'
    at C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\lib\adb\parser.js:183:29
    at tryCatcher (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\util.js:26:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\promise.js:503:31)
    at Promise._settlePromiseAt (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\promise.js:577:18)
    at Async._drainQueue (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:128:12)
    at Async._drainQueues (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files\WatchFaceStudio\resources\app.asar\node_modules\adbkit\node_modules\bluebird\js\main\async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
[1.1.9][26/02/20226:16:39 am][Object.<anonymous>(captureListener.js:84)] [childWin][OffScreen1][did-create-window] id: 4
[1.1.9][26/02/20226:16:40 am][Object.<anonymous>(captureListener.js:86)] [childWin][OffScreen1][did-frame-finish-load] frameProcessId: 4, frameRoutingId: 10
[1.1.9][26/02/20226:16:40 am][BrowserWindow.<anonymous>(captureListener.js:105)] [childWin][OffScreen1][close]
[1.1.9][26/02/20226:16:40 am][BrowserWindow.<anonymous>(captureListener.js:126)] [childWin][OffScreen1][closed]
[1.1.9][26/02/20226:16:40 am][BrowserWindow.<anonymous>(captureListener.js:127)] [childWin][OffScreen1] childWebContentMap: [RunPreview,2]
[1.1.9][26/02/20226:16:40 am][Object.<anonymous>(captureListener.js:99)] [childWin][OffScreen1][destroyed]

Make sure your output location is a legal folder. WFS will not create the folder if it does not exist and gives the blank error message.

Ron