A while ago, I started keeping a list of the canonicals for various questions on Stack Overflow, at least where I found suitable ones for problems that show up often.
This page contains all the various dupes I've found, sorted by categories.
Android
- Changing app type (weak): https://stackoverflow.com/q/64005603/6296561
Inter-app
- Stop other apps: https://stackoverflow.com/q/29887429/6296561
Intra-app
- Activity->activity: https://stackoverflow.com/q/2091465/6296561
- Fragment->activity: https://stackoverflow.com/q/9343241/6296561
- Activity->fragment: https://stackoverflow.com/q/12739909/6296561
- Fragment->fragment in different activities: https://stackoverflow.com/q/16036572/6296561
- Fragment->fragment: https://stackoverflow.com/q/5194548/6296561
Crashing
- It crashed: https://stackoverflow.com/q/23353173/6296561
- Not responding: https://stackoverflow.com/q/704311/6296561
Note that certain exceptions are instead listed as a part of Java
Null
- findViewByID: https://stackoverflow.com/q/19078461/6296561
- Top-level: https://stackoverflow.com/q/36446114/6296561
- Null in fragment: https://stackoverflow.com/q/10469283/6296561
- getStringExtra: https://stackoverflow.com/q/15555750/6296561
- Context null (MUST be accompanied by the NPE canonical): https://stackoverflow.com/q/3572463/6296561
Reverse engineering
Permissions
- Requesting: https://stackoverflow.com/q/33666071/6296561
General exceptions
- Ninepatch OutOfBounds: https://stackoverflow.com/q/22684868/6296561
- Only the original thread that created a view hierarchy: https://stackoverflow.com/q/5161951/6296561
Data
Android Q-related shit
- EACCES: https://stackoverflow.com/q/8854359/6296561
- External storage: https://stackoverflow.com/q/57475704/6296561
Off-topic hammer targets
- Can I use Python: https://stackoverflow.com/q/49955489/6296561
RecyclerView
- Sorting: https://stackoverflow.com/q/45790363/6296561
- Skipping layout: https://stackoverflow.com/q/29141729/6296561
Specific permissions:
API 29
- READ_PRIVILEGED_PHONE_STATE: https://stackoverflow.com/q/62432174/6296561
Platform problems
API 29
- IMEI null: https://stackoverflow.com/q/55173823/6296561
- getExternalStorageDirectory deprecated: https://stackoverflow.com/q/57116335/6296561
Fragments
findViewByID
in fragment: https://stackoverflow.com/q/6495898/6296561
Firebase
- Null after callback: https://stackoverflow.com/q/57330766/6296561
Kotlin
Java interop
- Java objects from Kotlin: https://stackoverflow.com/q/35118514/6296561
Exceptions
See Java for some base exceptions
- Must implement abstract: https://stackoverflow.com/q/44189319/6296561
- Parameter specified as non-null is null: https://stackoverflow.com/q/44885783/6296561
Compile-time errors (JVM)
- Platform declaration conflict with generics: https://stackoverflow.com/q/51580168/6296561
- Java function conflicts with variable getter: https://stackoverflow.com/q/44035263/6296561
Java
Crashing
- It crashed: https://stackoverflow.com/q/3988788/6296561
Generic exceptions
- NullPointer: https://stackoverflow.com/q/218384
- NumberFormat: https://stackoverflow.com/q/39849984/6296561
- StringIndexOutOfBounds: https://stackoverflow.com/q/40006317/6296561
- ArrayIndexOutOfBounds: https://stackoverflow.com/q/5554734/6296561
- ClassCast: https://stackoverflow.com/q/907360/6296561
Apache
- ConnectionPoolTimeoutException: https://stackoverflow.com/q/11875015/6296561
Gson
Begin object
- but was string: https://stackoverflow.com/q/28418662/6296561
Syntax abuse
- Top-level statements: https://stackoverflow.com/q/6151218/6296561
Compile time errors
- Static reference to non-static: https://stackoverflow.com/q/4969171/6296561
Flutter
Flutter --licenses
- NoClassDefFound XmlSchema: https://stackoverflow.com/q/61993738/6296561
Gradle
Generic
- Uses deprecated API: https://stackoverflow.com/q/18311964/6296561
Conflicts
- Find: https://stackoverflow.com/q/21311727/6296561
- Duplicate classes: https://stackoverflow.com/q/56029393/6296561
- Exclude package: https://stackoverflow.com/q/30942825/6296561
Android Studio
M1
- Generic: https://stackoverflow.com/q/64906525/6296561
- Emulator: https://stackoverflow.com/q/64907154/6296561
Meta reasons
- App stores: https://meta.stackoverflow.com/q/272165/6296561
- Customer: https://meta.stackoverflow.com/q/255745/6296561
- Images: https://meta.stackoverflow.com/q/285551/6296561
- Answering trash: https://meta.stackoverflow.com/q/276572/6296561
Vim
Nvim
- Window options can't be set: https://stackoverflow.com/q/66943771/6296561
C++
Linking
- Undefined reference: https://stackoverflow.com/q/12573816/6296561
Meta
- Political display name: https://meta.stackoverflow.com/a/349167/6296561