Commit a1d36f68 authored by Adam Barth's avatar Adam Barth Committed by GitHub

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

parent 756842a2
...@@ -82,9 +82,8 @@ class AndroidApk extends ApplicationPackage { ...@@ -82,9 +82,8 @@ class AndroidApk extends ApplicationPackage {
String apkPath; String apkPath;
if (isProjectUsingGradle()) { if (isProjectUsingGradle()) {
// Grab information from the .apk. The gradle build script might alter the manifestPath = gradleManifestPath;
// application Id, so we need to look at what was actually built. apkPath = gradleAppOut;
return new AndroidApk.fromApk(gradleAppOut);
} else { } else {
manifestPath = fs.path.join('android', 'AndroidManifest.xml'); manifestPath = fs.path.join('android', 'AndroidManifest.xml');
apkPath = fs.path.join(getAndroidBuildDirectory(), 'app.apk'); apkPath = fs.path.join(getAndroidBuildDirectory(), 'app.apk');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment