We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417aa90 commit 2b16be0Copy full SHA for 2b16be0
src/tasks/AndroidAppBuilder/ApkBuilder.cs
@@ -207,8 +207,9 @@ public class ApkBuilder
207
208
// 3. Generate APK
209
210
+ string debugModeArg = StripDebugSymbols ? string.Empty : "--debug-mode";
211
string apkFile = Path.Combine(OutputDir, "bin", $"{ProjectName}.unaligned.apk");
- Utils.RunProcess(aapt, $"package -f -m -F {apkFile} -A assets -M AndroidManifest.xml -I {androidJar}", workingDir: OutputDir);
212
+ Utils.RunProcess(aapt, $"package -f -m -F {apkFile} -A assets -M AndroidManifest.xml -I {androidJar} {debugModeArg}", workingDir: OutputDir);
213
214
var dynamicLibs = new List<string>();
215
dynamicLibs.Add(Path.Combine(OutputDir, "monodroid", "libmonodroid.so"));
0 commit comments