PoyntOS w/ SDK 1.2.11 setup on Genymotion

Hi!

I’m having some issues to run AVD then I tried to setup PoyntOS /w SDK 1.2.11 on Genymotion.

I’m trying to run on Nexus 7, 800x1280, tvdpi, Android 4.4.4, API 19
The python script runs with the usual failure messages:

$ python setup_poyntos_adb.py 
https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/download.json
Downloading: download.json Bytes: 910
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/PoyntCapabilityManager-release-1.0-R194-7.apk
Downloading: PoyntCapabilityManager-release-1.0-R194-7.apk Bytes: 6730278
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/PoyntServices-release-1.0-R194-7.apk
Downloading: PoyntServices-release-1.0-R194-7.apk Bytes: 15371478
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/app-release-1.0-R106-4.apk
Downloading: app-release-1.0-R106-4.apk Bytes: 616072
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/PoyntTerminal-release-1.0-R194-7.apk
Downloading: PoyntTerminal-release-1.0-R194-7.apk Bytes: 6977986
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/PoyntRegister-release-1.0-R194-7.apk
Downloading: PoyntRegister-release-1.0-R194-7.apk Bytes: 7710177
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/PoyntLauncher-release-1.0-R159-2.apk
Downloading: PoyntLauncher-release-1.0-R159-2.apk Bytes: 10005928
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/PoyntHelp-release-1.0-R194-7.apk
Downloading: PoyntHelp-release-1.0-R194-7.apk Bytes: 15651215
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/oobe-release-1.0-R163-6.apk
Downloading: oobe-release-1.0-R163-6.apk Bytes: 7901181
 https://s3-us-west-1.amazonaws.com/poynt-apks/v1.2.11/PoyntSettlements-release-1.0-R194-7.apk
Downloading: PoyntSettlements-release-1.0-R194-7.apk Bytes: 6631140
    6631140  [100.00%]


 Uninstalling existing apps...

 [NOTE: Some failures are ok to ignore here if a previous version was not found.]


Launcher:
Failure
Register:
Failure
Terminal:
Failure
OOBE:
Failure
Settings:
Failure
Services:
Failure
ContentProviders:
Failure
Failure
Failure
Failure
Failure
Failure


 Installing new apps...
co.poynt.capability.manager: 
1492 KB/s (6730278 bytes in 4.403s)
	pkg: /data/local/tmp/PoyntCapabilityManager-release-1.0-R194-7.apk
Success
co.poynt.services: 
2511 KB/s (15371478 bytes in 5.977s)
	pkg: /data/local/tmp/PoyntServices-release-1.0-R194-7.apk
Success
co.poynt.accessory: 
7774 KB/s (616072 bytes in 0.077s)
	pkg: /data/local/tmp/app-release-1.0-R106-4.apk
Success
co.poynt.terminal: 
5048 KB/s (6977986 bytes in 1.349s)
	pkg: /data/local/tmp/PoyntTerminal-release-1.0-R194-7.apk
Success
co.poynt.register: 
1222 KB/s (7710177 bytes in 6.161s)
	pkg: /data/local/tmp/PoyntRegister-release-1.0-R194-7.apk
Success
co.poynt.launcher: 
1952 KB/s (10005928 bytes in 5.003s)
	pkg: /data/local/tmp/PoyntLauncher-release-1.0-R159-2.apk
Success
co.poynt.help: 
1928 KB/s (15651215 bytes in 7.925s)
	pkg: /data/local/tmp/PoyntHelp-release-1.0-R194-7.apk
Success
co.poynt.setupwizard: 
10373 KB/s (7901181 bytes in 0.743s)
	pkg: /data/local/tmp/oobe-release-1.0-R163-6.apk
Success
co.poynt.settlements: 
9955 KB/s (6631140 bytes in 0.650s)
	pkg: /data/local/tmp/PoyntSettlements-release-1.0-R194-7.apk
Success


 *** install complete***


 NOTE: If you haven't activated your device before, select "Setup Wizard" option in the dialog. If you've already activated before, just select "PoyntLauncher" to continue.
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] }

Then I click Setup Wizard > Just Once and some seconds later I get Unfortunately, Poynt Services has stopped.
If I choose to ignore it and continue the setup, next screen loads forever.


I think that logcat can help. It show from emulator start, passing to script run, until the exception: http://pastebin.com/raw/8vwNivCc

Note this warning:

Permission poynt.permission.CAPABILITY_MANAGER from package co.poynt.capability.manager ignored: no group null

And the last exception message:

java.lang.RuntimeException: Unable to create application co.poynt.services.PoyntServicesApplicationImpl: java.lang.SecurityException: Not allowed to bind to service Intent { act=co.poynt.os.services.v1.IPoyntCapabilityManager }`

Thanks!

Gabriel, can you rerun the setup script again please? You can comment out the lines that download the apks since you already should have them.

Just worked now, Dennis.
Thanks!

Does Poynt Service work with latest Android SDK? I tried to install the packages on a new Android device with Android 6.0.1. I keep getting “The service has stoped” dialog after I tried to activate the device. I run the setup script many times still no luck.

@hilander.jeff

Poynt Terminals run on a customized build of Android 4.4.4 (KitKat), so all applications must set the build target to android-19. Please set your Android build to 4.4.4 and try running the apps on the Poynt terminal again.

Should you have questions, please do not hesitate to reach out to us.

Thanks!
-Satya