Important Commands for Android Development
General
- Son versiyonlu kütüphaneleri arama: Link
- Play services libraries versions: Link
- Test server side push notifications: Link
- Debug Gradle File: Link
- Usage of material: Link
- Room annotations: Link
- SimpleDateFormat: Link
- Color Hex to Name: Link
- Compress image files: Link
- Android studio theme: Plugin
- Android device screen share with computer: Link
- Online markdown editor: Link
- Online Json formatter: Link
- All design pattern samples: Repo
- Run android libraries without using android studio: Dryrun
- Get free images : Unsplash
- Observe app network requests : Httptoolkit
- All languages known from Github : Link
- Android beginner guide : Link
- Android github library share : Jitpack
- Android gitignore sample : Github link
- Mock api responses : mocky.io
- Resource naming standarts : resourcenaming
- Create or show badges : shields.io
- AndroidX libraries latest releases : Link
- Online UUID Generator : Link
- Test mobile deeplink : Link
- Proguard playground : Link
- Mobile Certificate Pinning Generator : Link
- Mock Service Requests : Retromock
SHA1 of debug keystore
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Automize app signing
https://developer.android.com/studio/publish/app-signing#secure-shared-keystore
Add adb to path
- Locate sdk path from SDK Manager on Android Studio
- Open ~/.bash_profile file (create if not exist) (on Catalina OS it is ~/.zprofile)
- export
PATH=<Path to sdk>/platform-tools/:$PATH
- Save and exit
- Run the
source ~/.bash_profile
command to refresh the terminal (or ~/.zprofile)
Kill app on background -like OS does to create some space on RAM-
adb shell ps -A |grep mypackage
-> get the package name of my app from running proccesses in emulator
adb shell am kill {app_package_name}
-> app package name is like : com.example.android.dessertpusher
Git reflog
Git reflog
Git reflog show {branch_name}
Git reset —hard HEAD@{7}
ANDROID STUDIO KISAYOLLAR
- Cmd + alt + O => sınıf, metod ya da field buluyor
- Cmd + j => kısayol yazdırma (foreach gibi)
- Cm + shift + a => studio aksiyonları arama
- Cmd + n => getter setter
- Control + o => overridable method list
- Cmd + alt + t => surround with