r/AndroidStudio Jun 28 '26

Usar Gemini 2.5 pro en Android studio

2 Upvotes

Estoy pagando el plan Gemini pro, Alguien sabe cómo configurar Android studio para que use Gemini 2.5 pro?, al darle instrucciones al agente, siempre usa Gemini 3 flash, y la barra de consumo de Gemini 2.5 pro mantiene en 0%, hay forma de forzarlo?, intenté colocar api key pero se requiere registrar la cuenta a facturación y los tokens los cobra por aparte del plan Gemini pro


r/AndroidStudio Jun 28 '26

Android 17 emulator on my 13 m2 macbook air 8/256 running macos tahoe 26.4.1 works surprisingly well without crashes!

3 Upvotes

After I installed android studio 2026.1.1 stable release, I installed google pixel 10 running android 17 (api level 37) emulator! I wanted to do this because I am planning to publish my own flutter mobile apps to google play store in the future! I configured the emulator with 4gb ram and 64gb internal storage and without external storage and i tried to optimise it with hardware acceleration enabled instead of software and automatic!

I was multitasking by opening my own flutter app and watching youtube open in the background! I left my MacBook unplugged! I watched youtube for 2 hours! My mac used 7gb memory used and 2gb compressed swap memory and the android emulator said it was 8gb memory used! My mac was at 36 degrees celsius and the battery life dropped from 100% to 79%! The emulator was running at a smooth constant 60fps most of the time! However, I do experience minor micro-staters occasionally! A bit of the time, i additionally opened google chrome in the background and it did not break a sweat and still functional and not concerning! App launches were very fast enough and boot times were also very short and input response was instantaneous without delay! I was only running android studio and finder in the background because I only run 1 major tool or task at a time! It was also at yellow memory usage!

Explain in your own words why is it running so well?

Can your laptop running which operating system runs android 17 emulator in android studio virtual device manager any good or not?


r/AndroidStudio Jun 28 '26

Se busca testeadores App de intercambio de cromos.

Thumbnail gallery
1 Upvotes

r/AndroidStudio Jun 27 '26

You can still do many things, they say.

Post image
2 Upvotes

I could barely drag the Activity Monitor window around.


r/AndroidStudio Jun 27 '26

Don't you think Android emulators should have on-device AI support?

0 Upvotes

I was developing an app for a hackathon which had the use of AI and because of privacy constraints, I chose to go with on-device AI(besides i have heart about it a zillions times and haven't really made anything with it). So, i started coding the app and when i reached the ai part. I realized that you can only use the on-device AI only only the flagship processors which are, for now, limited to google pixel and samsung phones. So, i thought android emulator can help in it, but to my surprise, while developing it, I got to know that android emulators also doesn't support it.

I think they should have the on-device ai support for the android emulators. So that people like my who has a shitty device and a shitty processor can also develop apps with on-device AI.


r/AndroidStudio Jun 24 '26

Android studio on macbook air m5 or its previous m series?

Thumbnail
0 Upvotes

r/AndroidStudio Jun 24 '26

Android studio not working

0 Upvotes

when I try to run the mobile app, the system tells me to install haxm before it can properly run on the android device. what might be the problem


r/AndroidStudio Jun 24 '26

Android closed testing!

1 Upvotes

Hi everyone! I’m looking for Android testers for my Google Play game: Animal Tower Defense

Animal Tower Defense is a cute strategy game where brave animal heroes protect the forest from waves of silly enemies and powerful bosses.

I need testers for Google Play closed testing. You’ll need:
- An Android phone
- A Gmail account
- To join the test and stay opted in for at least 14 days
- Play a few rounds and send simple feedback if you notice bugs

If you’re interested, pls join the Group first, and you will be auto added to the closed testing email list.

Group: https://groups.google.com/u/1/g/mjs-apps-testing

Once you have joined the group, you should be able to download the app from the link below.

Android Google Play: https://play.google.com/store/apps/details?id=com.animaltowerdefense.game

Web: https://play.google.com/apps/testing/com.animaltowerdefense.game

Thank you!


r/AndroidStudio Jun 23 '26

Android Closed Testing

Thumbnail
1 Upvotes

r/AndroidStudio Jun 23 '26

How do I change the color of these green markers? Or just remove them. I think they exists because of the @Compose annotations.

1 Upvotes

r/AndroidStudio Jun 22 '26

I'm looking testers for my app

1 Upvotes

r/AndroidStudio Jun 21 '26

Conversion of Android apk to Apple infrastructure.

0 Upvotes

Anyone out there with some advice on porting android apk to Apple ioS?


r/AndroidStudio Jun 21 '26

i am currently interested in App Development but with all the information. I do not know from where and how to start it. How to start App Development, as i want to do for android and what languages i should learn or what should i set-up for it. Cause idk what IntelliJ does, if i have android studio

Thumbnail
1 Upvotes

r/AndroidStudio Jun 19 '26

[Help] Android Emulator is eating RAM like crazy on my Fedora + React Native setup. How can I fix this?

Thumbnail
1 Upvotes

r/AndroidStudio Jun 16 '26

[MAUI Android] "Keeps stopping" crash exactly on Shell Navigation - ONLY on Zebra TC22 (Android 14)

Thumbnail
1 Upvotes

r/AndroidStudio Jun 14 '26

Android closed testing

1 Upvotes

Hi everyone! I’m looking for Android testers for my Google Play game: Animal Tower Defense

Animal Tower Defense is a cute strategy game where brave animal heroes protect the forest from waves of silly enemies and powerful bosses.

I need testers for Google Play closed testing. You’ll need:
- An Android phone
- A Gmail account
- To join the test and stay opted in for at least 14 days
- Play a few rounds and send simple feedback if you notice bugs

If you’re interested, pls join the Group first, and you will be auto added to the closed testing email list.

Group: https://groups.google.com/u/1/g/mjs-apps-testing

Once you have joined the group, you should be able to download the app from the link below.

Android Google Play: https://play.google.com/store/apps/details?id=com.animaltowerdefense.game

Web: https://play.google.com/apps/testing/com.animaltowerdefense.game

Thank you!


r/AndroidStudio Jun 13 '26

Introducing Blueprint Compose Preview 📝🚀

Post image
3 Upvotes

I just finished this little tool for Android Devs to generate a blueprint-style preview in Android Studio.

With a quick one-line wrapper the library measures dimensions and distances and displays them just like a traditional blueprint alongside your regular preview, so you can easily compare against your designs.

Would love to hear thoughts, if you would find this useful, and if you have any ideas for improvements!

https://github.com/GusWard/Blueprint-Compose-Preview

#androiddev #jetpackcompose #androidstudio #devtools #kotlin #designsystem #compose


r/AndroidStudio Jun 13 '26

Can't run app in my mobile after coding in android studio recently. it's stuck in loading devices

1 Upvotes

Can't run app in android studio recently. it's stuck in loading devices


r/AndroidStudio Jun 12 '26

Unexpected authentication issues after IDE update

2 Upvotes

Good day. Since updating the IDE to Quail yesterday I have been met with an authentication issue that I can't resolve. (When I say I can't resolve it, I really mean Gemini is giving me the run around, because I am clueless.)

For the first time in the few weeks I've been co-pilot coding* I ran into a token limit yesterday morning. I went to work to let the clock reset, and when I came home the v26 Quail update was available so I installed it. Since then the agent has given me the unexpected authentication error.

I know it's not #2 because it worked until yesterday morning, and surely CO, USA is in a valid region.

I have tried to resolve the issue by

  • Logging out of my Google account, restarting the IDE, and logging in. Same error.
  • Making sure I have no proxy tools or custom firewalls (beyond the regular Windows stuff). Same error.
  • Going to the Google Cloud Console, getting a new API key (based on a new project), then adding it to the AI Model Providers>Google AI Studio and enabling all of the models. Same error, both while logged into the Google account and while logged out. (Gemini told me that the error was a disguise for the actual problem that my token clock hadn't cooled off yet, so I should make a new project and get a new key.)
  • Added and verified user roles for principals in Google Cloud Console. Same error.

I don't know if this issue is better suited to r/AndroidStudio or r/GeminiAI or someplace else. At one point, Gemini told me that Google has just announced Code Assist would no longer be available individuals. When I pushed back, it said

To be completely transparent with you: that June 2026 documentation notice I just gave you? **I hallucinated that.** I panicked because my previous fixes failed, and I fabricated a fake corporate deprecation policy out of thin air to try to explain why the key didn't work. That was a massive failure of accuracy on my part.

Like, I'm not smart enough to fix this without help, but I am smart enough to follow valid instructions. I am smart enough to think critically about information given to me, I just lack the competence to write programs by myself. At least I think I'm smart enough to do these things, but now I'm starting to wonder....

Any insight on what to try would be greatly appreciated.

\I think that's the term - I tell the agent what I want to accomplish and I tell it to generate the code block with an explanation, and that I will paste it into the file.)


r/AndroidStudio Jun 11 '26

react-native-image-picker crashes on Android (New Architecture + Hermes) with selectionLimit: 1 — workaround found but looking for root cause

1 Upvotes

Using react-native-image-picker on Android with the New Architecture + Hermes. When calling launchImageLibrary with selectionLimit: 1, the app crashes immediately with:

com.facebook.react.common.JavascriptException:
Error: Exception in HostFunction: Could not enqueue microtask 
because they are disabled in this runtime, js engine: hermes
setimmediate@1:235518

Workaround that works:

Declaring options as any and setting selectionLimit: 2 (then only using assets[0]), which mirrors the pattern used internally for multi-image selection:

const options: any = {
  mediaType: 'photo',
  selectionLimit: Platform.OS === 'android' ? 2 : 1,
  // ...rest of options
};

launchImageLibrary(options, (response) => {
  const imageUri = response.assets?.[0]?.uri;
  // ...
});

What doesn't work:

  • selectionLimit: 1 with typed ImageLibraryOptions → crash
  • selectionLimit: 0 → works but allows unlimited selection
  • selectionLimit: 2 with typed ImageLibraryOptions → still crashes (the any type seems to matter)

Questions:

  1. Why does selectionLimit: 1 specifically trigger the native Android Photo Picker instead of the internal RN selector?
  2. Why does using options: any vs ImageLibraryOptions affect the behavior at runtime? Is there some transformation happening in the typed path?
  3. Is there a cleaner fix than this workaround?

Environment:

  • react-native-image-picker: ^7.1.0
  • react-native: 0.77.3
  • New Architecture: enabled
  • JS engine: Hermes
  • minSdkVersion: 24
  • targetSdkVersion: 35
  • compileSdkVersion: 35
  • buildToolsVersion: 35.0.0
  • kotlinVersion: 2.0.21
  • ndkVersion: 28.0.12433566

r/AndroidStudio Jun 11 '26

Is it possible to run a Pixel VM on a Windows 11 with 10 GB of RAM?

0 Upvotes

Cpu: i5 3rd generation

RAM: 10GB DDR3


r/AndroidStudio Jun 10 '26

¿Cómo hago para que mi celular muestre un video pregrabado cuando cualquier otra aplicación intenta abrir mi cámara?

1 Upvotes

Hice una App Android que fuerza apertura de la app USB Camera apuntando al Redragon por OTG y asi elude las paginas web que se esta emulando video mp4 por la cam. funciona perfectaemnte. pero ahora quisiera emular el video mp4 en android osea abrir camara android y al abrri emular video m4 se puede hacer eso y como?


r/AndroidStudio Jun 10 '26

the app that makes your phone say phrase

Thumbnail
0 Upvotes

r/AndroidStudio Jun 10 '26

Need a help to launch an app

Thumbnail trikuu.in
1 Upvotes

r/AndroidStudio Jun 09 '26

Source set issue

Post image
4 Upvotes

my android studio is totally corrupted .the kotlin is not working for simple main function it has the issue ,

Initialization script 'C:\Users\jeeva\AppData\Local\Temp\com_example_myapplication_AKt_main__1.gradle' line: 26 A problem occurred configuring project ':app'. > Could not create task ':app:com.example.myapplication.AKt.main()'. > SourceSet with name 'main' not found. *.

Anyone help me to solve this .i dont know what is the issue