haha yeh I am indeed the author of that question. Hadn't found this forum at that time
Thank you for your reply @fulvio.
So I updated my policy version and changed the framework as per the helpful post you linked to. However I do still seem to be getting the same error. My policy file now looks like:
{
"policy_groups": [
"networking",
"connectivity",
"content_exchange",
"content_exchange_source",
"usermetrics",
"webview",
"keep-display-on",
"audio",
"video"
],
"policy_version": 16.04
}
I am using clickable ---k 16.04
to run it on a Nexus 5 device.
From that post I can see mention of a click-review tool, so I installed that and tried to fix any problems. It wanted me to remove debug from policy, so I did that. Now it tells me:
Warnings
--------
- lint:architecture_specified_needed
Could not find compiled binaries for architecture 'armhf'
build/ubspot.mungorae_0.1.0_armhf.click: FAIL
Maybe that has got something to do with my crash.
If its any help the output of clickable -k 16.04
is
Using docker container "clickable/ubuntu-sdk:16.04-armhf"
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/arm-linux-gnueabihf-gcc
-- Check for working C compiler: /usr/bin/arm-linux-gnueabihf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/arm-linux-gnueabihf-g++
-- Check for working CXX compiler: /usr/bin/arm-linux-gnueabihf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.7")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alex/Projects/ubports/ubspot/build
Scanning dependencies of target ubspot.desktop
Scanning dependencies of target Ubspotplugin_automoc
Scanning dependencies of target ubspot.mungorae.pot
Scanning dependencies of target ubspot_FILES
[ 28%] Merging translations into ubspot.desktop...
[ 28%] Automatic moc for target Ubspotplugin
[ 28%] Built target ubspot_FILES
[ 42%] Generating translation template
Merging translations into ubspot.desktop.
Wrote ubspot.desktop.in.h
[ 42%] Built target ubspot.desktop
[ 42%] Built target ubspot.mungorae.pot
Generating moc_plugin.cpp
Generating moc_ubspotplugin.cpp
[ 42%] Built target Ubspotplugin_automoc
Scanning dependencies of target Ubspotplugin
[ 85%] Building CXX object plugins/Ubspotplugin/CMakeFiles/Ubspotplugin.dir/ubspotplugin.cpp.o
[ 85%] Building CXX object plugins/Ubspotplugin/CMakeFiles/Ubspotplugin.dir/Ubspotplugin_automoc.cpp.o
[ 85%] Building CXX object plugins/Ubspotplugin/CMakeFile s/Ubspotplugin.dir/plugin.cpp.o
[100%] Linking CXX shared module Ubspotplugin/libUbspotplugin.so
[100%] Built target Ubspotplugin
[ 14%] Merging translations into ubspot.desktop...
Merging translations into ubspot.desktop.
[ 14%] Built target ubspot.desktop
[ 14%] Built target ubspot_FILES
[ 28%] Generating translation template
Wrote ubspot.desktop.in.h
[ 28%] Built target ubspot.mungorae.pot
[ 42%] Automatic moc for target Ubspotplugin
[ 42%] Built target Ubspotplugin_automoc
[100%] Built target Ubspotplugin
Install the project...
-- Install configuration: ""
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp//manifest.json
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp//ubspot.apparmor
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp//qml
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp//qml/Main.qml
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp//assets
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp//assets/logo.svg
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp//ubspot.desktop
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp/lib/arm-linux-gnueabihf/Ubspotplugin/libUbspotplugin.so
-- Installing: /home/alex/Projects/ubports/ubspot/build/tmp/lib/arm-linux-gnueabihf/Ubspotplugin/qmldir
Successfully built package in './ubspot.mungorae_0.1.0_armhf.click'.
[100%] /home/phablet/ubspot.mungorae_0.1.0_armhf.click
Installing files [=========================]
Finished [=========================]
Installing files [=========================]
Starting [=========================]
Finished [=========================]
Installed ubspot.mungorae-0.1.0.armhf (installed:click,removable=1,app_name=ubspot) summary goes here
Interesting that you got it working, though I am deploying to device rather than to desktop.