File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/processing/mode/android Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,14 @@ public class SysImageDownloader extends JDialog implements PropertyChangeListene
85
85
"Follow <a href=\" " + KVM_LINUX_GUIDE_URL + "\" >these instructions</a> " +
86
86
"to configure KVM. Good luck!" ;
87
87
88
+ private static final String IA32LIBS_TITLE = "Additional setup may be required..." ;
89
+ private static final String IA32LIBS_MESSAGE =
90
+ "Looks like you are running a 64-bit version of Linux. In order<br>" +
91
+ "to create the SD card in the emulator, Processing needs the<br>" +
92
+ "ia32-libs compatibility package. On Ubuntu Linux, you can<br>" +
93
+ "install it by runing the following command: <br><br>" +
94
+ "sudo apt-get install lib32stdc++6" ;
95
+
88
96
private static final String SYS_IMAGES_ARM_URL = "https://dl.google.com/android/repository/sys-img/android/" ;
89
97
90
98
private static final String SYS_IMAGES_PHONE_URL = "https://dl.google.com/android/repository/sys-img/google_apis/" ;
@@ -191,6 +199,10 @@ protected Object doInBackground() throws Exception {
191
199
192
200
for (File f : tempFolder .listFiles ()) f .delete ();
193
201
tempFolder .delete ();
202
+
203
+ if (Platform .isLinux () && Platform .getVariant ().equals ("64" )) {
204
+ AndroidUtil .showMessage (IA32LIBS_TITLE , IA32LIBS_MESSAGE );
205
+ }
194
206
195
207
result = true ;
196
208
} catch (ParserConfigurationException e ) {
You can’t perform that action at this time.
0 commit comments