File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
mode/src/processing/mode/android Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -338,14 +338,14 @@ private void createAppModule(String moduleName)
338338 tmplFile = exportProject ? APP_GRADLE_BUILD_TEMPLATE : APP_GRADLE_BUILD_ECJ_TEMPLATE ;
339339 }
340340
341- String tls = Base .getToolsFolder ().getPath ().replace ('\\' , '/' );
342- String plt = sdk .getTargetPlatform (TARGET_SDK ).getPath ().replace ('\\' , '/' );
341+ String toolPath = Base .getToolsFolder ().getPath ().replace ('\\' , '/' );
342+ String platformPath = sdk .getTargetPlatform (TARGET_SDK ).getPath ().replace ('\\' , '/' );
343343
344344 File appBuildTemplate = mode .getContentFile ("templates/" + tmplFile );
345345 File appBuildFile = new File (moduleFolder , "build.gradle" );
346346 HashMap <String , String > replaceMap = new HashMap <String , String >();
347- replaceMap .put ("@@tools_folder@@" , tls );
348- replaceMap .put ("@@target_platform@@" , plt );
347+ replaceMap .put ("@@tools_folder@@" , toolPath );
348+ replaceMap .put ("@@target_platform@@" , platformPath );
349349 replaceMap .put ("@@package_name@@" , getPackageName ());
350350 replaceMap .put ("@@min_sdk@@" , minSdk );
351351 replaceMap .put ("@@target_sdk@@" , TARGET_SDK );
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ public File getHighestPlatform() {
262262 return highestPlatform ;
263263 }
264264
265+
265266 public File getTargetPlatform (String target ) {
266267 return new File (platforms , "android-" + target );
267268 }
You can’t perform that action at this time.
0 commit comments