Android Studio Secondary Click Not Working - android

I just installed Android Studio to my new Mac book and somehow the secondary click is not working only when I use the option "Click or Tap with Two Fingers". This only happens in Android Studio.
I can use secondary click by tapping with two fingers from other apps.
I can also use secondary click by click in the bottom right corner.
Specs:
Android Studio Electric Eel | 2022.1.1
Macbook Pro M2
Added information:
Formatted and re-installed the Android Studio, it's still not working
Secondary click with clicking with two fingers works but tapping with two fingers still doesn't work (only in Android Studio)

Related

Why does right click not work on ChromeBook?

I try to code an application with C++/Qt which runs on Windows, Mac, Chrome OS ...
On my ChromeBook, the Right Click (to show the default context menus on lineEdits (copy/paste...) or to show custom context menus) does have the same comportment than the Left Click, so I have not the capacity to show any context menu.
I've tried 3 ways for the Right Click :
The 2 taps on the trackpad
The "Alt" + Click on the trackpad combo
The Mouse connected via USB, right click
Each way produce a Left Click on my application, where, on other "official" apps (Google Chrome explorer for example), the Right Click is correct.
Asus C433T ChromeBook Chrome OS version 93.0
Qt 5.15.2 Qt Creator 5.0.2 build for compileSdkVersion 29 - archi x86 - JDK 14.0.1 - NDK 21.3
Note : my ChromeBook has a touchscreen
How to achieve the correct right click behaviour in my application?

Android Studio 2.3 start multiple emulators

I tried to start two emulators for the same project in the Android Studio. For the previous version, it's kind of easy. I just need to click on the run button and choose a new emulator.
After I upgraded to the Android Studio 2.3, the latest version now, it will always run in the running emulator. The dialog that asks me to select a different emulator never show up, which used to be there in the old version.
Anybody have some ideas on that? Thank you so much!
after the first Run,
stop it by clicking the stop button (red square, top | centre)
then Re run

In Android Studio 2.2 it does not allow me to drag and drop widget

Similar questions had been asked for earlier versions of and I found the most recent was in October 2015. At that time users were no longer be able to drag and drop widget to Design view of activity_main.xml but were able to do so to design view of content_main.xml. Last week (late Sep 2016) I updated Android Studio to 2.2 on macOS Sierra.
The design view is now showing two views for the screen (not sure how to correctly call its name) and I cannot drag and drop widget to either of them. It simply does now allow me to drag any widget from Palette. I tried the menu File/Invalidate Caches/Restart.and it did not help.
Thanks.
In macOS Sierra i don't know why drag n drop function is not working but in windows android studio 2.2 its working under design Tab, May be some problem when you configure android studio. Please check ones
I don't have Android Studio 2.2 on Windows to try it yet. Possible reasons I can think of includes the following:
Android Studio 2.2 does include something that caused this on macOS Sierra. And I happened to updated the Android Studio and mac OS last week;
My Android Studio has been installed since probably 1.4 and has been updated for each release. It's not fresh new 2.0 install. Uninstall and reinstall will be a lot of pain and time wasting.
My mouse is wireless Logitech M510 which was is connected to a four port StarView DVI KVM switch. But this is a wild guess. It's unlikely the culprit unless one had same issue with windows mouse but not with Mac mouse. I am using 2012 mac mini.
I had the same problem but then I found this useful answer https://code.google.com/p/android/issues/detail?id=211582, and this post give me the solution:
11 nan.y...#gmail.com
OK, finally I found how to solve this problem. But it is still strange. I think may be it is still a bug in AS 2.2.
Key is Preferences->Appearance->UI Options->"Drag-n-Drop with ALT pressed only". This is checked as default both in my AS2.1.1 and AS 2.2.
Then
1) In AS 2.1.1, only I press ALT and then drag items in Project Pane, I can move java class from one package to the other one. In layout editor, I can drag widget from palette to layout without ALT key pressed.
2) In AS 2.2, same as AS2.1, I need to press ALT to drag items in Project Pane. But in layout editor, no matter I press ALT key or not, I cannot drag widget from Palette to layout. The strange is here:
2-1) I uncheck this option, then I can drag item in Project Pane without ALT key pressed, but I still cannot drag widget in Palette.
2-2) I check this option again, then I need to press ALT to drag item in Project Pane. AND THEN ! I can drag widget in Palette with ALT key pressed.
2-3) After two step above, if I check this option I need to press ALT to drag a widget from palette. If I uncheck this option I can drag widget directly without ALT press.
Now, dragging widget in Palette works properly in my AS 2.2, but I still think this solution is wacky. I hope my solution could help to dig out the root cause of this issue.

Android studio mouse sometime not working?

I am using
Android studio 2.1.1 Build #AI-143.2821654 build on April 28, 2016.
JRE: 1.8.0_77-b03 x86_64
OS X El Capitan 10.11.3
I have met Android studio mouse problem a lot of times recently. I cannot use mouse to click anything in Android studio. All I can do is to use keyboard and shortcuts.
And only solution I found is to restart my whole computer. I have noticed that there is problem in other version of Android studio. So my question is that how can I deal with it?
I found that sometime I can reproduce this problem after I middle click the Editor Tab to close tab.
Just had this issue this morning. Android Studio wasn't responding to mouse click events. The odd thing was that it was responding to mouse position (tooltips, hover effects).
I updated to the newest version of Android Studio using Android Studio > Check for Updates and navigated the dialog menu with tab and spacebar. This did not solve the issue, but is probably worthwhile to try.
I'm not 100% certain what solved it, but I started pressing other buttons on my mouse (right-click, middle click, etc). Eventually it started accepting my left-click input again.
It happened to me with Intellij IDEA, when a dialog window has been opened by the IDE, but for some reason it is hidden behind the main window. You may try to find if there is any open dialog and close it.
I had the same issue on my Android Studio (4.1.1) on my MacBook Pro (macOS 11.1). For me, I just restarted my MacBook and the mouse click started working on Android Studio.
Not sure what caused it.
The mouse clicks thing and closing the android studio from task manager and open again did not help for me. im not sure why but CTRL+ALT+DELETE and going back to desktop fixed the problem.
Here is how I fixed this issue:
Use keyboard arrows and tab key to navigate to google assistant
Press enter to launch it
type and search "Power Menu : Software Power Bu"
navigate to install the app in results from playstore
Open the app after install and accept & set permissions
Open Power Menu now And you will get Android Power Options
Navigate to "Restart" and restart device
Viola!!! Now Emulator clicks works
In my case it happened, because one of the plugins started crashing in the loop, somehow disabling mouse click handlers.
Verify logs
Log file location:
~/Library/Logs/Google/AndroidStudio2020.3/
Remove bad plugins
~/Library/Application Support/Google/AndroidStudio2021.3/plugins

Develop an android project with codenvy

I'm trying to use codenvy to develop android projects, but I don't know how I can launch the emulator to see my project running. I found this video(https://www.youtube.com/watch?v=HqkHOWbFrDQ) about using manymo as a cloud based emulator but I don't know how to use it with the current version of codenvy.
EDIT : I clicked on the "run" button but I got no window poping up, here is a screen-shot of my project :
We now have a built-in emulator. When you launch the runner you'll first see a gray screen - at that point right-click and choose "Emulator" from the pop-up. It'll take a moment to load then you should see the Android logo and then the home screen.

Categories

Resources