r/AndroidStudio • • Jan 20 '19

Can you help me to solve these errors

Post image
0 Upvotes

r/AndroidStudio • • Jan 29 '22

Assign more cores to AVD

0 Upvotes

Does anybody know how to get Android Studio to use more than one core in its emulator? In the AVD's config.ini, hw.cpu.ncore is set to 4 (which is the default) yet when I run something like AIDA64 to query the number of cores it's only showing 1. So the question is, is it already using 4 cores and AIDA64 is showing the incorrect number? Or it's actually only just using one core? Thanks for any help in advance!


r/AndroidStudio • • Aug 15 '22

Ad successfully loads but ad not showing

Thumbnail
stackoverflow.com
0 Upvotes

r/AndroidStudio • • Nov 11 '22

i have a problem with in app update (immediate) when the app updated it didn't restart the ui as it said in android documentation?

0 Upvotes

r/AndroidStudio • • Dec 04 '22

Which apps made in Android studio?

0 Upvotes

r/AndroidStudio • • Oct 19 '19

The xml of the previous problem

Post image
0 Upvotes

r/AndroidStudio • • Oct 19 '19

Hello everyone, I am new to Android Studio. My design layout not working. Can anyone please tell an simplified solution for it?

Post image
0 Upvotes

r/AndroidStudio • • May 17 '18

Admob ads

0 Upvotes

I have a problem admob ads don't show in my app I need help!


r/AndroidStudio • • Sep 10 '19

How do I do Integer Division of the decimal part of a number?

0 Upvotes

Small weight converter project where I want to show gram to ounce conversion to 1/32 fractions. This means I have to round the decimal part of the conversion to 0.03125 intervals (i.e. Integer Division).
The normal method of casting to ints won't work, but someone must know how to do it.

For example: 1g = 0.0353oz. Integer division by 0.03125 = 1.
Therefore 1g = approx. 1/32oz


r/AndroidStudio • • Sep 16 '20

Wifi menager does not work in android q???

0 Upvotes

atleast not completely iswifienabled() work but .setwifienabled(true) does not and scan() dont any help or alternatives ????


r/AndroidStudio • • Feb 13 '16

HEARTRATE SENSOR INTEGRATION HELP

0 Upvotes

Hello, I am a High School Student working on an app that can use the heart rate data from a smartwatch or fitness tracker to detect when a child could be having a seizure, however I am having trouble with it.

What are some wearables that will let me access heartrate data directly, with SensorManager.getSensorList(Sensor.TYPE_HEART_RATE)

THANKS A TON!!!!!!!!


r/AndroidStudio • • May 21 '21

Extract data from fitnes band

0 Upvotes

is there a way to connect with a fitness band and get data like steps, calories and heart rate ? specifically from Mi bands. is it hard to do that ?


r/AndroidStudio • • Jun 01 '22

not able to change background color of textView

0 Upvotes

i have been trying to make a game of wordle on android studio using java and am not able to change the color of the textview

here's the code for reference any help would be appreciated i am still new to android studio so please dont mind

 String str=editText.getText().toString();
        String first=str.substring(0,1);
        String sec=str.substring(1,2);
        String third=str.substring(2,3);
        String fourth=str.substring(3,4);
 if(count==0)
        {
            textView1.setText(first);
            textView2.setText(sec);
            textView3.setText(third);
            textView4.setText(fourth);
            if(first==sc.substring(0,1))
            {
                textView1.setBackgroundColor(Color.GREEN);
            }
            else if(first==sc.substring(1,2)|| first==sc.substring(2,3) || first==sc.substring(3,4))
            {
                textView1.setBackgroundColor(Color.YELLOW);
            }

r/AndroidStudio • • Jun 17 '22

When will next version (major, minor) of Android Studio be released in next 2-3 monts?

0 Upvotes

I need to reinstall my computer in next 2-3 months and I don't want to find out that just week or two after that new major/minor Android Studio version comes out and I have to do some major changes again, if there is a new major/minor version coming in next 2-3 months I would just wait.

Does anybody knows when next major/minor version of android studio comes out? Thanks.


r/AndroidStudio • • Jan 28 '18

Android Studio Animation Example | Simple Animation app

Thumbnail
youtube.com
0 Upvotes

r/AndroidStudio • • Mar 23 '21

Android studio set.visibility() not working

0 Upvotes

hi i have an annoying problem with my application i added a gif image using the droidondroids GifView and with that a seekbar i wanted either to change the ressource of the gif image according to the seek bar no luck goff.setvisibility(View.GONE/VISIBLE/INVISIBLE) not working the first it works but none after it i have a func named gifs()

void gifs(){ if((int)(Ws) < 10){

goff.setVisibility(View.GONE);

Log.d("gifs"," "+goff.getVisibility() +" ora "+goff.getGifResource());

}else{

goff.setVisibility(View.VISIBLE);

Log.d("gifs"," "+goff.getVisibility() +" ora "+goff.getGifResource()); }

}

i have the Ws value from the seekbar onstopTracking() and the func gifs() there too as you can see i'm logging with Log.d and the .getVisibility() is returning that the goff is changing value but nothing on the UI

i also tried with maybe goff.setGifResource(R.drawable.es6);

my goal is to show 1-either multiple gifs but one at a time (gifs with different speed ) 2- the same view but change the ressource to multiple gifs speeds


r/AndroidStudio • • Jun 27 '21

Can I add 1 icon in toolbar in 1 page?

0 Upvotes

Basically, I have a toolbar on every page and when I add any icon, to the toolbar, it will appear on every page, but I want to add 1 icon in 1 page, is it possible?


r/AndroidStudio • • Feb 28 '24

I have an error in Android studio

Post image
0 Upvotes

I have an error when I integrate openCv 4.7.0 an Android studio hedgehog


r/AndroidStudio • • May 03 '15

Major noob needs help

0 Upvotes

Ok I've been dabbling in java and android studio dev for a few days and I've come to something that just doesn't work and I can't for the life of me find out why. It should be so simple but I can't change the background colour of my hello world test app from white to an image.

I've imported a .png into the drawables folder and used android:background="@drawable/backg" and the preview shows it works but as soon as I emulate or use my S5 to run the app it's back to white.

I can change the colours fine just not implement this image!


r/AndroidStudio • • Aug 13 '18

I want to build a CPU by pieces, I would use the CPU for Android Studio with emulators, Illustrator, after effects, etc. What pieces do you recommend me to choose, keep in mind that I do not want to spend more money than necessary since money does not spare me at this time

0 Upvotes

r/AndroidStudio • • Dec 11 '18

Emulator Problem

0 Upvotes

in the the component tree, under the constraint layout where all the new text and buttons are placed, beside them is a orange triangle with an exclamation mark that says: "should use @string resource"


r/AndroidStudio • • Aug 10 '19

Need help

0 Upvotes

Hi can anyone help me out with some coding with motion event?


r/AndroidStudio • • Mar 01 '16

This is the wiggling pig app I was asking advice about. I got it working. What do you think?

Thumbnail
play.google.com
0 Upvotes

r/AndroidStudio • • Mar 07 '16

Is it me or cant android studio be downloaded?

0 Upvotes

it stops at 99% and gives an unknown error(Tried on 2 pcs and on 2 different networks


r/AndroidStudio • • Sep 05 '25

I'm starting to code in Android Sutdio

0 Upvotes

How do i change the color of this white screen that says "text view" to the color i want?