Registry / database / mmkv
library2.4.0javamavenunverified

Efficient, small, cross-platform key-value storage framework for Android.

<dependency> <groupId>com.tencent</groupId> <artifactId>mmkv</artifactId> <version>2.4.0</version> </dependency>
INSTALL
IMPORT
SIG · MMKV
M
mmkv
databasejavav2.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MMKV
com.tencent.mmkv.MMKV

Initializes MMKV and performs basic key-value operations.

import com.tencent.mmkv.MMKV; public class Example { public static void main(String[] args) { MMKV kv = MMKV.defaultMMKV(); kv.encode("key", "value"); String value = kv.decodeString("key"); } }
Debug
Known issues
gotchaMMKV must be initialized before use, typically in Application.onCreate().
fix
Call MMKV.initialize(context) in your Application class.
affects: *
Upgrade
Version history
2.4.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mmkv — mvn dependency:get mmkv · libregistry