File tree 2 files changed +5
-4
lines changed
mode/src/processing/mode/android 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)
338
338
tmplFile = exportProject ? APP_GRADLE_BUILD_TEMPLATE : APP_GRADLE_BUILD_ECJ_TEMPLATE ;
339
339
}
340
340
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 ('\\' , '/' );
343
343
344
344
File appBuildTemplate = mode .getContentFile ("templates/" + tmplFile );
345
345
File appBuildFile = new File (moduleFolder , "build.gradle" );
346
346
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 );
349
349
replaceMap .put ("@@package_name@@" , getPackageName ());
350
350
replaceMap .put ("@@min_sdk@@" , minSdk );
351
351
replaceMap .put ("@@target_sdk@@" , TARGET_SDK );
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ public File getHighestPlatform() {
262
262
return highestPlatform ;
263
263
}
264
264
265
+
265
266
public File getTargetPlatform (String target ) {
266
267
return new File (platforms , "android-" + target );
267
268
}
You can’t perform that action at this time.
0 commit comments