Commit d71dcc9
[Xamarin.Android.Build.Tasks] Running Multi-Dex on Windows (#392)
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=51356
Commit a967b24 added a PROGUARD_HOME environment variable when
running Proguard and MultiDex. However it does break things on
windows. The problem is down to a bug in the Google proguard.bat
file where a " is in the wrong place. This results in the
following error.
Unable to access jarfile C:\Program Files (x86)\Android\android-sdk\tools\proguard"\lib\proguard.jar -injars 'C:\Program'
Note the " in the wrong place. This does NOT occur if we allow
the android tooling to find proguard itself rather than specifying
a path (via the environment variable)
This commit removes the variable from the Windows
environment this seems to fix the issue.1 parent 50c4251 commit d71dcc9
File tree
2 files changed
+4
-2
lines changed- src/Xamarin.Android.Build.Tasks/Tasks
2 files changed
+4
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments