Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Use Markdown for this comment
Set severity, which reflects how much the issue affects the use of the product
Change issue status back to 'Assigned'
Pending code changes (auto-populated)
[ID: 84651]
Select items in the list
[ID: 558956]
[ID: 874707]
Set the version(s) of the product affected by this issue (comma-separated list)
Set the version(s) of the product in which the issue should be fixed (comma-separated list)
Set the version(s) of the product in which the issue fix was verified (comma-separated list)
Set if this issue occurs in production
[ID: 85206]
Set Reporter
Set Type
Set priority, which reflects how soon the issue should be fixed
Set Status
Set Assignee
Set Verifier
Remove item
View or edit staffing
View issue level access limits(Press Alt + Right arrow for more information)
Description
#1Build #AI-145.3537739, built on December 2, 2016
JRE: 1.8.0_76-release-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
OS: Windows 10 Pro
Steps to Reproduce:
Install Android Studio as Administrator the proper way
-------------------------------------------------------
- Log in as Administrator
- Uninstall any installed version of Android Studio
- Install Android Studio with SDK (android-studio-bundle-145.3537739-windows.exe) (run as Administrator)
- Click Next on "Welcome to Android Studio Setup"
- Click Next on "Choose Components"
- Click I Agree on "License Agreement"
- Select a location common for all users for "Android SDK Installation Location" where all users have full access (not default as it is private to Administrator)
- Click Next
- Click Next on "Start Menu Folder"
- Installation starts ....
- Click Next on "Installation Complete"
- Click Finish
- When Android Studio it finds an old test-project from previous installation,
but complains that it "Failed to Build Tools revision 25.0.2", so therefore click on link "Install Build Tool 25.0.2 and sync project"
- Click on Finish
- Start SDK Manager
- Select Android 4.4 on tab "SDK Platforms"
- Click on Finish
- Start SDK Manager
- Select "Google USB Driver", "CMake" and "NDK" on tab "SDK Tools"
- Click on Ok
- Click on Finish
- Android Studio may still indicate issues to be resolved (Such as "Android Support Repository"). ** Fix them **
Now try to use Android Studio as a Windows Domain user
--------------------------------------------------------------
- Log in as a Windows Domain user without admin privileges
- Start Android Studio
- Click Next on Welcome screen
- Select Custom on "Install Type"
- Click Next
- Select IntelliJ on "Select UI Theme"
- Click Next
- Select "Android Virtual Device"
- Change "Android SDK Location" from default user specific path to path selected above when SDK was installed.
Comment says "An existing Android SDK was detected. The setup wizard will only download missing or outdated SDK components"
- Click Next
- Click Finish on "Verify Settings"
- Odd thing #1 : "Downloading Components" now starts to download "Google APIs Intel Atom x86 Atom System Image" which just was resolved above under "Fix them" !!
- Odd thing #2: An error message pops up saying "Android SDK Platform 25, SDK Patch Applier v4 and 4 more SDK components were not installed". Retry ?
Behind in the log window it says:
--------------------
Preparing "Install Android SDK Platform 25".Preparing "Install SDK Patch Applier v4".Preparing "Install Android SDK Build-Tools 25.0.2".Preparing "Install Android SDK Platform-Tools".Preparing "Install Android SDK Tools 25.2.5".Preparing "Install Google Repository".Warning: Failed to read or create install properties file.
Warning: Failed to read or create install properties file.
Warning: Failed to read or create install properties file.
Warning: Failed to read or create install properties file.
Warning: Failed to read or create install properties file.
Warning: Failed to read or create install properties file.
--------------------
Clicking Retry just results in the same log and the same error message.
Click Cancel
Click Finish
- Close Andoid Studio
- Start Android Studio again
- Odd thing #3: The same behaviour above repeats. The SDK path is still on default as it has not been properly installed
Expected behaviour -----------------------
I expect that if I install Android Studio as Administrator and SDK in a common directory, then I should be able to use this installation with other users
without having to have a separate SDK for each user. And I should definitely not have to run the IDE as Administrator since I must be able to browse
for public information at the same time as I run the IDE. This is an extreamly important security issue, not to force the user to run an application
with Administrator privileges.