Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing Android NDK #403

Open
4 tasks done
bdovaz opened this issue Jul 25, 2020 · 0 comments
Open
4 tasks done

Error installing Android NDK #403

bdovaz opened this issue Jul 25, 2020 · 0 comments

Comments

@bdovaz
Copy link

bdovaz commented Jul 25, 2020

Issue Checklist

  • I'm using the latest u3d version
  • I ran u3d --help
  • I read the README
  • I made sure that a similar issue doesn't exit

Issue Description

I get the following error:

undefined method `root_path' for nil:NilClass (NoMethodError)

C:\WINDOWS\system32>u3d install 2019.4.0f1 -p Unity,Android-ndk --installation_path "D:\Unity\Unity_2019.4.0f1" --trace
Root privileges are requirednity 2019.4.0f1 is already downloaded
Android NDK is already downloaded
-------------------------------------------
--- Installing Unity 2019.4.0f1 (Unity) ---
-------------------------------------------
Installing with C:/Users/jenkins/Downloads/Unity_Packages/2019.4.0f1/UnitySetup64.exe
$ C:/Users/jenkins/Downloads/Unity_Packages/2019.4.0f1/UnitySetup64.exe -UI=reduced /S /D=D:\Unity\Unity_2019.4.0f1
No pty implementation found. Falling back to popen. Output might be buffered
Successfully installed Unity 2019.4.0f1
--------------------------------------------
--- Installing Android NDK (Android-ndk) ---
--------------------------------------------
Installing with C:/Users/jenkins/Downloads/Unity_Packages/2019.4.0f1/android-ndk-r19-windows-x86_64.zip
Traceback (most recent call last):
        16: from C:/tools/ruby27/bin/u3d:23:in `<main>'
        15: from C:/tools/ruby27/bin/u3d:23:in `load'
        14: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/exe/u3d:7:in `<top (required)>'
        13: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:41:in `start'
        12: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:263:in `run'
        11: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/delegates.rb:15:in `run!'
        10: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/runner.rb:68:in `run!'
         9: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/runner.rb:446:in `run_active_command'
         8: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/command.rb:153:in `run'
         7: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/commander-4.5.0/lib/commander/command.rb:182:in `call'
         6: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:176:in `block (2 levels) in run'
         5: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/commands.rb:169:in `install'
         4: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:58:in `install_modules'
         3: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:58:in `each'
         2: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:61:in `block in install_modules'
         1: from C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:477:in `install'
C:/tools/ruby27/lib/ruby/gems/2.7.0/gems/u3d-1.2.3/lib/u3d/installer.rb:108:in `install_zip': undefined method `root_path' for nil:NilClass (NoMethodError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant