File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
processing/mode/src/processing/mode/android Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -186,10 +186,11 @@ protected Object doInBackground() throws Exception {
186186 for (File f : tempFolder .listFiles ()) f .delete ();
187187 tempFolder .delete ();
188188
189- // Normalize built-tools and platform folders to android-<API LEVEL>
190- String actualName = platformsFolder .listFiles ()[0 ].getName ();
191- renameFolder (platformsFolder , "android-" + AndroidBuild .TARGET_SDK , actualName );
192- actualName = buildToolsFolder .listFiles ()[0 ].getName ();
189+
190+ // String actualName = platformsFolder.listFiles()[0].getName();
191+ // renameFolder(platformsFolder, "android-" + AndroidBuild.TARGET_SDK, actualName);
192+ // Rename build-tools folder to the expected name if it's not that already
193+ String actualName = buildToolsFolder .listFiles ()[0 ].getName ();
193194 renameFolder (buildToolsFolder , downloadUrls .buildToolsVersion , actualName );
194195
195196 // Done, let's set the environment and load the new SDK!
You can’t perform that action at this time.
0 commit comments