How to put specific classes into main DEX file?

前端 未结 4 666
隐瞒了意图╮
隐瞒了意图╮ 2021-02-02 17:50

We found an issue on Amazon market that IAP doesn\'t work if it\'s receivers located not in main DEX file. The question is how to force gradle

4条回答
  •  后悔当初
    2021-02-02 18:12

    I had the same problem. The main point was that you have to set "minSdkVersion 16" before "multiDexEnabled true" else your Application class could be placed in the second dex and app will crash on android lower 5.0

提交回复
热议问题