We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-03-27 14:11:01 +0200

Android debug traces

Prereq: Developer mode

Sometimes you (or someone like you) wants to develop android application on Jolla.

Even the blind 'adb logcat' might not work out of the box, it's not all bad news. Once APK is built, transfer (scp) that to device into directory: /data/app.

Now begins the interesting stuff. Shutdown alien-dalvik on command line as root:

systemctl stop aliendalvik.service

then enhance LOG settings:

export ANDROID_LOG_TAGS="*:d"

Finally start it:

systemctl start aliendalvik.service

Now alien puts out a log of debug stuff. You can read them on device with logcat:

/opt/alien/system/bin/logcat

Android debug traces

Prereq: Developer mode

Sometimes you (or someone like you) wants to develop android application on Jolla.

Even the blind 'adb logcat' might not work out of the box, it's not all bad news. Once APK is built, transfer (scp) that to device into directory: /data/app.

Now begins the interesting stuff. Shutdown alien-dalvik on command line as root:

systemctl stop aliendalvik.service

then enhance LOG settings:

export ANDROID_LOG_TAGS="*:d"

Finally start it:

systemctl start aliendalvik.service

Now alien puts out a log lot of debug stuff. You can read them on device with logcat:

/opt/alien/system/bin/logcat

It's recommended not to make the change permanent into alien dalvik's scripts as there will be a lot of traces flowing.

Android debug traces

Prereq: Developer mode

Sometimes you (or someone like you) wants to develop android application on Jolla.

Even the blind 'adb logcat' might not work out of the box, it's not all bad news. Once APK is built, transfer (scp) that to device into directory: /data/app.

Now begins the interesting stuff. Shutdown alien-dalvik on command line as root:

systemctl stop aliendalvik.service

then enhance LOG settings:

export ANDROID_LOG_TAGS="*:d"

Finally start it:

systemctl start aliendalvik.service

Now alien puts out a lot of debug stuff. You can read them on device with logcat:

/opt/alien/system/bin/logcat

It's recommended not to make the change permanent into alien dalvik's scripts as there will be a lot of traces flowing.