Cannot activate an emulator device

Hi,

I am trying to setup a poynt emulator on my machine.

After entering all the information, When I click on activate I get an error 111 back.

I have repeated the same process about 4-5 times to no avail.

Also attached is the screenshot of the error.

Can you please point out what might be the cause of this error.

Can you post the messages from the logcat?

Following are the the logs from logcat.

12-08 00:29:03.681: D/CLOUD-API(873): —> HTTP POST https://services.poynt.net/storeDevices/activate
12-08 00:29:03.681: D/CLOUD-API(873): POYNT-REQUEST-ID: 80107283-0151-1000-0000-000000000000
12-08 00:29:03.681: D/CLOUD-API(873): api-version: 1.2
12-08 00:29:03.691: D/CLOUD-API(873): User-Agent: Poynt Services/1.0-R152 (Android 4.4.4; 1743154; ; unknown)
12-08 00:29:03.691: D/CLOUD-API(873): Content-Type: application/json; charset=UTF-8
12-08 00:29:03.701: D/CLOUD-API(873): Content-Length: 630
12-08 00:29:03.701: D/CLOUD-API(873): —> END HTTP (630-byte body)
12-08 00:29:03.901: E/CO.POYNT.SERVICES(873): NO CARD READER DETECTED
12-08 00:29:07.011: W/dalvikvm(873): VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
12-08 00:29:07.041: W/dalvikvm(873): VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
12-08 00:29:07.121: I/dalvikvm(873): Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink
12-08 00:29:07.131: W/dalvikvm(873): VFY: unable to resolve static method 28548: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
12-08 00:29:07.161: D/dalvikvm(873): VFY: replacing opcode 0x71 at 0x000b
12-08 00:29:07.181: W/dalvikvm(873): VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
12-08 00:29:07.201: W/dalvikvm(873): VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
12-08 00:29:07.241: I/dalvikvm(873): Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source
12-08 00:29:07.241: W/dalvikvm(873): VFY: unable to resolve static method 28547: Ljava/nio/file/Files;.newInputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
12-08 00:29:07.251: D/dalvikvm(873): VFY: replacing opcode 0x71 at 0x000b
12-08 00:29:07.991: I/POYNT-EVENT(873): {“time” : “2015-12-08T05:29:07Z”, “type” : “REST_API”, “resource” : “”, “status” : “FAILURE”, “storeDeviceId” : “”, “processingTime” : 3706.11437, “method” : “POST”, “apiStatusCode” : 404, “apiRequestId” : “80107283-0151-1000-0000-000000000000”, “apiEndpoint” : “https://services.poynt.net/storeDevices/activate”, “apiServerDate” : “Tue, 08 Dec 2015 05:29:07 GMT”, “apiServerBuild” : “1.2.88-20151204-0658”, “apiServerInstanceId” : “i-21da0ce8”, “sdkErrorCode” : 0}
12-08 00:29:07.991: D/CLOUD-API(873): <— HTTP 404 https://services.poynt.net/storeDevices/activate (4287ms)
12-08 00:29:08.001: D/CLOUD-API(873): Server: nginx
12-08 00:29:08.001: D/CLOUD-API(873): Date: Tue, 08 Dec 2015 05:29:07 GMT
12-08 00:29:08.001: D/CLOUD-API(873): Content-Type: application/json;charset=UTF-8
12-08 00:29:08.001: D/CLOUD-API(873): Transfer-Encoding: chunked
12-08 00:29:08.001: D/CLOUD-API(873): Connection: keep-alive
12-08 00:29:08.011: D/CLOUD-API(873): Vary: Accept-Encoding
12-08 00:29:08.011: D/CLOUD-API(873): Poynt-Request-Id: 80107283-0151-1000-0000-000000000000
12-08 00:29:08.011: D/CLOUD-API(873): Poynt-Build-Info: 1.2.88-20151204-0658
12-08 00:29:08.011: D/CLOUD-API(873): Instance-Id: i-21da0ce8
12-08 00:29:08.011: D/CLOUD-API(873): OkHttp-Selected-Protocol: http/1.1
12-08 00:29:08.011: D/CLOUD-API(873): OkHttp-Sent-Millis: 1449552547338
12-08 00:29:08.011: D/CLOUD-API(873): OkHttp-Received-Millis: 1449552547780
12-08 00:29:08.011: D/CLOUD-API(873): <— END HTTP (-1-byte body)
12-08 00:29:08.511: D/dalvikvm(873): GC_FOR_ALLOC freed 526K, 12% free 4619K/5224K, paused 211ms, total 213ms
12-08 00:29:08.621: E/CO.POYNT.SERVICES(873): Exception received while activating terminal:PoyntAPIException{HTTP statusCode=404 apiErrorCode=STORE_DEVICE_NOT_FOUND Network Error? false}
12-08 00:29:08.811: E/null(911): PoyntError{code=0, httpStatusCode=404, apiErrorCode=STORE_DEVICE_NOT_FOUND, reason=‘Store device not found in our records.’, data=‘null’, requestId=‘null’, throwable=}
12-08 00:29:08.931: E/CO.POYNT.SERVICES(873): NO CARD READER DETECTED
12-08 00:29:12.691: D/dalvikvm(911): GC_FOR_ALLOC freed 566K, 16% free 8228K/9692K, paused 30ms, total 32ms
12-08 00:29:12.931: D/dalvikvm(911): GC_FOR_ALLOC freed 1081K, 17% free 8427K/10092K, paused 33ms, total 35ms
12-08 00:29:13.181: D/dalvikvm(911): GC_FOR_ALLOC freed 589K, 12% free 9220K/10392K, paused 29ms, total 31ms
12-08 00:29:13.451: D/dalvikvm(911): GC_FOR_ALLOC freed 588K, 11% free 10108K/11292K, paused 31ms, total 32ms

One of our engineers is checking into this.

It appears you have been able to activate the emulator after all. Can you please let us know if you are still seeing any issues?

Hello,

we are facing the same issue here. First call looks like it would work in the logs, but it never appears to be activated on the device (Error 111), and on subsequent calls the log shows an error 404 and no further error message in activation (it just falls back to the payment provider selection screen.
However on the backend the device is listed as activated.

logcat from initial sequence:

03-21 07:12:24.226 8576-12181/co.poynt.services D/CLOUD-API: ---> HTTP POST https://services.poynt.net/storeDevices/activate
03-21 07:12:24.226 8576-12181/co.poynt.services D/CLOUD-API: POYNT-REQUEST-ID: 98e031ac-0153-1000-0000-000000000000
03-21 07:12:24.226 8576-12181/co.poynt.services D/CLOUD-API: api-version: 1.2
03-21 07:12:24.226 8576-12181/co.poynt.services D/CLOUD-API: User-Agent: Poynt Services/1.0-R152 (Android 4.4.4; 1743154; ; unknown)
03-21 07:12:24.236 8576-12181/co.poynt.services D/CLOUD-API: Content-Type: application/json; charset=UTF-8
03-21 07:12:24.236 8576-12181/co.poynt.services D/CLOUD-API: Content-Length: 638
03-21 07:12:24.236 8576-12181/co.poynt.services D/CLOUD-API: ---> END HTTP (638-byte body)
03-21 07:12:26.486 8576-12181/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 455K, 13% free 3594K/4116K, paused 93ms, total 93ms
03-21 07:12:26.976 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:12:28.426 8576-12181/co.poynt.services W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
03-21 07:12:28.426 8576-12181/co.poynt.services W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
03-21 07:12:28.436 8576-12181/co.poynt.services I/dalvikvm: Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink
03-21 07:12:28.436 8576-12181/co.poynt.services W/dalvikvm: VFY: unable to resolve static method 28548: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
03-21 07:12:28.466 8576-12181/co.poynt.services D/dalvikvm: VFY: replacing opcode 0x71 at 0x000b
03-21 07:12:28.476 8576-12181/co.poynt.services W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
03-21 07:12:28.496 8576-12181/co.poynt.services W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
03-21 07:12:28.566 8576-12181/co.poynt.services I/dalvikvm: Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source
03-21 07:12:28.586 8576-12181/co.poynt.services W/dalvikvm: VFY: unable to resolve static method 28547: Ljava/nio/file/Files;.newInputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
03-21 07:12:28.586 8576-12181/co.poynt.services D/dalvikvm: VFY: replacing opcode 0x71 at 0x000b
03-21 07:12:29.036 8576-12181/co.poynt.services I/POYNT-EVENT: {"time" : "2016-03-21T11:12:28Z", "type" : "REST_API", "resource" : "", "status" : "SUCCESS", "storeDeviceId" : "", "processingTime" : 4273.372433, "method" : "POST", "apiStatusCode" : 200, "apiRequestId" : "98e031ac-0153-1000-0000-000000000000", "apiEndpoint" : "https://services.poynt.net/storeDevices/activate", "apiServerDate" : "Mon, 21 Mar 2016 11:12:28 GMT", "apiServerBuild" : "1.2.121-20160314-2049", "apiServerInstanceId" : "i-21da0ce8", "sdkErrorCode" : 0}
03-21 07:12:29.126 8576-12181/co.poynt.services D/CLOUD-API: <--- HTTP 200 https://services.poynt.net/storeDevices/activate (4850ms)
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Server: nginx
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Date: Mon, 21 Mar 2016 11:12:28 GMT
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Content-Type: application/json;charset=UTF-8
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Transfer-Encoding: chunked
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Connection: keep-alive
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Vary: Accept-Encoding
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Poynt-Request-Id: 98e031ac-0153-1000-0000-000000000000
03-21 07:12:29.146 8576-12181/co.poynt.services D/CLOUD-API: Poynt-Build-Info: 1.2.121-20160314-2049
03-21 07:12:29.156 8576-12181/co.poynt.services D/CLOUD-API: Instance-Id: i-21da0ce8
03-21 07:12:29.156 8576-12181/co.poynt.services D/CLOUD-API: OkHttp-Selected-Protocol: http/1.1
03-21 07:12:29.156 8576-12181/co.poynt.services D/CLOUD-API: OkHttp-Sent-Millis: 1458558748614
03-21 07:12:29.156 8576-12181/co.poynt.services D/CLOUD-API: OkHttp-Received-Millis: 1458558748928
03-21 07:12:29.156 8576-12181/co.poynt.services D/CLOUD-API: <--- END HTTP (-1-byte body)
03-21 07:12:30.496 8576-12181/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 424K, 12% free 3682K/4172K, paused 49ms, total 49ms
03-21 07:12:32.066 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:12:32.746 8576-12181/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 268K, 8% free 3920K/4260K, paused 53ms, total 54ms
03-21 07:12:34.836 8576-12181/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 266K, 8% free 4156K/4500K, paused 297ms, total 297ms
03-21 07:12:37.136 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:12:38.436 8576-12181/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 349K, 9% free 4313K/4736K, paused 273ms, total 287ms
03-21 07:12:40.166 8576-12181/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 336K, 9% free 4490K/4904K, paused 200ms, total 200ms
03-21 07:12:42.426 363-378/system_process D/dalvikvm: GC_FOR_ALLOC freed 1691K, 45% free 7561K/13532K, paused 337ms, total 345ms
03-21 07:12:42.436 363-378/system_process I/ActivityManager: Start proc co.poynt.services:LiveStream for service co.poynt.services/.PoyntLiveStreamMonitorService: pid=12374 uid=10056 gids={50056, 3003, 1028, 1015}
03-21 07:12:43.066 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:12:43.856 12374-12374/co.poynt.services:LiveStream I/MultiDex: VM with version 1.6.0 does not have multidex support
03-21 07:12:43.856 12374-12374/co.poynt.services:LiveStream I/MultiDex: install
03-21 07:12:43.926 12374-12374/co.poynt.services:LiveStream I/MultiDex: MultiDexExtractor.load(/data/app/co.poynt.services-1.apk, false)
03-21 07:12:44.276 12374-12374/co.poynt.services:LiveStream I/MultiDex: loading existing secondary dex files
03-21 07:12:44.306 12374-12374/co.poynt.services:LiveStream I/MultiDex: load found 1 secondary dex files
03-21 07:12:44.466 12374-12374/co.poynt.services:LiveStream I/MultiDex: install done
03-21 07:12:45.596 12374-12374/co.poynt.services:LiveStream I/Fabric: Initializing Crashlytics 2.2.3.41
03-21 07:12:45.816 8576-12359/co.poynt.services D/CLOUD-API: ---> HTTP POST https://services.poynt.net/token
03-21 07:12:45.826 8576-12359/co.poynt.services D/CLOUD-API: api-version: 1.2
03-21 07:12:45.826 8576-12359/co.poynt.services D/CLOUD-API: User-Agent: Poynt Services/1.0-R152 (Android 4.4.4; 1743154; ; unknown)
03-21 07:12:45.826 8576-12359/co.poynt.services D/CLOUD-API: Content-Type: application/x-www-form-urlencoded; charset=UTF-8
03-21 07:12:46.276 8576-12359/co.poynt.services D/CLOUD-API: Content-Length: 638
03-21 07:12:46.276 8576-12359/co.poynt.services D/CLOUD-API: ---> END HTTP (638-byte body)
03-21 07:12:47.216 12374-12374/co.poynt.services:LiveStream D//PoyntServicesApplication.java:149: main getRootModule
03-21 07:12:47.286 12374-12374/co.poynt.services:LiveStream D//Injector.java:12: main init()
03-21 07:12:47.466 8576-12359/co.poynt.services I/POYNT-EVENT: {"time" : "2016-03-21T11:12:47Z", "type" : "REST_API", "resource" : "", "status" : "FAILURE", "storeDeviceId" : "", "processingTime" : 280.349561, "method" : "POST", "apiStatusCode" : 400, "apiRequestId" : "1b5507ff-2926-4a92-a589-faca8392f173", "apiEndpoint" : "https://services.poynt.net/token", "apiServerDate" : "Mon, 21 Mar 2016 11:12:46 GMT", "apiServerBuild" : "1.2.121-20160314-2049", "apiServerInstanceId" : "i-0325afcb", "sdkErrorCode" : 0}
03-21 07:12:47.466 8576-12359/co.poynt.services D/CLOUD-API: <--- HTTP 400 https://services.poynt.net/token (1191ms)
03-21 07:12:47.466 8576-12359/co.poynt.services D/CLOUD-API: Server: nginx
03-21 07:12:47.666 8576-12359/co.poynt.services D/CLOUD-API: Date: Mon, 21 Mar 2016 11:12:46 GMT
03-21 07:12:47.666 8576-12359/co.poynt.services D/CLOUD-API: Content-Type: application/json;charset=UTF-8
03-21 07:12:47.676 8576-12359/co.poynt.services D/CLOUD-API: Transfer-Encoding: chunked
03-21 07:12:47.676 8576-12359/co.poynt.services D/CLOUD-API: Connection: keep-alive
03-21 07:12:47.676 8576-12359/co.poynt.services D/CLOUD-API: Poynt-Request-Id: 1b5507ff-2926-4a92-a589-faca8392f173
03-21 07:12:47.676 8576-12359/co.poynt.services D/CLOUD-API: Poynt-Build-Info: 1.2.121-20160314-2049
03-21 07:12:47.776 8576-12359/co.poynt.services D/CLOUD-API: Instance-Id: i-0325afcb
03-21 07:12:47.776 8576-12359/co.poynt.services D/CLOUD-API: OkHttp-Selected-Protocol: http/1.1
03-21 07:12:47.806 8576-12359/co.poynt.services D/CLOUD-API: OkHttp-Sent-Millis: 1458558766808
03-21 07:12:47.836 8576-12359/co.poynt.services D/CLOUD-API: OkHttp-Received-Millis: 1458558767040
03-21 07:12:47.836 8576-12359/co.poynt.services D/CLOUD-API: <--- END HTTP (-1-byte body)
03-21 07:12:47.926 12374-12413/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 386K, 14% free 2875K/3328K, paused 143ms, total 166ms
03-21 07:12:48.306 8576-9539/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 428K, 10% free 4635K/5140K, paused 72ms, total 76ms
03-21 07:12:48.336 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:12:49.166 8576-12359/co.poynt.services W/System.err: PoyntAPIException{HTTP statusCode=400 apiErrorCode=INVALID_PARAMETER Network Error? false}
03-21 07:12:49.346 12374-12374/co.poynt.services:LiveStream D//Injector.java:18: main successfully loaded into objectgraph
03-21 07:12:49.366 8576-12359/co.poynt.services W/System.err:     at co.poynt.services.rest.RestErrorHandler.handleError(RestErrorHandler.java:15)
03-21 07:12:49.466 8576-12359/co.poynt.services W/System.err:     at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:242)
03-21 07:12:49.466 8576-12359/co.poynt.services W/System.err:     at $Proxy12.getDeviceJWT(Native Method)
03-21 07:12:49.476 8576-12359/co.poynt.services W/System.err:     at co.poynt.services.processors.PoyntAuthProcessorImpl.getDeviceToken(PoyntAuthProcessorImpl.java:382)
03-21 07:12:49.476 8576-12359/co.poynt.services W/System.err:     at co.poynt.services.tasks.business.LoadBusinessTask.doInBackground(LoadBusinessTask.java:50)
03-21 07:12:49.476 8576-12359/co.poynt.services W/System.err:     at co.poynt.services.tasks.business.LoadBusinessTask.doInBackground(LoadBusinessTask.java:24)
03-21 07:12:49.476 8576-12359/co.poynt.services W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:288)
03-21 07:12:49.476 8576-12359/co.poynt.services W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-21 07:12:49.526 8576-12359/co.poynt.services W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
03-21 07:12:49.526 8576-12359/co.poynt.services W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
03-21 07:12:49.586 8576-12359/co.poynt.services W/System.err:     at java.lang.Thread.run(Thread.java:841)
03-21 07:12:49.656 8576-12359/co.poynt.services E/CO.POYNT.SERVICES: Exception received while activating terminal:PoyntAPIException{HTTP statusCode=400 apiErrorCode=INVALID_PARAMETER Network Error? false}
03-21 07:12:49.926 12374-12374/co.poynt.services:LiveStream D//Ln.java:241: main Configuring Logging, minimum log level is INFO
03-21 07:12:50.826 8252-8252/co.poynt.setupwizard E/null: PoyntError{code=0, httpStatusCode=400, apiErrorCode=INVALID_PARAMETER, reason='Parameter provided is invalid.', data='null', requestId='null', throwable=}
03-21 07:12:51.026 12374-12374/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 344K, 12% free 3045K/3456K, paused 82ms, total 82ms
03-21 07:12:52.736 12374-12496/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 307K, 11% free 3249K/3624K, paused 31ms, total 31ms
03-21 07:12:53.396 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:12:54.636 8252-8252/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 2545K, 27% free 7403K/10020K, paused 48ms, total 52ms
03-21 07:12:55.396 8252-8252/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 824K, 20% free 8089K/10020K, paused 63ms, total 66ms
03-21 07:12:55.626 8252-8252/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 688K, 15% free 8581K/10020K, paused 33ms, total 34ms
03-21 07:12:56.056 8252-8252/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 587K, 13% free 9182K/10520K, paused 122ms, total 123ms
03-21 07:12:56.326 8252-8252/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 393K, 11% free 10067K/11220K, paused 37ms, total 37ms
03-21 07:12:56.646 8252-8252/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 1074K, 16% free 10269K/12120K, paused 92ms, total 94ms
03-21 07:12:56.826 8252-8252/co.poynt.setupwizard I/Choreographer: Skipped 130 frames!  The application may be doing too much work on its main thread.
03-21 07:12:57.496 12374-12374/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 350K, 11% free 3409K/3828K, paused 58ms, total 59ms
03-21 07:12:57.926 12374-12435/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 299K, 10% free 3617K/3988K, paused 28ms, total 31ms
03-21 07:12:58.476 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:12:58.656 12374-12412/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 368K, 11% free 3755K/4196K, paused 30ms, total 42ms
03-21 07:12:59.406 12374-12412/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 271K, 8% free 3990K/4336K, paused 158ms, total 159ms
03-21 07:12:59.826 12374-12412/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 356K, 10% free 4135K/4568K, paused 38ms, total 39ms
03-21 07:13:00.616 12374-12374/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 381K, 10% free 4259K/4716K, paused 53ms, total 54ms
03-21 07:13:00.706 12374-12374/co.poynt.services:LiveStream I/dalvikvm: Could not find method co.poynt.device.manager.DeviceManager.getInstance, referenced from method co.poynt.services.util.DeviceManagerProxy.<init>
03-21 07:13:00.706 12374-12374/co.poynt.services:LiveStream W/dalvikvm: VFY: unable to resolve static method 5940: Lco/poynt/device/manager/DeviceManager;.getInstance (Landroid/content/Context;)Lco/poynt/device/manager/DeviceManager;
03-21 07:13:00.706 12374-12374/co.poynt.services:LiveStream D/dalvikvm: VFY: replacing opcode 0x71 at 0x001c
03-21 07:13:00.706 12374-12374/co.poynt.services:LiveStream W/dalvikvm: VFY: unable to find class referenced in signature (Lco/poynt/device/manager/service/IPrinterServiceListener;)
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream I/dalvikvm: Could not find method co.poynt.device.manager.DeviceManager.printImage, referenced from method co.poynt.services.util.DeviceManagerProxy.printImage
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream W/dalvikvm: VFY: unable to resolve virtual method 5941: Lco/poynt/device/manager/DeviceManager;.printImage (Ljava/lang/String;Landroid/graphics/Bitmap;Lco/poynt/device/manager/service/IPrinterServiceListener;)Z
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream I/dalvikvm: Could not find method co.poynt.device.manager.DeviceManager.printerToLowPowerMode, referenced from method co.poynt.services.util.DeviceManagerProxy.printerToLowPowerMode
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream W/dalvikvm: VFY: unable to resolve virtual method 5942: Lco/poynt/device/manager/DeviceManager;.printerToLowPowerMode ()Z
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream I/dalvikvm: Could not find method co.poynt.device.manager.DeviceManager.softResetPrinter, referenced from method co.poynt.services.util.DeviceManagerProxy.putPrinterInPowerSaveMode
03-21 07:13:00.716 12374-12374/co.poynt.services:LiveStream W/dalvikvm: VFY: unable to resolve virtual method 5944: Lco/poynt/device/manager/DeviceManager;.softResetPrinter ()Z
03-21 07:13:00.726 12374-12374/co.poynt.services:LiveStream D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
03-21 07:13:00.726 12374-12374/co.poynt.services:LiveStream I/dalvikvm: Could not find method co.poynt.device.manager.DeviceManager.resetPaymentBoardPower, referenced from method co.poynt.services.util.DeviceManagerProxy.resetPaymentBoardPower
03-21 07:13:00.726 12374-12374/co.poynt.services:LiveStream W/dalvikvm: VFY: unable to resolve virtual method 5943: Lco/poynt/device/manager/DeviceManager;.resetPaymentBoardPower ()Z
03-21 07:13:00.726 12374-12374/co.poynt.services:LiveStream D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
03-21 07:13:00.726 12374-12374/co.poynt.services:LiveStream I/dalvikvm: Could not find method co.poynt.device.manager.DeviceManager.wakeupPrinter, referenced from method co.poynt.services.util.DeviceManagerProxy.wakeupPrinter
03-21 07:13:00.726 12374-12374/co.poynt.services:LiveStream W/dalvikvm: VFY: unable to resolve virtual method 5945: Lco/poynt/device/manager/DeviceManager;.wakeupPrinter ()Z
03-21 07:13:00.726 12374-12374/co.poynt.services:LiveStream D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
03-21 07:13:00.956 12374-12374/co.poynt.services:LiveStream E/CO.POYNT.SERVICES: package co.poynt.device.manager not found
03-21 07:13:00.956 12374-12374/co.poynt.services:LiveStream W/ContextImpl: Implicit intents with startService are not safe: Intent { act=co.poynt.os.services.v1.IPoyntCapabilityManager } android.content.ContextWrapper.bindService:517 co.poynt.os.util.CapabilityProviderServiceHelper.bindCapabilityManager:59 co.poynt.os.util.CapabilityProviderServiceHelper.<init>:53 
03-21 07:13:01.026 12374-12374/co.poynt.services:LiveStream W/ContextImpl: Implicit intents with startService are not safe: Intent { act=co.poynt.os.services.v1.IPoyntAccessoryManager } android.content.ContextWrapper.bindService:517 co.poynt.os.util.AccessoryProviderServiceHelper.bindAccessoryManager:59 co.poynt.os.util.AccessoryProviderServiceHelper.<init>:53 
03-21 07:13:01.146 8576-8576/co.poynt.services D/CardReaderResetService: Card reader reset service starting...
03-21 07:13:01.266 414-414/com.android.systemui D/dalvikvm: GC_FOR_ALLOC freed 991K, 8% free 13907K/14960K, paused 60ms, total 65ms
03-21 07:13:01.966 12374-12576/co.poynt.services:LiveStream W/com.amplitude.api.DeviceInfo: Google Play Services SDK not found!
03-21 07:13:02.866 12374-12605/co.poynt.services:LiveStream D/dalvikvm: GC_FOR_ALLOC freed 393K, 10% free 4364K/4836K, paused 42ms, total 42ms
03-21 07:13:03.546 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:03.616 12374-12616/co.poynt.services:LiveStream I/CO.POYNT.SERVICES: Websocket successfully connected.
03-21 07:13:08.566 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:13.596 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:18.636 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:23.666 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:28.696 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:33.716 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:38.736 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:43.756 8576-9539/co.poynt.services E/CO.POYNT.SERVICES: NO CARD READER DETECTED
03-21 07:13:44.156 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.156 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.156 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.166 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.166 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.166 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.176 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.176 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
03-21 07:13:44.176 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressStandard.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
03-21 07:13:44.176 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressSpacebar.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
03-21 07:13:44.176 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressDelete.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
03-21 07:13:44.176 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressReturn.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
03-21 07:13:44.176 363-408/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressInvalid.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg
03-21 07:13:44.176 363-408/system_process W/AudioService: onLoadSoundEffects(), Error -1 while loading samples
03-21 07:13:44.716 8252-8252/co.poynt.setupwizard W/EGL_emulation: eglSurfaceAttrib not implemented

logcat from subsequent calls:

03-21 12:20:17.896 8576-12181/co.poynt.services D/CLOUD-API: ---> HTTP POST https://services.poynt.net/storeDevices/activate
03-21 12:20:17.896 8576-12181/co.poynt.services D/CLOUD-API: POYNT-REQUEST-ID: 98e77050-0153-1000-0000-000000000000
03-21 12:20:17.906 8576-12181/co.poynt.services D/CLOUD-API: api-version: 1.2
03-21 12:20:17.906 8576-12181/co.poynt.services D/CLOUD-API: User-Agent: Poynt Services/1.0-R152 (Android 4.4.4; 1743154; ; unknown)
03-21 12:20:17.916 8576-12181/co.poynt.services D/CLOUD-API: Content-Type: application/json; charset=UTF-8
03-21 12:20:17.916 8576-12181/co.poynt.services D/CLOUD-API: Content-Length: 638
03-21 12:20:17.916 8576-12181/co.poynt.services D/CLOUD-API: ---> END HTTP (638-byte body)
03-21 12:20:19.896 8576-12181/co.poynt.services I/POYNT-EVENT: {"time" : "2016-03-21T11:20:19Z", "type" : "REST_API", "resource" : "", "status" : "FAILURE", "storeDeviceId" : "", "processingTime" : 1677.985405, "method" : "POST", "apiStatusCode" : 404, "apiRequestId" : "98e77050-0153-1000-0000-000000000000", "apiEndpoint" : "https://services.poynt.net/storeDevices/activate", "apiServerDate" : "Mon, 21 Mar 2016 11:20:19 GMT", "apiServerBuild" : "1.2.121-20160314-2049", "apiServerInstanceId" : "i-21da0ce8", "sdkErrorCode" : 0}
03-21 12:20:19.896 8576-12181/co.poynt.services D/CLOUD-API: <--- HTTP 404 https://services.poynt.net/storeDevices/activate (1982ms)
03-21 12:20:19.906 8576-12181/co.poynt.services D/CLOUD-API: Server: nginx
03-21 12:20:19.906 8576-12181/co.poynt.services D/CLOUD-API: Date: Mon, 21 Mar 2016 11:20:19 GMT
03-21 12:20:19.906 8576-12181/co.poynt.services D/CLOUD-API: Content-Type: application/json;charset=UTF-8
03-21 12:20:19.916 8576-12181/co.poynt.services D/CLOUD-API: Transfer-Encoding: chunked
03-21 12:20:19.916 8576-12181/co.poynt.services D/CLOUD-API: Connection: keep-alive
03-21 12:20:19.916 8576-12181/co.poynt.services D/CLOUD-API: Vary: Accept-Encoding
03-21 12:20:19.916 8576-12181/co.poynt.services D/CLOUD-API: Poynt-Request-Id: 98e77050-0153-1000-0000-000000000000
03-21 12:20:19.916 8576-12181/co.poynt.services D/CLOUD-API: Poynt-Build-Info: 1.2.121-20160314-2049
03-21 12:20:19.926 8576-12181/co.poynt.services D/CLOUD-API: Instance-Id: i-21da0ce8
03-21 12:20:19.926 8576-12181/co.poynt.services D/CLOUD-API: OkHttp-Selected-Protocol: http/1.1
03-21 12:20:19.926 8576-12181/co.poynt.services D/CLOUD-API: OkHttp-Sent-Millis: 1458559219230
03-21 12:20:19.926 8576-12181/co.poynt.services D/CLOUD-API: OkHttp-Received-Millis: 1458559219676
03-21 12:20:19.926 8576-12181/co.poynt.services D/CLOUD-API: <--- END HTTP (-1-byte body)
03-21 12:20:20.006 8576-12181/co.poynt.services E/CO.POYNT.SERVICES: Exception received while activating terminal:PoyntAPIException{HTTP statusCode=404 apiErrorCode=STORE_DEVICE_NOT_FOUND Network Error? false}
03-21 12:20:20.046 8252-8252/co.poynt.setupwizard E/null: PoyntError{code=0, httpStatusCode=404, apiErrorCode=STORE_DEVICE_NOT_FOUND, reason='Store device not found in our records.', data='null', requestId='null', throwable=}

we experience the issue on 2 different developer machines.

tia for your help,
roland

Hi Roland,

We’ll take a look. Can you confirm you are using Genymotion emulator?

Hi Dennis,

Roland and myself are using a Nexus 7 with appropriate display resolution and android-19.
As far as we understood your pre-requisites, Genymotion is recommended, but not a must:

A 7” Android Tablet (Tegra Note 7 is recommended) or an emulator (Genymotion is recommended) ** Update your tablet to run Android 4.4.4 (Kitkat) or install your favorite Android emulator ** Make sure you configure your virtual device to use android-19 (Kitkat 4.4.4) with screen size as 800x1280 (tvdpi). *** We recommend using Genymotion emulator with virtual device for Nexus 7 1280x800.

Installation of poyntos packages worked, and also all the apps (terminal, register, etc.) are working as expected (not crashing, asking for terminal activation) when we use the normal Launcher instead of the SetupWizard.

But, in SetupWizard, after entering the (correct) MID/TID, the Activation fails with error 111.
Interesting is, that in Poynt Webbackend, the devices seems to be activated…

Let us know if we can provide you other logs, etc.

Thanks,
Robert & Roland

Hi Robert and Roland,

Unfortunately we have seen issues with the AVD emulator in the past. At the moment we simply don’t have the engineering cycles to look into the root cause. So you may need to switch to Genymotion for the time being. Sorry for the inconvenience. I’ll make sure we update the instructions as well.

Hi Dennis,

we finally switched to Genymotion Emulator.
Now the Poynt activation of the emulator device works without any issues.

One thing to mention (for other developers):
The Genymotion Emulator needs to be configured to “Use virtual keyboard for text input”,
otherwise the initial User creation of the Ponyt Setup Wizard gets stuck, because no keyboard pops up and ENTER doesn’t proceed to the “Retype password” step.

Thanks,
Robert & Roland