Packaging issue for ktx library on AGP 8 #1396
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The build doesn't work because libraries share same namespace, which is not allowed by AGP 8.
[com.solanamobile:mobile-wallet-adapter-clientlib-ktx:2.0.3] Error:
Namespace 'com.solana.mobilewalletadapter.clientlib' is used in multiple modules and/or libraries: com.solanamobile:mobile-wallet-adapter-clientlib-ktx:2.0.3, com.solanamobile:mobile-wallet-adapter-clientlib:2.0.3. Please ensure that all modules and libraries have a unique namespace. For more information, See https://developer.android.com/studio/build/configure-app-module#set-namespace
Dependency Versions
implementation("com.solanamobile:mobile-wallet-adapter-clientlib-ktx:2.0.3")
implementation("com.solanamobile:web3-solana:0.2.5")
implementation("com.solanamobile:rpc-core:0.2.7")
implementation("io.github.funkatronics:multimult:0.2.3")
To Reproduce
Create app, with gradle agp 8.x.
Include wallet adapter dependencies
Try to build app
Expected Behavior
App should build
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
Fix solana-mobile#1396: change clientlib-ktx namespace to avoid dupli…
Funkatronics commentedon Jul 13, 2026
resolved #1502