Android Studio 期末大作业

一、版本说明:

Android Studio4.0(可迁移至Androidx)

gradle-6.1.1-all.zip

二、以下是有关导航、MateriaDesign、okhttp的依赖,顺便说一句Androidx解决了部分包冲突的问题,真香

implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.multidex:multidex:2.0.0'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.navigation:navigation-fragment:2.1.0'
implementation 'androidx.navigation:navigation-ui:2.1.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0'
implementation 'com.squareup.okhttp3:okhttp:3.4.1'
implementation 'com.google.code.gson:gson:2.8.4'
def nav_version = "2.3.0"
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'

三、提醒一下多Fragment时要注意线程问题,利用Handle和Message传递信息

四、我添加了一个计算器功能,算是自己做出来的丑东西,其余是借鉴大佬设计,给跪了

(33条消息) 手把手教你完成Android期末大作业(多功能应用型APP)_晚风Serein的博客-CSDN博客_android期末大作业app

五、学习经验:要学会分析Logcat

最后,终于能把这个玩意儿卸载了!

猜你喜欢

转载自blog.csdn.net/hey_guyhey_guy/article/details/125170364