Ive been trying to use ubuntu on virtualbox to make APK from my Android program that I wrote with kivy.
But it just doesn't work. VM doesn't recognize shared folder. I've tried everything like guest-additions and I've check every article/Q-A about this subject and I'm about to go mad.
Is there any other way to make APK in windows other than using a VM. Please inform me, I've got my exams soon and I don't want to get hang to this subject anymore. I'm using windows 10. Thank you for your helps.
Related
I'm trying to set up a work environment on a new machine and I am a bit confused how best to procede.
I've set up a new windows machine and have WSL2 set-up; I plan on using that with VS Code for my development environment.
I have a previous django project that I want to continue working on stored in a folder in a thumb drive.
Do I move the [windows] project folder into the linux folder system and everything is magically ready to go?
Will my previous virtual environment in the existing folder still work or do I need to start a new one?
Is it better to just start a new folder via linux terminal and pull the project from github?
I haven't installed pip, python, or django on the windows OR linux side just yet either.
Any other things to look out for while setting this up would be really appreciated. I'm trying to avoid headaches later by getting it all set-up correctly now!
I would pull it from github, and make sure you have the correct settings for line endings, since they are different between windows and linux. Just let git manage these though:
https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
Some other suggestions:
Use a version manager in linux to manage your python versions - something like pyenv or asdf. It will make life easier.
Make sure to always create a virtual environment for everything and don't pip install anything in your main python. (I use direnv for virtual env management)
The single exception to the previous suggestion is pipx, which I do install in the main python and then use to install things like cli tools, black, isort, pip-tools etc.
Configure VScode to use the pipx installed versions of black, flake8 etc. for linting purposes.
If you're using Docker, enable the WSL integration for your WSL flavour (probably Ubuntu). Note that docker desktop needs starting before your WSL session.
I have been following this guide: https://www.virtualbox.org/manual/ch04.html#sf_mount_auto
I am running ubuntu 16 with a Windows 2016 VM guest, the VM name is "WindowsServer2016". I need to create a shared folder that is in my home: /home/heatdeath/For_Virtual (is the name of the folder in Ubuntu that I want to share)
In virtualbox I have added the folder to the shared folder, and enabled auto-mount. Yet when I go into the Windows VM, and look under networks, there is no shared folder.
So instead of auto-mounting, I try manually by using
net use x: \\vboxsvr\For_Virtual
And I get the error:
System error 53 had occured
The network path was not found
I also tried vboxsrv.
Kinda at my wits end with this, done alot of research and nothing new turns up. Any help appreciated
Indeed difficult & frustrating to solve, if you don't know.
My Linux distro didn't include VBoxAdditions.iso
I finally found it at http://download.virtualbox.org/virtualbox/
under the version of virtualbox installed.
First, make sure that you belong to the vboxsf and vboxusers groups, and usb if you want to use usb access. (It might be a bit different on your distro)
Just download the iso to a convenient location
(I use the same folder for all the msw sources),
and select it via the cd/dvd option in virtualbox.
Then start the guest session, and in the menu at the bottom of the guest window, make sure that the iso is selected, and start it from the guest file manager.
When finished installing, select reboot.
After, all the defined shared folders appear automatically as virtual optical disks just after the virtual hard disk and the virtual optical installation disk.
BTW, I tried to get help on the virtualbox forum, just getting a rude response.
I finally found the answer with an internet search.
When trying to set up the Divio app, I get this warning screen.
DivioSetupWarningScreen
However, even though the picture claims I do, I don't have Docker Toolbox installed. When I try to install Docker for Windows on anyways by pressing the "Continue" button as seen in the picture above, I get this.
DockerNotInstalled
In the second picture, I tried clicking "Contact Support," but that led me to a blank webpage. Also, if I try to install Docker Windows without the Divio App, but it would not let me because I do not have the enterprise Windows OS, just the home. I also tried downloading Boot2Docker Start, but that didn't really help.
I'm at a loss as to what to try next. Any help would be appreciated.Thanks!
As you have Windows Home edition, one of the solutions would be to install Docker Toolbox/VirtualBox manually and use Divio CLI in PowerShell. Because current version of Divio App does not recognize Windows edition type. It should be presented in the next coming release.
Im using Ionic to build an Android app and I'm finding a problem that I cant work around or find an answer to. When I run ionic build android or ionic emulate android I get the following:
Error: Failed do find 'ANDROID_HOME'...
I believe I have added the correct variables to PATH and ANDROID_HOME under System Variables, but please check: http://imgur.com/a/UOdCd
The first image is ANDROID_HOME, the second shows where the sdk is located, the third is the Error itself and the fourth is my path variable.
I run it from Git Bash. Running as an administrator did not make any difference, I also tried reinstalling Android SDK (with Android Studio) in a different folder (was in %HOME%\AppData\Local\Android\ before) without any difference. Also tried to reboot after reinstalling SDK.
I also tried to run the SDK Manager first (C:\Android\sdk\tools\android.bat) and keeping it open while trying to build or emulate, but it still didn't work.
You need to create a new system variable called ANDROID_HOME and as a value put the path to the android SDK installation directory.
For more information, please refer to the installation guide.
I have a Windows machine that I want to install Python (2.7) on.
That machine is not connected to the internet and never will be.
Hence the question: If I download the thing that the python site
calls the installer and copy it to that machine, will that be
enough to install python? Or does the installer need internet
access, like so many "installers" these days?
(Yes, I could just try it. Got a very slow connection...)
Anyone happens to know the answer to the same question regarding
wxpython that would be great.
Thanks.
If you mean python installer for windows, yes it's enough and installer doesn't need internet connection, but if you want to install another modules through pip you will need internet connection.