Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,388 members, 7,822,801 topics. Date: Thursday, 09 May 2024 at 05:08 PM

Android Developers, Pls I Need Help - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Android Developers, Pls I Need Help (523 Views)

Android Developers Pls Help / Android Developers Drop Your Published Apps Here / Kotlin For Android Developers By Antonio Leiva" Ebook(pdf). (2) (3) (4)

(1) (Reply) (Go Down)

Android Developers, Pls I Need Help by Etinosa1234: 11:51am On Nov 25, 2020
Pls while practicing android development, I came across using support libraries

In my tutorials, the support library were

android support v7 but the one supported by my android studio was androidx.app.widget.appCompat

I tried creating my app like that but it refused to work on my device...

Any idea how I can solve this?

Spoilerx
Parkevero
Re: Android Developers, Pls I Need Help by spoilerx: 11:58am On Nov 25, 2020
Etinosa1234:
Pls while practicing android development, I came across using support libraries

In my tutorials, the support library were

android support v7 but the one supported by my android studio was androidx.app.widget.appCompat

I tried creating my app like that but it refused to work on my device...

Any idea how I can solve this?

Spoilerx
Parkevero


don't use support, use androidx libraries.

support would soon be if not already deprecated.

androidx is the new support, your tutorial is very old.
Re: Android Developers, Pls I Need Help by parkervero(m): 12:42pm On Nov 25, 2020
Etinosa1234:
Pls while practicing android development, I came across using support libraries

In my tutorials, the support library were

android support v7 but the one supported by my android studio was androidx.app.widget.appCompat

I tried creating my app like that but it refused to work on my device...

Any idea how I can solve this?

Spoilerx
Parkevero


Support libraries are deprecated. Use androidx.
Support libraries are confusing most time.
Re: Android Developers, Pls I Need Help by etoluw: 3:49pm On Nov 25, 2020
Etinosa1234:
Pls while practicing android development, I came across using support libraries

In my tutorials, the support library were

android support v7 but the one supported by my android studio was androidx.app.widget.appCompat

I tried creating my app like that but it refused to work on my device...

Any idea how I can solve this?

Spoilerx
Parkevero


you can add the support library to the build.gradle file
Re: Android Developers, Pls I Need Help by Etinosa1234: 4:07pm On Nov 25, 2020
cry
spoilerx:


don't use support, use androidx libraries.

support would soon be if not already deprecated.

androidx is the new support, your tutorial is very old.

I used androidx but the app refused open in my phone...

That's the problem
Re: Android Developers, Pls I Need Help by Etinosa1234: 4:07pm On Nov 25, 2020
etoluw:


you can add the support library to the build.gradle file

Pls where can I download it?...or how can I add it
Re: Android Developers, Pls I Need Help by Etinosa1234: 4:09pm On Nov 25, 2020
spoilerx:


don't use support, use androidx libraries.

support would soon be if not already deprecated.

androidx is the new support, your tutorial is very old.

Ohh... I used the androidx library in my code... But the app refused to work in my phone
Re: Android Developers, Pls I Need Help by Millerules(m): 7:42pm On Nov 25, 2020
Refused to work? Were your builds successful?
Wat error are you getting? Give detailed information and share ur app's build.gradle file

Etinosa1234:


Ohh... I used the androidx library in my code... But the app refused to work in my phone
Re: Android Developers, Pls I Need Help by Etinosa1234: 8:59pm On Nov 25, 2020
Millerules:
Refused to work? Were your builds successful?
Wat error are you getting? Give detailed information and share ur app's build.gradle file


Ohh

It was successful

But the error is not from the code
It’s just that the app refused to run on my phone when I added a support library
Re: Android Developers, Pls I Need Help by Millerules(m): 11:29pm On Nov 25, 2020
I guess it's crashing.
Did you check the LogCat?

Etinosa1234:


Ohh

It was successful

But the error is not from the code
It’s just that the app refused to run on my phone when I added a support library
Re: Android Developers, Pls I Need Help by Etinosa1234: 11:32pm On Nov 25, 2020
Millerules:
I guess it's crashing.
Did you check the LogCat?


I’ll check ... anything I see, I’ll notify u sir

Thanks
Re: Android Developers, Pls I Need Help by Millerules(m): 10:09am On Nov 26, 2020
Alright sir

Etinosa1234:


I’ll check ... anything I see, I’ll notify u sir

Thanks
Re: Android Developers, Pls I Need Help by Etinosa12345: 1:58pm On Dec 06, 2020
Sorry for the late post... The error was because i used the include tag in my XML

Cc: Millerules spoilerx etoluw parkervero

1 Like

Re: Android Developers, Pls I Need Help by Millerules(m): 3:38pm On Dec 06, 2020
Okay. Happy Coding!

Etinosa12345:
Sorry for the late post... The error was because i used the include tag in my XML

Cc: Millerules spoilerx etoluw parkervero

1 Like

(1) (Reply)

Check Out Me Personal Portfolio HTML 5 Template / Nigeria Programmers Social Group I.e Whatsapp , Discord Etc / I Need A System For My IT Journey.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 26
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.