OpenCV4Android
Version 15 (Alexander Smorkalov, 2013-03-04 08:30 am)
1 | 1 | h1. Android |
|
---|---|---|---|
2 | 1 | ||
3 | 14 | Alexander Smorkalov | OpenCV4Android homepage is here: http://opencv.org/android. This wiki is for co-developers. |
4 | 1 | ||
5 | 7 | Alexander Smorkalov | h2. Submitting a bug |
6 | 1 | ||
7 | 10 | Alexander Smorkalov | Have you done your homework? Let's check it: |
8 | 1 | ||
9 | 14 | Alexander Smorkalov | # Please check that you use the "latest version":http://opencv.org/downloads.html of OpenCV4Android. Please also check [[Android_Release_Notes|Release Notes]]. |
10 | 7 | Alexander Smorkalov | # Please check the open "Android issues":http://code.opencv.org/projects/opencv/issues?query_id=4 on the tracker. |
11 | 14 | Alexander Smorkalov | # Ask "community":http://www.answers.opencv.org/ about your problem. May be your question was already "asked":http://www.answers.opencv.org/questions/scope:all/sort:activity-desc/tags:android/page:1/? |
12 | 2 | Alexander Smorkalov | |
13 | 7 | Alexander Smorkalov | If you submit a ticket, please provide the correct "Category" name - @android@. If you could not identify the cause of the error, please provide the following information in your ticket: |
14 | 15 | Alexander Smorkalov | * Version number of Android platform (all 3 components of the version - for example: 4.0.4). If you use custom ROM, name and version, for example cyanogenmod 9; |
15 | 15 | Alexander Smorkalov | * Full device model, for example Nexus 7 3G. |
16 | 7 | Alexander Smorkalov | * Exact CPU model of your device ("@adb shell cat /proc/cpuinfo@" command); |
17 | 15 | Alexander Smorkalov | * Output of "@adb logcat@" command. See section bellow how to get it in the right way; |
18 | 15 | Alexander Smorkalov | * Name of a sample if the problem is reproducible for any of the samples included into the binary package. Your own reproducer will be useful too. |
19 | 1 | * If you can create a failing [[Android Java API tests|JUnit test]], it may greatly help us. |
|
20 | 15 | Alexander Smorkalov | |
21 | 15 | Alexander Smorkalov | h2. Logcat output |
22 | 15 | Alexander Smorkalov | |
23 | 15 | Alexander Smorkalov | 1. Open console (cmd.exe for Windows, Konsole, terminal on Linux and Mac OS X) |
24 | 15 | Alexander Smorkalov | 2. Clear logcat log by command adb logcat -c |
25 | 15 | Alexander Smorkalov | 3. Redirect logcat output to file by command adb logcat > [path_to_log]/app_crash.log |
26 | 15 | Alexander Smorkalov | 4. Run application and reproduce its crash |
27 | 15 | Alexander Smorkalov | 5. Interrupt log file writing by pressing Ctrl+C in terminal, where logcat was running |
28 | 15 | Alexander Smorkalov | 6. Attach log to the ticket as text file or in archive. |
29 | 1 | ||
30 | 7 | Alexander Smorkalov | h2. Developer documentation |
31 | 1 | ||
32 | 7 | Alexander Smorkalov | * [[Building OpenCV4Android from trunk|Building OpenCV4Android from trunk]]. |