Reputation: 169
Due to my business trips, I would use my professional laptop for improving my skills in Android development. I don't have administrator rights, so I installed Android Studio. Sadly, I have 2 kinds of errors :
How can I fix these issues, at least one of them ?
Thanks in advance for your help !
Fred
Upvotes: 2
Views: 20300
Reputation: 66
You can install ADB without administrator rights!There's a trick which I used and it bypasses need to login using administrator account.
Open notepad and paste the following text in that file:
cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" "%1""
Save as a batch file.
P.S: I have tested this on Windows 10 (Build 10240) by installing ADB drivers and it ridiculously works! However note that, if your setup produces more exe
s (internally) then this may not work.
Upvotes: 1
Reputation: 42585
HAXM is a system driver that allows you to improve execution speed of Android emulators running an x86 image. For installation admin permission are required this is a fact. No admin permissions means no HAXM and therefore no speed improvements. However the Android emulator works for x86 and ARM virtual devices.
For working with ADB and a real device you need to enable USB debugging on your device and install the Android ADB driver for USB on your computer. The ADB device appears then in the Windows device manager. Usually installing an driver requires admin permissions.
Conclusion: If you really want to do Android development as an admin to perform the necessary changes if you don't have the required permissions.
Upvotes: 4