{"action":"created","issue":{"url":"https://api.github.com/repos/cisco/openh264/issues/2994","repository_url":"https://api.github.com/repos/cisco/openh264","labels_url":"https://api.github.com/repos/cisco/openh264/issues/2994/labels{/name}","comments_url":"https://api.github.com/repos/cisco/openh264/issues/2994/comments","events_url":"https://api.github.com/repos/cisco/openh264/issues/2994/events","html_url":"https://github.com/cisco/openh264/issues/2994","id":342469912,"node_id":"MDU6SXNzdWUzNDI0Njk5MTI=","number":2994,"title":"Android SDK command build error","user":{"login":"berkutta","id":11159719,"node_id":"MDQ6VXNlcjExMTU5NzE5","avatar_url":"https://avatars3.githubusercontent.com/u/11159719?v=4","gravatar_id":"","url":"https://api.github.com/users/berkutta","html_url":"https://github.com/berkutta","followers_url":"https://api.github.com/users/berkutta/followers","following_url":"https://api.github.com/users/berkutta/following{/other_user}","gists_url":"https://api.github.com/users/berkutta/gists{/gist_id}","starred_url":"https://api.github.com/users/berkutta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkutta/subscriptions","organizations_url":"https://api.github.com/users/berkutta/orgs","repos_url":"https://api.github.com/users/berkutta/repos","events_url":"https://api.github.com/users/berkutta/events{/privacy}","received_events_url":"https://api.github.com/users/berkutta/received_events","type":"User","site_admin":false},"labels":[{"id":62918887,"node_id":"MDU6TGFiZWw2MjkxODg4Nw==","url":"https://api.github.com/repos/cisco/openh264/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-18T19:57:20Z","updated_at":"2018-09-19T09:08:11Z","closed_at":null,"author_association":"NONE","body":"I'm running Ubuntu 18.04 with the Android SDK from https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip and Android NDK from https://dl.google.com/android/repository/android-ndk-r13b-linux-x86_64.zip.\r\n\r\nFor compiling I use the following command:\r\n```\r\n# make OS=android NDKROOT=/root/pjsip_android/android-ndk-r13b TARGET=android-24 NDKLEVEL=24\r\nsh ./codec/common/generate_version.sh ./\r\nfatal: Kein Git-Repository (oder irgendein Elternverzeichnis): .git\r\nKeeping existing codec/common/inc/version_gen.h\r\ncd ./codec/build/android/dec && /root/pjsip_android/android-ndk-r13b/ndk-build -B APP_ABI=armeabi-v7a && android update project -t android-24 -p . && ant debug\r\nmake[1]: Verzeichnis „/root/pjsip_android/openh264-1.8.0/codec/build/android/dec“ wird betreten\r\n[armeabi-v7a] Prebuilt       : libopenh264.so <= jni/../../../../../\r\n[armeabi-v7a] Install        : libopenh264.so => libs/armeabi-v7a/libopenh264.so\r\n[armeabi-v7a] Compile++ thumb: welsdecdemo <= h264dec.cpp\r\n[armeabi-v7a] Compile++ thumb: welsdecdemo <= read_config.cpp\r\n[armeabi-v7a] Compile++ thumb: welsdecdemo <= d3d9_utils.cpp\r\n[armeabi-v7a] Compile++ thumb: welsdecdemo <= myjni.cpp\r\n[armeabi-v7a] Prebuilt       : libstlport_shared.so <= <NDK>/sources/cxx-stl/stlport/libs/armeabi-v7a/\r\n[armeabi-v7a] SharedLibrary  : libwelsdecdemo.so\r\n[armeabi-v7a] Install        : libwelsdecdemo.so => libs/armeabi-v7a/libwelsdecdemo.so\r\n[armeabi-v7a] Install        : libstlport_shared.so => libs/armeabi-v7a/libstlport_shared.so\r\nmake[1]: Verzeichnis „/root/pjsip_android/openh264-1.8.0/codec/build/android/dec“ wird verlassen\r\n*************************************************************************\r\nThe \"android\" command is deprecated.\r\nFor manual SDK, AVD, and project management, please use Android Studio.\r\nFor command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager\r\n*************************************************************************\r\nInvalid or unsupported command \"update project -t android-24 -p .\"\r\n\r\nSupported commands are:\r\nandroid list target\r\nandroid list avd\r\nandroid list device\r\nandroid create avd\r\nandroid move avd\r\nandroid delete avd\r\nandroid list sdk\r\nandroid update sdk\r\nbuild/platform-android.mk:71: die Regel für Ziel „decdemo“ scheiterte\r\nmake: *** [decdemo] Fehler 2\r\n```\r\n\r\nDo I propably need an older SDK to get a successful build?"},"comment":{"url":"https://api.github.com/repos/cisco/openh264/issues/comments/422720100","html_url":"https://github.com/cisco/openh264/issues/2994#issuecomment-422720100","issue_url":"https://api.github.com/repos/cisco/openh264/issues/2994","id":422720100,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjcyMDEwMA==","user":{"login":"GuangweiWang","id":11676737,"node_id":"MDQ6VXNlcjExNjc2NzM3","avatar_url":"https://avatars2.githubusercontent.com/u/11676737?v=4","gravatar_id":"","url":"https://api.github.com/users/GuangweiWang","html_url":"https://github.com/GuangweiWang","followers_url":"https://api.github.com/users/GuangweiWang/followers","following_url":"https://api.github.com/users/GuangweiWang/following{/other_user}","gists_url":"https://api.github.com/users/GuangweiWang/gists{/gist_id}","starred_url":"https://api.github.com/users/GuangweiWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuangweiWang/subscriptions","organizations_url":"https://api.github.com/users/GuangweiWang/orgs","repos_url":"https://api.github.com/users/GuangweiWang/repos","events_url":"https://api.github.com/users/GuangweiWang/events{/privacy}","received_events_url":"https://api.github.com/users/GuangweiWang/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T09:08:11Z","updated_at":"2018-09-19T09:08:11Z","author_association":"CONTRIBUTOR","body":"@berkutta \r\nthis error caused by using a higher SDK tool to build encoder & decoder demo program. The \"android\" tool does not support \"update project\" in the higher SDK version. Actually, the openh264 libraries have been built successfully. "}}
{"actor":{"display_login":"GuangweiWang"}}