udacity / ud839_Miwok

Other
689 stars 7.52k forks source link

Updated Miwok App 2021! #228

Closed hamdi-bouasker closed 2 years ago

hamdi-bouasker commented 3 years ago

Hi everyone,

I was several times frustrated because of the outdated Miwok app so I decided to make my life and others lives easier by coding new Miwok starter code fully updated to meet Android studio 2021. No more frustrations! Enjoy and happy coding 👍

Cheers 🙂

Miwok App 2021

Mohammed-Firasat-Hussain commented 3 years ago

Thanks a lot! Finally can sleep in peace.

hamdi-bouasker commented 3 years ago

Thanks a lot! Finally can sleep in peace.

Happy to help 🙂

Rudra2201 commented 3 years ago

Thank you so much!!

hamdi-bouasker commented 3 years ago

you welcome

Chandan-Bhadrala commented 3 years ago

Thank you bro a lot. May you earn billions of dollars. it was Quite a frustrating Experience with a bit of new learning for last 5 hours. & finally just before loosing all hope, i found you. Thanks a looooooooot.......

hamdi-bouasker commented 3 years ago

Happy to help 🙂

yashj-7 commented 3 years ago

thankss a lottt .. nd i mean alottt .. i was just gonna quit nd i found your link ... you came as a blessing.. thank you man

hamdi-bouasker commented 3 years ago

happy to help 🙂 you welcome

yashj-7 commented 3 years ago

happy to help 🙂 you welcome

if u can ...i would really like to know what the main problem was ..

hamdi-bouasker commented 3 years ago

in brief there is 3 main problems:

1- Default Min SDK and Max SDK of the 2015 code are not the Default Min SDK and MAX SDK of Android Studio 2021

2- compileSdkVersion and buildToolsVersion of the starter code 2015 are not compatible with Android Studio 2021

3- And ESPECIALLY:

androidx implementation

HINT

Look to app/build.gradle of my code and the udacity starter code to find out the differences.

Cheers 🙂

https://github.com/IT-Support-L2/Adapted-Miwok-App/blob/master/app/build.gradle

yashj-7 commented 3 years ago

in brief there is 3 main problems:

1- Default Min SDK and Max SDK of the 2015 code are not the Default Min SDK and MAX SDK of Android Studio 2021

2- compileSdkVersion and buildToolsVersion of the starter code 2015 are not compatible with Android Studio 2021

3- And ESPECIALLY:

androidx implementation

HINT

Look to app/build.gradle of my code and the udacity starter code to find out the differences.

Cheers 🙂

https://github.com/IT-Support-L2/Adapted-Miwok-App/blob/master/app/build.gradle

thank you man.. thanks a lott.. :-))

saiprasad-patil commented 3 years ago

Hey! Could you help me with something? In Android studio all my activities show the same lable as header.

`<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.android.miwok">

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".NumbersActivity"
        android:label="@string/category_numbers"
        android:parentActivityName=".MainActivity">
        <!-- Parent activity meta-data to support 4.0 and lower -->
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value=".MainActivity"/>
    </activity>
    <activity
        android:name=".FamilyActivity"
        android:label="@string/category_family"
        android:parentActivityName=".MainActivity">
        <!-- Parent activity meta-data to support 4.0 and lower -->
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value=".MainActivity"/>
    </activity>
    <activity
        android:name=".ColorsActivity"
        android:label="@string/category_colors"
        android:parentActivityName=".MainActivity">
        <!-- Parent activity meta-data to support 4.0 and lower -->
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value=".MainActivity"/>
    </activity>
    <activity
        android:name=".PhrasesActivity"
        android:label="@string/category_phrases"
        android:parentActivityName=".MainActivity">
        <!-- Parent activity meta-data to support 4.0 and lower -->
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value=".MainActivity"/>
    </activity>
</application>

`

thank you

Avikarn commented 3 years ago

thankyou so much man

hamdi-bouasker commented 3 years ago

thankyou so much man

you welcome 🙂

sudiptapradhan commented 3 years ago

image

Facing this problem. Can you help?

Avikarn commented 3 years ago

image

Facing this problem. Can you help?

use this instead of arrayadapter : WordAdapter adapter = new WordAdapter(this, words) ;

hope it helps :)

image @sudiptapradhan

CoderxAbhi commented 3 years ago

After seeing all the errors I didn't know what to do. Man you saved my life. Thank you so much!

sudiptapradhan commented 3 years ago

image

Can anyone help me out with the error here After going for the numbers activity, the app gets crashed.

And run tab shows this error but I don't understand what can i rectify

Can anyone help

This is in reference to Android Basics: Multiscreen apps, Lesson 2

mdparvez8 commented 3 years ago

I almost gave up on this course i literally spent 3 to 4 hours on fixing it. At last found this one thank You so much

Swarn96 commented 3 years ago

thankyou so so much.....

hamdi-bouasker commented 3 years ago

I almost gave up on this course i literally spent 3 to 4 hours on fixing it. At last found this one thank You so much

happy to help 🙂

hamdi-bouasker commented 3 years ago

thankyou so so much.....

happy to help 🙂

phoeniXharsh commented 3 years ago

Hi everyone,

I was several times frustrated because of the outdated Miwok app so I decided to make my life and others lives easier by coding new Miwok starter code fully updated to meet Android studio 2021. No more frustrations! Enjoy and happy coding 👍

Cheers 🙂

Miwok App 2021

You're a life Saver

simarjeet30 commented 3 years ago

Thank you soo much ,I have been looking for this from last 3 days.

yahayakayode commented 3 years ago

Thank you for the good job, please how do you manage the color.xml, style.xml and themes.xml? as they all have similar contents. Thank you.

LuisArmando9 commented 3 years ago

Thank bro, good joob. You help me so so much.

hamdi-bouasker commented 3 years ago

you welcome bro, I will do the same for the weather app soon. Happy coding 🙂

amangusain302 commented 2 years ago

bro, you are a hero, you save my time. I lose hope but then I found you, thanks a lot bro.

SudKul commented 2 years ago

Thanks, @IT-Support-L2 for suggesting the fixes. Letting new learners know that we have also updated and tested all branches to use Gradle 7.x, SDK API level 31, and AndroidX dependencies.

hamdi-bouasker commented 2 years ago

Actually I did not suggested the fixes, I fixed them all!

Actually udacity, coursera or any learning platform still didn't want to enforce a course update policy such as every 3 months.

It is not acceptable to host a course which needs a back to time machine to meet old dependencies.

Amrhany91 commented 2 years ago

I cannot find any java classes or anything @ MainActivity.java please help me because Udacity Course Code is outdated, like FragmentPagerAdapter