Description

If you open the build.gradle in Android Studio and debug, Android Studio will automatically add testOnly=true which makes it difficult to iterate with the editor since -t is needed when installing again.  It can also cause some devices (like OPPO) to fail to install.

Steps to Reproduce
  1. Make an Android project and launch it on device
  2. Open Android Studio 3.5
  3. Open the project's Intermediate/Android/APK/gradle/build.gradle
  4. Debug on device

The APK will have testOnly set to true so the APK (verify by looking in Intermeidate/Android/APK/gradle/app/build/intermediates/merged-manifests/debug/AndroidManifest.xml.  We do NOT want this.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-80074 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.23
Target Fix4.24
Fix Commit8614331
Main Commit10708034
Release Commit9552237
CreatedSep 10, 2019
ResolvedSep 10, 2019
UpdatedDec 1, 2020
View Jira Issue