Skip to content

Packaging issue for ktx library on AGP 8 #1396

Closed

Description

@JurijsKastanovs

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

Activity

  1. added a commit that references this issue on Feb 27, 2026
    d516167
  2. Funkatronics commented on Jul 13, 2026

    @Funkatronics
    Collaborator

    resolved #1502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions