Revert "Read package ID and activity name from .apk for Gradle-based builds." (#8400)

This commit is contained in:
Adam Barth 2017-02-24 11:23:14 -08:00 committed by GitHub
parent 756842a29e
commit a1d36f6892

View file

@ -82,9 +82,8 @@ class AndroidApk extends ApplicationPackage {
String apkPath;
if (isProjectUsingGradle()) {
// Grab information from the .apk. The gradle build script might alter the
// application Id, so we need to look at what was actually built.
return new AndroidApk.fromApk(gradleAppOut);
manifestPath = gradleManifestPath;
apkPath = gradleAppOut;
} else {
manifestPath = fs.path.join('android', 'AndroidManifest.xml');
apkPath = fs.path.join(getAndroidBuildDirectory(), 'app.apk');