Ik heb er nu uren mee zitten prutsen en lopen Googlen maar ik kan niet vinden wat ik over het hoofd zie.
Mijn probleem: Ik krijg het niet voor elkaar om adb aan te roepen vanuit een willekeurige map in de command prompt.
De oplossing: Gast, dan voeg je de map met adb.exe toch gewoon toe aan de path variabele, zo gepiept? En dat heb ik dus geprobeerd, op vele verschillende manieren.
Mijn probleem: Ik krijg het niet voor elkaar om adb aan te roepen vanuit een willekeurige map in de command prompt.
De oplossing: Gast, dan voeg je de map met adb.exe toch gewoon toe aan de path variabele, zo gepiept? En dat heb ik dus geprobeerd, op vele verschillende manieren.
- Adroid SDK geinstalleerd in "program files (x86)" en in "c:" root.
- Path toegevoegd met en zonder trailing backslashes
- Path geprobeerd met forward slashes
- Path geprobeerd met en zonder aanhalings tekens
code:
De vraag: Wat zie ik over het hoofd?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| C:\Users\xxxx>path PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerS hell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\";C:\Program F iles (x86)\Git\cmd;C:\Android\android-sdk\platform-tools C:\Users\xxxx>adb 'adb' is not recognized as an internal or external command, operable program or batch file. C:\Users\xxxx>cd\ C:\>cd Android\android-sdk\platform-tools C:\Android\android-sdk\platform-tools>adb Android Debug Bridge version 1.0.29 -d - directs command to the only connected USB device |