Android studio 3.0 you can not upload a test only apk

前端 未结 3 1920
执念已碎
执念已碎 2021-01-05 05:41

I just updated my old projects to as3.0 and builded and signed my app. After when I want to upload to google play:

\"you can not upload a test only apk\"

Any

3条回答
  •  北海茫月
    2021-01-05 06:16

    This is a new feature from Android Studio 3.0. When you execute any gradle command by pressing 'Run' button in Android Studio, it adds testOnly=true flag to your manifest.

    To eliminate this issue just execute assembleRelease from Gradle pane on the right side of Android Studio.

提交回复
热议问题