Android studio socks proxy issue - android-studio

Due to the political prohibitions (country related), unfortunately i am unable to connect to google servers normally, however i have to be able to develop android applications for educational purposes. So i decided to use socks proxy and redirect my traffic through tor so i can be able to get SDK and other API tools and get android studio running. Previously i did this and worked, but now after a fresh ubuntu install and getting the most recent android studio version and following the official instructions, i can't manage to get android studio connect to tor. I tried using the exact host name and port number with other applications and it worked. but i can't seem to find any realted topic to solve my own problem.
Host name: localhost
Port: 9150
Thank you in advance.

Apparently setting the proxy in android studio's settings was not enough.
Besides the starting script must be run like this:
$ torsocks -P 9150 /opt/android-studio/bin/studio.sh

Related

Eclipse unable to connect to remote Linux via SSH

I am trying to set-up Eclipse on Windows to build and debug a C application on an i.MX6 eval kit running Yocto Linux. When I try to connect either via the debugger or via the Remote System Explorer I get the following error:
Could not open connection.
Reason: Algorithm Negotiation fail
I can connect to the board via Tera Term using SSH and port 22, so it seems like GDB server is running, but there is some incompatibility between Eclipse SSH and Linux SSH. I've seen several posts about this, but most of them are years old, and no longer apply. I tried changing the connection settings in Eclipse, but nothing I have tried seems to work.
How do I configure Eclipse, or Yocto Linux, to allow them to communicate?

Ionic Live Reload Unable to Load App on Android Phone

I'm trying to run Ionic Live Reload, connecting to my phone using this command:
$ ionic cap run android -l --external
When I run the app in Android studio, the phone shows a white screen and the message:
Unable to load app. Are you sure the server is running at http://192.168.1.59:8100?
I opened the port 8100 with no result (I'm using Ubuntu):
$ sudo ufw allow 8100
I read all the articles about connections problem, buy I couldn't find a solution.
It was a very silly problem, but perhaps this answer is useful for someone making the same mistake:
I just was connected to different wireless networks. So, I connected my phone and notebook to the same Wifi connection and that solved the problem instantly.

Run artifactory on browser

I installed artifactory on linux server. I want to know how to check whether it is properly installed.
Secondly, I want to use it's user interface on google chrome. From where I can get SERVER_DOMAIN and PORT number for it's url from installed files on server?
Thanks in advance.
Your question is a bit vague.
How did you installed it (ZIP, RPM, Docker, Deb...)?
Which database you used (default, Oracle, MySQL etc..)? You can see if the server is up and running by running the following REST API from the machine you have installed it on:
curl -iuadmin:password localhost:8081/artifactory/api/system/ping
Regarding the IP, this can be checked by running 'ifconfig' on the linux server and get the IP of that machine.
Artifactory by default is running on port 8081, unless you changed it.
It seems that you will need to follow the basic installation wiki:
https://www.jfrog.com/confluence/display/RTF/Installing+Artifactory

Bluemix > IBM API Connect > IBM Developer Toolkit: ECONNREFUSED Errors

Learning how to deploy the demo project to IBM API Connect on Bluemix (get-started) and get the following errors after run apic edit to start IBM Developer Toolkit local site:
Screenshot of the error
Any suggestions will be appreciated.
Just tried the same and I am not able to reproduce the issue, since the "apic edit" step works fine for me. I guess this is an issue related to your machine. The error is quite clear and it means that Express.js is not able to connect to that port. The first step is to check that port to see if it's blocked by the host system. However I see different ports in the error message, so the problem could be different (check your firewall settings). Moreover, I would try to install apic again running sudo npm install -g apiconnect and double check that the prerequisites are already installed. It could be throwing an error that you didn't notice.
Try publish in the interface 0.0.0.0:
export HOST=0.0.0.0
apic edit

Unable to install iis manager on windows 8.1

I get an error while trying to install IIS manager from "Turn on off windows features" on a windows 8 machine. Just before trying to install this I install Visual Studio community online and rebooted my machine. Visual Studio works fine.
I also made sure all updates are installed on my machine and also rebooted and tried installing IIS manager.
The error that I get is "The function attempted to use a name that is reserved for use by another transaction"
Thanks
Ranjith
Try to turn off your antivirus before install IIS.
I had the same problem and spent hours trying to find out the root cause. Tried to disable anti virus and other options as discussed in forums on the internet.
Here is how i resolved the problem.
Open up msconfig -> go to boot tab -> select Safe boot (Minimal) -> Apply -> Okay
Your machine should restart in safe mode and you should be able to successfully install IIS from the "Turn Windows Feature On/Off" section as described by others.
After the installation is complete, run msconfig again to unselected Safe boot so that you log in to the normal desktop environment on restart. Enjoy!
Just now i also faced that problem and this is how fixed the problem.
The reason can be another server which running on your pc, is using the same port as IIS. (e.g: 80 or 8080).
According to my solution, I started the wampserver. then click on wamp icon on the task bar. then opened the httpd.conf file from Apache.
find (ctrl+F) the "Listen 80" and replace it to "Listen 8080" or any other. save it.
restart your pc and try to install the IIS manager again.
hope it will works!! Good luck.

Resources