On Saturday, 23 April 2016 at 11:21:10 UTC, FrankLike wrote:
On Friday, 22 April 2016 at 17:02:20 UTC, Vadim Lopatin wrote:
test-runner.apk is ok,but DLangUITetrisExample.apk and
DlangUIHelloWorld.apk ,only shows black color.
Does it crash instantly or shows app GUI for some time?
Is your smartphone arm-based?
HTC Android 5.02 ,it's arm-based,Not ok, sorry.
Where is the log file? Path?
Log messages are in Android system log.
On older androids, application CatLog (available on Market) was
able to store logs to file. But on latest android, app cannot
read logs of other applications, and CatLog shows none useful.
You can try CatLog, but if it does not work (if you cannot see
any messages with 'dlangui' tag), the only way to get logs I know
is to use 'adb' utility from Android SDK.
Download Android SDK, unpack to some folder, use
Connect device to pc using USB.
`adb logcat` from commandline shows log messages from device.
run `adb logcat > log.txt`, then start program which crashes on
device, then press Ctrl+C to stop adb logcat. Now file log.txt
should contain logs with crash.