udacity/ud839_Miwok

Updated Miwok App 2021!

hamdi-bouasker opened this issue ยท 31 comments

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

Thanks a lot! Finally can sleep in peace.

Thanks a lot! Finally can sleep in peace.

Happy to help ๐Ÿ™‚

Thank you so much!!

you welcome

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.......

Happy to help ๐Ÿ™‚

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

happy to help ๐Ÿ™‚ you welcome

happy to help ๐Ÿ™‚ you welcome

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

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

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.. :-))

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

`

<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

thankyou so much man

thankyou so much man

you welcome ๐Ÿ™‚

image

Facing this problem. Can you help?

image

Facing this problem. Can you help?

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

hope it helps :)

image
@sudiptapradhan

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

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

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

thankyou so so much.....

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 ๐Ÿ™‚

thankyou so so much.....

happy to help ๐Ÿ™‚

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

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

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.

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

you welcome bro, I will do the same for the weather app soon. Happy coding ๐Ÿ™‚

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

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.

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.

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