Ps3 Emulator Laptop

0 views
Skip to first unread message

Camie Fons

unread,
Aug 3, 2024, 4:02:38 PM8/3/24
to grasumplazaz

I've upgraded the SDK tools to revision 20 (from 18) and since the upgrade, the emulator doesn't seem to accept input from laptop's keyboard. But only using the emulator's own 'soft' keyboard (that appears when an input field is focused).

I've tried reinstalling the SDK tools (and the whole SDK for that matter), uninstalled and reinstalled Eclipse Android plugins, re-created emulator devices. But none of that seem to help and its driving me mad. Its hopeless to key-in using a laptop's trackpad.

Even though the developer documentation says keyboard support is enabled by default it doesn't seem to be that way in SDK rev 20. I explicitly enabled keyboard support in my emulator's config.ini file and that worked!

Look in AVD Manager, select the AVD and click in Edit. In Hardware section: click in "New" and search for "Keyboard support" and add with OK button and set the value to "yes" and save changes with "Edit AVD"

Here is some workaround that actually worked for me, it is the same solution as in the most popular answer - just add hw.keyboard=yes to config.ini but since this didn't work for me I additionally

Sometimes computer keyboard stops working on android emulator. Today I've noticed, that after pushing this button (that I marked with red arrow), keyboard starts working again (seems to be some issues with emulator window focus)

Look for the hidden .android folder in your user home folder. You might rename or delete this folder, recreate your AVD, and restart the emulator. It could be there is a .ini file in that folder that has that setting munged.

Recreating an AVD with the Hardware Keyboard + setting the boolean to true was the only solution that worked for me; the other two main solutions (terminal or editing an existing AVD via GUI) both resulted in software/emulator crashes on my Mac. Making a new AVD resulted in the keyboard working just fine.

I have used an emulator for API Level 23, which does not take keyboard input for installed apk.So I have created new emulator for API Level 29, and then it works.Following is the step to install new emulator.

I have wasted a whole day trying out different solutions floating around in SO and other place mentioned to enable wifi on the android emulator but to no avail.Can anybody help me figure out how do I enable internet on my android emulator?

Edit: This is the fix for a situation when the emulator's wifi has changed the DNS to some non-working DNS. While this works most of the time, there might also be other reasons which may not fix from this solution.

The older answers to this problem no longer work after 2020 (Using Android Studio 4.1.2 or newer). The problem is the DNS settings on the Emulator. It no longer works to just change the DNS Servers on your local PC. You have to change the DNS settings within the Emulator. The following steps are for an emulator running Android 11. Other versions will be similar:

@TheBaj : I figured the problem with this and fixed it. The problem is when you are connected through the router, the androidwifi in your emulator uses the settings and the sets the DNS to something other than 8.8.8.8 which is the google DNS(I presume this is kinda mandatory setting for the androidwifi to gain internet access). But if i change the DNS in my network settings, the google-services plugin which fetches your dependencies especially the one's getting downloaded from jcenter() will not be downloaded and hence your sync will fail which eventually fails your build.

So the trick is that you have your google DNS(8.8.8.8) configured in your network settings after your default router settings - this part takes care of downloading the dependencies from jcenter() and the sync and build succeeds.

On Mac OSX (Catalina for me), the problem is caused by the fact that the emulator automatically picks up the nameserver by looking at /etc/resolv.conf and picking the first one, in my case an IPv6 address. Source: -networking#dns

Maybe this would help someone. I tried all the solutions above. Changing DNS, cold booting, etc. After several hours of trial and error, I went to the official docs, which said that the emulator picks up the DNS config. of host machine at emulator's boot time.I had VMWare installed on my machine, which installs a few network adapters. So, I just changed the DNS config. of all the adapters (including VMWare adapters), and cold booted my emulator. OMG, the problem which didn't seem to go away for hours, just got right!

I hope I save someone a lot of pain, I tried everything everyone said on here, changed the DNS of every network adapter, reinstalled everything, the SDK, the emulator, even android studio, nothing worked, if you find yourself in the same position check if you VMware installed, if you do, don't bother with the DNS just go into Control Panel->Network and Sharing Center->Change Adapter Settings, and disable any and all VMware Network Adapters, then Cold Boot, fixes the issue instantly, you can even enable them later, and it still works

Just close your emulator and select the "Cold Boot Now" option on the drop menu adjacent to the play button. If not look for any of the more comprehensive options listed here, but I suggest always starting with the simplest solution.

For new searcher users:Sometimes VPN is your solutionChanging of network setting is not possible always because of networking issues.If you are in ip addresses that google does not responding for these regions,your solution is using of vpn.Use a proper vpn (a vpn that trough it you could update your android studio).When your vpn is on start your avd device (ofcourse api level of your emulator is important for example I have not any problem with api 22 but for api 28 is need using of vpn !).This was my experience about android emulator internet.

My laptop doesn't charge via USB-c so I bought a PD emulator that plugs into the barrel port and charges the laptop through a USB c cable. But I can only charge my laptop by this method when the laptop is off or in sleep mode. Why doesn't it charge my laptop when it's on(in working mode).
I am using a 65W PD charger. I think some drivers or services are interfering with the charging process. Anyway, I could not fix the problem. Does anyone have any idea?

A proper PD charger will be able to output one or more voltages from a selection of 5V, 9V, 12V, 15V or 20V. Depending on the device being charged there may be a slight difference in what voltage is suppled. A "true" PD device will toggle or signal on one of the USB C connector lines to negotiate a voltage. A "dumb" PD device may put a particular load across the (different) data lines to "signal" that it wants 9V instead of 5V.

Not knowing what that PD "emulator" is limits what we can say about it. It is entirely possible that is only knows how to "ask" for 9V from your charger and so limits charge rate that way. Or it knows how to ask for 12V but not a higher current and so you only get a slow charge. Cheap devices like these tend to be very limited in what they do and there may be lots of different adaptors for various different voltage and current requirements. You may have gotten (or been sent) the wrong one for your particular requirements.

Any application that utilizes a lot of processing power will make your laptop hotter. Emulators usually use a lot of CPU power and it may result in making laptop hotter. Observe your CPU usage (use top or any other tool) while running emulation. Use lm-sensors to observe heat. Results may vary depending on emulator and your hardware.

I've downloaded the latest android emulator for Mac OSX using this link. However, the emulator cannot use the Mac OSX camera in the app inventor application. When I try to open the camera app, it shows black & white checkbox only. There isn't also any option which I could find in the aiStarter emulator settings to use the laptop camera hardware.

The challenge is that not every computer has a camera, and it used to be the case that if you specified a camera when one wasn't available the emulator startup would fail. That may no longer be the case. But in the scenario where App Inventor is typically used (computer labs in schools), the odds of a webcam are fairly small. As you've found, you can customize the emulator setup for your machine.

Thank you for checking on that. I had been trying to do the course on my company work station which I cannot turn the extensions off for. I just tried it on my personal machine and it works just fine, I guess my company has some configuration that messes with this specific emulator.

And if you will read first paragraphs of ODK then you will get motto of ODK and that is "Open Data Kit (ODK) is a free and open-source set of tools which help organizations author, field, and manage mobile data collection solutions"

Hi @EddieMu,
I have in the past run ODK Collect with an Emulator successfully on a laptop. I used it in trainings to show how to use the app. It worked well. I had used "Bluestack" but this is probably 2 years ago, so something better may be on the market.

Thanks @arqaam. Are you able to use barcode feature while running it in BlueStack? For example, if I have a barcode reader attached to my laptop, can I use it directly with ODK on BlueStack to read a barcode and retrieve/display data?

In my case i use 3cx droid desktop android app to view mobile screen on the computer web browser. There is also vysor which you can use, its a client-server software you can use to project the android screen to the computer. There is also an android operating system designed to run on pc. You can install that. I installed Phoenix OS, which is an android operating system that runs on pc.

@yanokwa: There is a project that I am supporting that want to implement ODK and they have notebooks and are exploring using ODK without incurring expenses of acquiring phones/tablets. They are on a limited budget.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages