FAQ - PAXSTORE/paxstore-3rd-app-android-sdk GitHub Wiki

1. How to resolve dependencies conflict?

When dependencies conflict occur, the error message may like below:

Program type already present: xxx.xxx.xxx


You can use exclude() method to exclude the conflict dependencies by group or module or both.

e.g. To exclude 'com.google.code.gson:gson:2.8.5' in SDK, you can use below:

implementation ('com.pax.market:paxstoresdk:x.xx.xx'){
    exclude group: 'com.google.code.gson', module: 'gson'

2. How to resolve attribute conflict?

When attribute conflict occur, the error message may like below:

Manifest merger failed : Attribute application@allowBackup value=(false) from 
is also present at [com.pax.market:paxstore-3rd-app-android-sdk:x.xx.xx] 
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element
at AndroidManifest.xml:..


  • Add xmlns:tools="http://schemas.android.com/tools" in your manifest header

      <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  • Add tools:replace = "the confilct attribute" to your application tag:


3. When use download parameters API, app client broadcast receiver can't receive download broadcast.

Please make sure you have replaced the right package name in your receiver. The package name is in your project file AndroidManifest.xml -> package="xxx.xxx.xxx.xxx"

<receiver android:name=".YourReceiver">
          <action android:name="com.paxmarket.ACTION_TO_DOWNLOAD_PARAMS" />
          <category android:name="**Your PackageName**" />

4. Why I push parameter success when test, but failed when the App is pushed from PAXSTORE?

Please make sure the App installed in your terminal is the same one you upload to PAXSTORE. There are many developers forgot to upload the latest APK to PAXSTORE, and also make sure the AppKey and AppSecret are correct.

5. When download parameter, return businessCode = "-10" and message = "No params to download"

Please check the parameters you passed in below API.

StoreSdk.getInstance().paramApi().downloadParamToPath(String packageName,
int versionCode, String saveFilePath);

Make sure the packageName and versionCode is the correct one refer to your App

⚠️ **GitHub.com Fallback** ⚠️