I am having a problem trying to find where Ubuntu stores the program folders. I am new to Linux and only know a few limited terminal commands, but I have tried hundreds of folders in Ubuntu and cannot find where the programs reside. I tried the find command but I get a few hundred hits and none of them seem to be correct. I have GenyMotion installed and running correctly but I need the path to the program folder in order to connect it with Intellij.
If the program is installed in a standard location, it will be found and the location printed out. If a third party application is not installed in a standard location, then to run it from the command line you either need to add its location to your PATH variable, or type in the full path, which you may have decided at installation time. For instance, if you decided to install a program to your Documents folder, your program path might look like:
In my installation, and -- by sound of it -- in yours as well, genymotion is not in the PATH itself and therefore will not be found using commands like type ... or which .... Instead, I would try running the following:
Because you said you are new to Linux, I will briefly summarize what that command is doing. Grep is going to run a RegEx match against the /usr/share/applications/genymobile-genymotion.desktop file using a Perl-compatible regular expression (PCRE) engine (-P), which will perform a case-insensitive search (-i) and return back only the contents which match the provided expression (-o). The pattern to search for is Exec=[^\r\n]+, with a \K tossed in after the equal-sign so that GREP will only print out the contents after that point. This pattern was chosen because a typical Desktop file will look like the following:
After GREP matches against that file, all results are "piped" to xargs, which is basically just a compatibility wrapper to take multiline outputs and pass each line as an input to another command. (It can do more than that, but such is outside the scope of this answer.) xargs then invokes dirname for the given path result. dirname is just a little Linux program that, when given a file path, splits apart the filename from the rest of the path and then returns back the path/directory portion without the filename.
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
I have the Genymotion emulator installed from when I worked on another project, but I'm having trouble figuring out how to get Android Studio to allow Genymotion to run my app. When I click the run button the only AVD the manager has is Android442.
You need to install the genymotion plugin. In android studio File>Settings>Plugins>Browse Repo > install genymotion plugin. once installed a genymotion button should appear in android studio. hope that helps.
hmm, I've got the plugin and can start the emulator from Android Studio. I just can't seem to get it to run the app. When I press the run button, I'm not sure how to make sure I can select the Genymotion emulator. I've been going back and re-watching some videos again. Just hoping it doesn't take me too long to figure out.
I had the same situation. I enabled the plugin (see previous answer), the icon of Genymotion appeared. To see the Genymotion Device in the Devices on the down left corner and being able to run your apps in Genymotion emulator do the following:
If you still don't see your Genymotion Device in Android Device Monitor or AVD Manager, but you need to set some setting to your device, such as displaying keyboard, you can always set settings for your Device in Genymotion itself.
I have a Genymotion device in another local PC (due to slow performance) and Android Studio in another development PC. I can connect any Genymotion device which is below API21 from my development PC (using adb connect 192.168.x.x) but any device with API21 shows offline in my development PC, though adb can connect well. In the "device choose" panel and device monitor, it shows offline. But in the remote PC, the same device is online and workable. Why does it show online for devices with API below 21, and offline for API 21+.I get the following after connecting to my remote Genymotion device. But the same device works on that remote host well. Any devices below API21 shows online.
I think I got it right myself by trial n error.After connecting the remote genymotion device(API21),I found that there are several adb process in task manager for A SINGLE genymotion device.Then I manually stopped all "adb" process from windows task manager on remote machine (or adb kill-server command for all adb process,in my case there were more). Then using adb command I restarted and connected again the same remote device frm development machine. Somehow it is connected and shows ONLINE now and works as expected. I dont know why it happens to devices < API21. The other device >=API21 connects directly and shows online.The problem seems to be multiple adb process on remote machine for a single genymotion device of only API21.
I tried both solutions (included the accepted one) and it didn't work. Finally found a solution to this one. After much fiddling, I found out that genymotion only allows adb connection from one machine at the time. Doing a adb kill-server on the host imediatelly followed by an adb connect ip on the remote machine did the trick.
Hello godot community ,
My question is i am trying to debug my game using genymotion virtual devices.
all export to android settings are working perfectly , i can export my game to android and test it on my phone.
I had added a http proxy to download virtual devices. Then I saw "[critical] [VMTools] Failed to determine a port offset" error in genymotion-player.log file. After removing proxy from Settings>Network menu my problem solved.
still not working
It would be great, if someone could provide some documentation to set up genymotion/android studio with expo on windows. most guides out there seem to specifically target IOS.
help.
Yes. I have added. This is the issue which i am facing. Earlier i thought it is because of the absense of vt-x, which is not available in my system. I was unable to add android devices above 5.0. I am only able to add devices below 4.2.2. My genymotion virtual serverbox issue is sorted out. But with this, i am getting stuck in the last step.
1190815 59.4 KB
What do you like best about the product?I have been used genymotion android emulator many years and i really liked to use as well as i am mobile application developer so i have deployed and tested many application using genymotion virtual android device on my system.What do you dislike about the product?One of the most common dislike about genymotion is if your system's configuration is low in terms of graphics and ram then it will working slow and takes lot of time to start and run.What problems is the product solving and how is that benefiting you?Genymotion provide android virtual device so i can test and debug android application on that and its also provide google play store as well so if i can test application from play store directly then its also useful in that case as well.
What do you like best about the product?It's good emulation where we can deploy different android versionWhat do you dislike about the product?Take more ram so it crush sometimes for meWhat problems is the product solving and how is that benefiting you?I don't need a real device so it helps me to perform all my task
What do you like best about the product?1. Launch quickly.
2. Work smoothly like real phone.
3. We can control hardware setting easily.
4. It will connect with IDE easily
5. Not require any supportive tool.What do you dislike about the product?1. Only specific device we can create. We can not do too much personization.
2.Consume too much ram during running.
3. Should provide iOS simulator as well.for better testing.What problems is the product solving and how is that benefiting you?1. It's fast as compare to Android emulators.
2. All type of hardware configuration we can do with minimal efforts.
3. It also have gapps package for using Google services.
What do you like best about the product?Genymotion is a good Android device emulator that don't use too much computer RAM to run. This help to build and run apps very quickly. It can be used as a side option for Android Studio if you are a developer. It can run without problems with any APK that can be installed with an easy Drag and Drop.What do you dislike about the product?Not all emulated devices are supported by Google Play Services. A tricky procedure grants the possibility to install them but the user has to know exactly which version is compatible with the emulated device. A better and more user friendly automated solution with a wizard tool could improve it.What problems is the product solving and how is that benefiting you?As an Android App developer often it is necessary to test UI response and accessibility on different devices (phone or tablet) with different screen resolutions or check if the logic for a more complex App works perfectly across 2 or more devices at the same time. Genymotion, as Android Studio, provide the perfect tool and options to manage more virtual devices.Recommendations to others considering the product:The first running of a new device emulation could require a longer wait for the setup so don't drop it. If your virtual devices requires Google Services, I suggest to read some good tutorial about Open GAPPS to select the right installation pack.
What do you like best about the product?I can cover all type of mobile screen resolutions in this tool. The installation and use for even new user is very simple. The best thing is it is easy to drag and drop .apk file over from email as well.What do you dislike about the product?It takes time to connect to few of virtual devices may be due to large data in size to load. Also sometime it get auto disconnect in case keep it stand by. Apart from this nothing.What problems is the product solving and how is that benefiting you?Lack of mobile devices we have and Genymotion fulfill this gap with multiple virtual devices. All kind of android versions are now easy to taken care. Happy to have this tool.
7fc3f7cf58