{"id":339,"date":"2017-08-18T08:17:20","date_gmt":"2017-08-18T08:17:20","guid":{"rendered":"http:\/\/blog.faktor0.de\/?p=339"},"modified":"2022-12-02T16:57:34","modified_gmt":"2022-12-02T16:57:34","slug":"adb-befehle-apk","status":"publish","type":"post","link":"https:\/\/blog.faktor0.de\/?p=339","title":{"rendered":"ADB-Befehle \/ apk"},"content":{"rendered":"<p>adb shell &#8211; shell starten<br \/>\nadb install &#8211; apk-Datei installieren (-r = force install)<br \/>\nadb kill-server &#8211; Server stoppen<br \/>\nadb start-server &#8211; Server starten<br \/>\nadb devices &#8211; Angeschlossene Ger\u00e4te anzeigen<br \/>\nadb shell screenrecord \/sdcard\/filename.mp4 &#8211; Film von Handy-App machen<\/p>\n<p><b>Possible solutions if &#8222;adb devices&#8220; shows a device as &#8222;unauthorized&#8220;:<\/b><\/p>\n<p><code>C:\\Users\\JohnDoo>adb devices<br \/>\nList of devices attached<br \/>\n17310D821D      unauthorized<\/code><\/p>\n<p>    Disconnect USB between PC and device<br \/>\n    Stop adb server by entering &#8222;adb kill-server&#8220; in command window<br \/>\n    On device use &#8222;Revoke USB debugging authorizations&#8220; in &#8222;Developer Options&#8220;<br \/>\n    On PC delete &#8222;adbkey&#8220; file in user directory, for example <code>\"C:\\Users\\JohnDoo\\.android\"<\/code><br \/>\n    Reconnect the device to the PC<br \/>\n    Open a command window and enter &#8222;adb devices&#8220;. Watch the device&#8217;s screen for any Authorization message and allow the connection.<\/p>\n<p>The device should now show as &#8222;device&#8220;:<\/p>\n<p><code>C:\\Users\\JohnDoo>adb devices<br \/>\nList of devices attached<br \/>\n17310D821D      device<\/code><\/p>\n<p>If the above does not help, re-installing adb and or USB drivers may help.<\/code><\/p>\n<p><a href=\"https:\/\/support.honeywellaidc.com\/s\/article\/How-to-fix-adb-devices-shows-unauthorized-device\">https:\/\/support.honeywellaidc.com\/s\/article\/How-to-fix-adb-devices-shows-unauthorized-device<\/a><\/p>\n<hr>\n<p><b>Handy f\u00fcr Entwickler aktivieren:<\/b><\/p>\n<ul>\n<li>mehrmals f\u00fcr Build-Nummer tippen, bis Entwickler-Status angezeigt wird<\/li>\n<li>Zum Einstellungen -> System -> Erweitert -> Entwickleroptionen gegen und USB-Debugging aktivieren<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>adb shell &#8211; shell starten adb install &#8211; apk-Datei installieren (-r = force install) adb kill-server &#8211; Server stoppen adb start-server &#8211; Server starten adb devices &#8211; Angeschlossene Ger\u00e4te anzeigen adb shell screenrecord \/sdcard\/filename.mp4 &#8211; Film von Handy-App machen Possible solutions if &#8222;adb devices&#8220; shows a device as &#8222;unauthorized&#8220;: C:\\Users\\JohnDoo>adb devices List of devices attached [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339"}],"version-history":[{"count":7,"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":1056,"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions\/1056"}],"wp:attachment":[{"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.faktor0.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}